bug-ncurses
[Top][All Lists]
Advanced

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

Triple modifier combinations and extra keys


From: michal
Subject: Triple modifier combinations and extra keys
Date: Wed, 28 Oct 2020 08:11:30 +0100
User-agent: Roundcube Webmail/1.4.8

Greetings!

Lately I have read some sections of NCurses FAQ and XTerm FAQ in search
of knowledge about key modifiers. Learned that XTerm can and does emit
sequences for ctrl + alt + shift + (key), like for what could be kDC8.
Telling NCurses about those with define_key() works as expected. If this
is documented why neither NCurses nor XTerm carry the definitions in
terminfo?


The other discovery is about so called multimedia keys. I have several
of those in my keyboard. Some like calculator or www key are straight
eaten by terminal emulators and nothing is offered in return.

My problem is with those that do send sequences. For example menu key
is consistently emitted as F16 but ways to get F16 are not so. In XTerm
F16 is obtainable by shift + F4 while in URxvt this is shift + F6. In
practice giving user option to use menu key for a function means I need
to have both shift + F4 and shift + F6 unbound to avoid collisions.
I would like to learn about other such possible conflicts. Is there a
list of supported multimedia keys available anywhere? I could not find
anything relevant in NCurses or XTerm FAQ.

--
Michał



reply via email to

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