aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-15 17:23:29 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-15 17:23:29 +0000
commit65bc0411a17980179bc4f0008afb58e50a0d16d6 (patch)
tree4ed52b991bfc6735d47ab7819fccba400fb6bc93 /rc.c
parent* main.c (fversion): add "external-uri-loader,w3mmailer" (diff)
downloadw3m-65bc0411a17980179bc4f0008afb58e50a0d16d6.tar.gz
w3m-65bc0411a17980179bc4f0008afb58e50a0d16d6.zip
[w3m-dev 02841] migemo patch
* NEWS: migemo support * config.h.dist (USE_MIGEMO): added * configure: add use_migemo * fm.h (use_migemo): added * fm.h (migemo_command: added * main.c (fversion): add "migemo" * main.c (migemostr): added * main.c (srchcore): if use_migemo, use migemostr * rc.c (CMT_USE_MIGEMO): added * rc.c (CMT_MIGEMO_COMMAND): added * rc.c (params3): add use_migemo, migemo_command From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'rc.c')
-rw-r--r--rc.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/rc.c b/rc.c
index 31205ff..634e21d 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.28 2002/01/15 16:07:58 ukai Exp $ */
+/* $Id: rc.c,v 1.29 2002/01/15 17:23:29 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -168,6 +168,11 @@ static char *config_file = NULL;
#define CMT_FOLLOW_REDIRECTION "従うリダイレクトの回数"
#define CMT_META_REFRESH "meta refresh に対応する"
+#ifdef USE_MIGEMO
+#define CMT_USE_MIGEMO "Migemo(ローマ字検索)を使用する"
+#define CMT_MIGEMO_COMMAND "Migemoコマンド"
+#endif /* USE_MIGEMO */
+
#else /* LANG != JA */
@@ -283,6 +288,12 @@ static char *config_file = NULL;
#endif
#define CMT_FOLLOW_REDIRECTION "Follow this number of redirections"
#define CMT_META_REFRESH "Support meta refresh"
+
+#ifdef USE_MIGEMO
+#define CMT_USE_MIGEMO "Use Migemo (Roma-ji search)"
+#define CMT_MIGEMO_COMMAND "Migemo command"
+#endif /* USE_MIGEMO */
+
#endif /* LANG != JA */
#define PI_TEXT 0
@@ -461,6 +472,12 @@ struct param_ptr params3[] = {
{"wrap_search", P_INT, PI_ONOFF, (void *)&WrapDefault, CMT_WRAP, NULL},
{"ignorecase_search", P_INT, PI_ONOFF, (void *)&IgnoreCase,
CMT_IGNORE_CASE, NULL},
+#ifdef USE_MIGEMO
+ {"use_migemo", P_INT, PI_ONOFF, (void *)&use_migemo, CMT_USE_MIGEMO,
+ NULL},
+ {"migemo_command", P_STRING, PI_TEXT, (void *)&migemo_command,
+ CMT_MIGEMO_COMMAND, NULL},
+#endif /* USE_MIGEMO */
#ifdef USE_MOUSE
{"use_mouse", P_INT, PI_ONOFF, (void *)&use_mouse, CMT_MOUSE, NULL},
{"reverse_mouse", P_INT, PI_ONOFF, (void *)&reverse_mouse,