[w3m-dev 02877] some fixes for urimethodmap

* config.h.dist (RC_DIR): remove tailing /
* configure (mailer): if use_w3mmailer = y, don't ask mailer
* configure (RC_DIR): remove tailing /
* fm.h (Mailer): ifndef USE_W3MMAILER
* main.c (MAIN): ifndef USE_W3MMAILER getenv("MAILER")
* rc.c ("mailer"): ifndef USE_W3MMAILER
* regex.c (newRegex0): \ escape kanji chars
* url.c (searchURIMethods): need escape for -
* scripts/w3mmail.cgi.in: move $url, $qurl
* scripts/w3mmail.cgi.in: url_unquote $to
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2002-01-21 15:56:12 +00:00
parent 2af8f6fd2e
commit 004f4abe6e
9 changed files with 53 additions and 23 deletions

19
configure vendored
View File

@@ -1,5 +1,5 @@
#!/bin/sh
# $Id: configure,v 1.54 2002/01/18 13:06:14 ukai Exp $
# $Id: configure,v 1.55 2002/01/21 15:56:13 ukai Exp $
# Configuration.
#
@@ -744,7 +744,8 @@ readdir "$ded"
editor=$_dir
echo "ded='$editor'" >> config.param
if [ -z "$dmail" ] ; then
if [ "$use_w3mmailer" != 'y' ]; then
if [ -z "$dmail" ] ; then
if ./which \mailx > /dev/null
then
dmail=`./which \mailx`
@@ -752,14 +753,16 @@ if [ -z "$dmail" ] ; then
dmail=`./which \mail`
fi
if [ -n "`echo $dmail | grep 'no'`" ] ; then dmail=mailx ; fi
fi
echo "Input your favorite mailer program."
Echo "(Default: $dmail) "
readdir "$dmail"
mailer=$_dir
else
mailer="$dmail"
fi
echo "Input your favorite mailer program."
Echo "(Default: $dmail) "
readdir "$dmail"
mailer=$_dir
echo "dmail='$mailer'" >> config.param
if [ -z "$dbrowser" ] ; then
if ./which netscape > /dev/null
then
@@ -2086,7 +2089,7 @@ $def_use_help_cgi
#define HELP_CGI "w3mhelp"
#define W3MCONFIG "w3mconfig"
#define RC_DIR "~/.w3m/"
#define RC_DIR "~/.w3m"
#define BOOKMARK "bookmark.html"
#define CONFIG_FILE "config"
#define KEYMAP_FILE "keymap"