Re: Hello.ex F1 and F2 behavior
- Posted by jimcbrown (admin) Dec 05, 2010
- 1537 views
We now use '1', '2', and 'j' for F1, F2, and DOWN_ARROW.
jimcbrown said...
jeremy said...
Maybe we need to create a different set of shortcuts? Seems that the window manager and terminal program on some Linux clients are eating F1, F2, ... keystrokes.
Jeremy
Agreed.
This is probably happening because we don't deal with terminfo (or the even older cousin, termcap) to figure out which set of escape sequences correspond to which set of extended keys. (ncurses used to do this for us.)
Most interactive console programs (such as vi, lynx, etc) support using designated ascii keys as replacements for this reason. (e.g. h,j,k,l functioning as LEFT,DOWN,UP,RIGHT).