commit 442f3733c41ffb87e6d381d2005f04cc2cae1e5a
parent 925f5ce60dd1d6b4c534cf7c4bf748a1bfcb32a3
Author: ukai <ukai>
Date: Fri, 23 Nov 2001 22:10:58 +0000
fix ask_choice bug
ask/def parameter after model selection
Diffstat:
M | ChangeLog | | | 13 | +++++++++++++ |
M | configure | | | 66 | +++++++++++++++++++++++++++++++++++------------------------------- |
2 files changed, 48 insertions(+), 31 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,18 @@
2001-11-24 Fumitoshi UKAI <ukai@debian.or.jp>
+ * configure (ask_choice): fix bugs
+ * configure (include_opt): disable as much as if baby model
+ * configure: ask/def parameter after model selected
+
+ * fm.h (use_mark): runtime option use_mark
+ * main.c (_mark): ditto
+ * main.c (cmd_mark): ditto
+ * main.c (nextMk): ditto
+ * main.c (prevMk): ditto
+ * main.c (reMk): ditto
+ * rc.c (CMT_USE_MARK): ditto
+ * rc.c (params3): ditto
+
* fm.h (nextpage_topline): runtime option nextpage_topline
* etc.c (lineSkip): ditto
* main.c (nscroll): ditto
diff --git a/configure b/configure
@@ -297,7 +297,7 @@ ask_choice() {
set -- $list
while [ -n "$1" -a -n "$2" ]; do
case $REPLY in
- $1) eval "varvar=$2"
+ $1) eval "varvar=$1"
break
;;
esac
@@ -322,6 +322,7 @@ ask_choice() {
eval "$var=$v"
eval "echo $var=$v >> config.param";
echo " $def=$v"
+ break
;;
*) while [ "$1" != "." ]; do
shift;
@@ -535,11 +536,6 @@ if [ "$use_lynx_key" = y ]; then
else
keymap_file="keybind"
fi
-ask_param "Use Emacs-like key binding for filename completion" emacs_like_lineedit n
-ask_param "Use vi-like behavior for numeric prefix like '2 SPC'" vi_prec_num n
-ask_param "Use mark operations" use_mark n
-ask_param "Move cursor to top line when going to label" label_topline n
-ask_param "Move cursor to top line when moving to next page" nextpage_topline n
# terminal capabilities
if [ "$lang" = "JA" ]; then
@@ -549,31 +545,6 @@ else
fi
ask_param "ANSI color escape sequences support" use_ansi_color n
-# protocols?
-ask_param "Generate domain parts of passwords for anonymous FTP logins" ftppass_hostnamegen n
-ask_param "NNTP support" use_nntp n
-ask_param "Gopher support" use_gopher n
-
-# obsoleted?
-# ask_param "Use matrix in rendering table" use_matrix n
-
-### only use config.param
-def_param "use_alarm" n
-def_param "use_dict" n
-def_param "use_history" y
-def_param "use_bg_color" y
-def_param "format_nice" n
-def_param "id_ext" y
-def_param "use_bufinfo" y
-def_param "use_egd" y
-def_param "enable_remove_trailingspaces" n
-def_param "menu_thin_frame" n
-
-def_param "table_expand" n
-def_param "table_no_compact" n
-def_param nowrap y
-def_param matrix y
-
if [ "$lang" = "JA" ]; then
if [ "$use_lynx_key" = y ]; then
helpfile="w3mhelp-lynx_ja.html"
@@ -605,6 +576,7 @@ if [ -n "$dmodel" ]; then
Echo "(default: $dmodel) "
fi
+include_opt=y
while :
do
readanswer ans "$dmodel"
@@ -620,6 +592,7 @@ case "$ans" in
use_mouse=n;
use_cookie=n;
use_ssl=n;
+ include_opt=n
customized=y
;;
2)
@@ -697,6 +670,37 @@ else
def_param "use_ssl_verify" n
fi
+# protocols?
+ask_param "NNTP support" use_nntp $include_opt
+ask_param "Gopher support" use_gopher $include_opt
+
+# obsoleted?
+# ask_param "Use matrix in rendering table" use_matrix n
+
+ask_param "Use alarm support code" use_alarm $include_opt
+ask_param "Use mark operation" use_mark $include_opt
+
+### only use config.param
+def_param use_dict n
+def_param use_history y
+def_param use_bg_color y
+def_param format_nice n
+def_param id_ext y
+def_param use_bufinfo y
+def_param use_egd y
+def_param enable_remove_trailingspaces n
+def_param menu_thin_frame n
+def_param emacs_like_lineedit $include_opt
+def_param vi_prec_num $include_opt
+def_param label_topline $include_opt
+def_param nextpage_topline $include_opt
+def_param ftppass_hostnamegen $include_opt
+
+def_param table_expand n
+def_param table_no_compact n
+def_param nowrap y
+def_param matrix y
+
if [ -z "$ded" ] ; then ded=`./which \vi` ; fi
if [ -n "`echo $ded | grep 'no'`" ] ; then ded=vi ; fi
echo "Input your favorite editor program."