Re: Hello.ex F1 and F2 behavior
- Posted by jimcbrown (admin) Nov 04, 2010
- 1594 views
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).