Red Hat Bugzilla – Bug 75207
keypad +-* aren't recognised as such anymore
Last modified: 2008-05-01 11:38:04 EDT
Description of Problem:
keypad +-* aren't recognised as such anymore. Normally keypad keys can be seen
as seperate keys from the normal +-* by an text mode application running in the
terminal, if the application has asked for them to send special ESC-sequences.
This used to work fine in gnome1
Version-Release number of selected component (if applicable):
Start gnome terminal, start mc, go to learn keys press the + on the keypad, it
isn't recognised. This used to work in gnome-terminal from gnome1, and it works
fine in xterm.
Steps to Reproduce:
1. Start gnome-terminal
2. Start mc
3. Goto learn keys (in the options menu, press F9 to get in the menu)
4. press + on the keypad.
+ on keypad gets marked OK (try F1 - F12, etc)
I did some digging (in my memory and in the manpage for terminfo) The problem is
that gnome-terminal doesn't honer the smkx terminfo capability anymore (it used
Other (better?) way to reproduce:
1) start xterm
2) type CTRL-V (this give the verbatim output of the next key even if it is an
esc-sequence, try for example CTRL-v F1
3) type + on keypad it gives "+" as output
4) type "tput smkx" <enter> (this enables the keypad transmit ability of the
5) now do CTRL-V, + on keypad
6) you can make your + on keypad normal again by typing "tput rmkx"
p.s. konsole has this problem too, but there it can't be fixed because qt
doesn't know the difference between keypad and normal keys.
Fixing in 0.9.2 and later. Thanks!
Fixed in phoebe, thanks closing with resolution rawhide