commit e954842efffaad1f2596661da26a676a45bfe7c9
parent 2ea58808efb010890940db5080b12f25bac16150
Author: ukai <ukai>
Date: Thu, 5 Dec 2002 16:01:57 +0000
[w3m-dev 03526] Re: fix doc*/README.func, w3mhelp.cgi.in
* scripts/w3mhelp.cgi.in: (load_keymap):
always upcase ESC,SPC,TAB,DEL,UP,DOWN,RIGHT,LEFT
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2002-12-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03526] Re: fix doc*/README.func, w3mhelp.cgi.in
+ * scripts/w3mhelp.cgi.in: (load_keymap):
+ always upcase ESC,SPC,TAB,DEL,UP,DOWN,RIGHT,LEFT
+
2002-12-05 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03525] Re: sync option
diff --git a/scripts/w3mhelp.cgi.in b/scripts/w3mhelp.cgi.in
@@ -208,6 +208,7 @@ sub load_keymap {
sub norm_key {
local($_) = @_;
+ s/(ESC|SPC|TAB|DEL|UP|DOWN|RIGHT|LEFT)/\U$1/i;
s/\\(.)/$1/g;
s/(^|\s+|-)\^(.)/${1}C-$2/g;
s/(^|\s+|-)(C-\[|M-)/${1}ESC-/g;