On 4/28/2016 7:27 AM, Tomohiro Kusumi wrote:
Key mappings as well as appearance of ncurses is often different
depending on term type.
I've also seen ncurses behaves differently while in screen or tmux.
I used to make my programs have different mappings (for ones that i
know of) though this may not be the right approach.
2016-04-28 10:28 GMT+09:00 Predrag Punosevac <[email protected]>:
I just noticed that if I use 1 instead of F1, 2 instead of F2, 3 instead
of F3, 4 instead of F4 everything works as expected.
I forgot to mention in my first e-mail that I am using vanilla xterm and
cwm (Calm Window Manager from the base of OpenBSD).
I confirm that "1" key is alias of "F1", "2" for "F2" etc.
These aliases exist for exactly the reason you encountered: sometimes
the function keys don't work in a given terminal, but the number keys
always work.
John