[Konsole-devel] [Bug 259276] konsole generates no escape sequence for KP/, KP*, KP-, KP+ or KP5 keypad keys

Gregory Kizior gkizior at gte.net
Sat Dec 11 01:54:06 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=259276


Gregory Kizior <gkizior at gte.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Gregory Kizior <gkizior gte net>  2010-12-11 02:54:05 ---
Two days, but I bent konsole keytab to my will!
The fix is:
1) xmodmap -pke > mymodmap
2) change mymodmap entry to "keycode 84 = KP_5 KP_5 KP_5 KP_5"
3) xmodmap mymodmap
4) copy default.keymap to my.keymap
5) edit my.keymap to include
   key 5+KeyPad+AppKeyPad : "\EOE"
   key 5+KeyPad-AppCursorKeys : "5"
6) use konsole profile editor to use my.keymap

My testing shows that, with NumLock on, KP5 delivers '5' and
with NumLock off (using my program that shows raw keys) delivers ESC O E.

I did this with KP*, KP- and KP+, as well. Unfortunately, KP* returns '1' with
NumLock on.

I did this with KP/, but it always returns '/'. When konsole reads the keymap,
it filters out the '/' entry.

So this bug is not 100% fixed. KP* and KP/ are both 'broken'.
But I can live with what I did succeed at doing.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list