Results 1 to 2 of 2
I'm trying to figure out how to get my number pad, with numlock off, to send a different sequence than the arrow keys. I've been running a MUD client in ...
- 12-10-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 18
Need help remapping keyboard number pad
I'm trying to figure out how to get my number pad, with numlock off, to send a different sequence than the arrow keys. I've been running a MUD client in a Konsole window in KDE (bash shell) and find that they both send the same series of characters to the shell (for example, the client, Tintin++ interprets both num pad 8 and up arrow as "\eOA"). In Windows, running the same program on the same PC, they send different characters (/eOx vs /eOA), so I know it's not completely tied to hardware, but I can't figure out what I need to edit to change the mappings.
I've been assuming, based on the fact that the same program runs one way in WinXP and another in Linux, that it's the OS and not the program I'm running which determine what's sent to the computer from the keyboard, though I can't say that with 100% confidence (that's why I'm here!).
I don't mind if I have to swap out config files when I want to MUD and when I want the number pad to behave normally (sending up-arrow, right-arrow, etc type sequences when numlock is off), which is seldom anyway.
I'm using a Logitech Cordless Duo Pro keyboard. KDE is set up with that as the keyboard layout. There are two "alternative" layouts for that keyboard - I'm running neither, although I tried both to see if they'd help.
Thanks for any help.
- 12-12-2007 #2Just Joined!
- Join Date
- Apr 2007
- Posts
- 18
Solved this - I noticed that the keypad behaved as I wanted when running from just a shell, no KDE. So I switched from running a bash shell under Konsole to under eterm instead, and presto, num pad and arrow keys behaved differently. I like the look of Konsole more, but sadly switching shells to ksh, sh and tcsh didn't help.
Thanks to any who looked into this.
Don


Reply With Quote
