[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working? |
Date: |
Sat, 17 Jul 1999 07:23:27 -0400 (EDT) |
> OK, as expected it was the ESC-[-{A,B,C,D} representations. To wit, the
> first entries in the table are now:
>
> EXTERN_KEY( "\033[A", "\033[A", UPARROW, KEY_UP ),
> EXTERN_KEY( "\033OA", "^(ku)", UPARROW, KEY_UP ),
> EXTERN_KEY( "\033[B", "\033[B", DNARROW, KEY_DOWN ),
> EXTERN_KEY( "\033OB", "^(kd)", DNARROW, KEY_DOWN ),
> EXTERN_KEY( "\033[C", "\033[C", RTARROW, KEY_RIGHT ),
> EXTERN_KEY( "\033OC", "^(kr)", RTARROW, KEY_RIGHT ),
> EXTERN_KEY( "\033[D", "\033[D", LTARROW, KEY_LEFT ),
> EXTERN_KEY( "\033OD", "^(kl)", LTARROW, KEY_LEFT ),
>
> which I suspect will fix the majority of the (now broken) behaviors that
> have been reported.
thanks.
> I didn't change any of the other table entries, but interestingly, the
> keypad HOME, END, PGUP, PGDOWN, and *keypad arrow keys* (8, 4, 6, 2)
> work properly. 'Twas only the *cursor arrow keys* that the dev.4 patch
> broke.
well, it's up to your emulator what to do with the keypad: a vt100 numeric
keypad doesn't emit HOME/END,etc - so it's arguable that it doesn't have
to handle switching between normal and application modes. So what you have
is a slang- and (whatever emulator)-specific patch.
Just to refresh my memory - what does your terminfo (or termcap) look like?
(If terminfo, do "infocmp", if termcap, slang has a program to render its
view of this info anyway).
> /kim
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
- Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, (continued)
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/16
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, Henry Nelson, 1999/07/16
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, Larry W. Virden, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?,
T.E.Dickey <=
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17
Re: lynx-dev Lynx 2.8.3.dev4+Slang 1.3.8: arrow keys not working?, T.E.Dickey, 1999/07/17