lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [dev.4] arrow key patch (was: Re: Lynx 2.8.3dev.4 and arrow key


From: Kim DeVaughn
Subject: lynx-dev [dev.4] arrow key patch (was: Re: Lynx 2.8.3dev.4 and arrow keys)
Date: Sat, 17 Jul 1999 13:23:57 -0600

On Sat, Jul 17, 1999, Kim Scarborough (address@hidden) said:
|
| I've caught up with the other thread, but I'm still a little confused.
| (Terminal issues *always* confuse me.) I compiled it with slang
| originally. After reading the thread, I compiled it with ncurses and it
| worked fine (but I lost my colors, so I don't want that). I'm not exactly
| sure what the upshot was of the thread, even after reading it.

Heh.  I can understand the confusion ...

Let me make it a real patch, which should (hopefully) solve the problem
that you and others are having.  If this *doesn't* work for you, please
let us know.

/kim


Against 2.8.3dev.4:

diff -uNr lynx2-8-3.dist/src/LYStrings.c lynx2-8-3/src/LYStrings.c
--- lynx2-8-3.dist/src/LYStrings.c      Wed Jul 14 10:25:26 1999
+++ lynx2-8-3/src/LYStrings.c   Sat Jul 17 12:53:31 1999
@@ -1083,13 +1083,13 @@
 PRIVATE void setup_vtXXX_keymap NOARGS
 {
     static Keysym_String_List table[] = {
-       EXTERN_KEY( "\033[A",   "^(ku)", UPARROW,       KEY_UP ),
+       EXTERN_KEY( "\033[A",   "\033[A", UPARROW,      KEY_UP ),
        EXTERN_KEY( "\033OA",   "^(ku)", UPARROW,       KEY_UP ),
-       EXTERN_KEY( "\033[B",   "^(kd)", DNARROW,       KEY_DOWN ),
+       EXTERN_KEY( "\033[B",   "\033[B", DNARROW,      KEY_DOWN ),
        EXTERN_KEY( "\033OB",   "^(kd)", DNARROW,       KEY_DOWN ),
-       EXTERN_KEY( "\033[C",   "^(kr)", RTARROW,       KEY_RIGHT ),
+       EXTERN_KEY( "\033[C",   "\033[C", RTARROW,      KEY_RIGHT ),
        EXTERN_KEY( "\033OC",   "^(kr)", RTARROW,       KEY_RIGHT ),
-       EXTERN_KEY( "\033[D",   "^(kl)", LTARROW,       KEY_LEFT ),
+       EXTERN_KEY( "\033[D",   "\033[D", LTARROW,      KEY_LEFT ),
        EXTERN_KEY( "\033OD",   "^(kl)", LTARROW,       KEY_LEFT ),
        EXTERN_KEY( "\033[1~",  "^(@0)", FIND_KEY,      KEY_FIND ),
        EXTERN_KEY( "\033[2~",  "^(kI)", INSERT_KEY,    KEY_IC ),
##--eof--##

reply via email to

[Prev in Thread] Current Thread [Next in Thread]