X386 1.1a Keyboard Query/Problem
Thomas Roell
roell at informatik.tu-muenchen.de
Fri Mar 15 19:54:07 AEST 1991
>Can someone out there (Thomas Roell?) explain how to differentiate between the
>cursor keys (the home, insert, arrows, etc. keys) and the keypad keys under
>X386 1.1? I have an AT 101 key keyboard, and there seems to be no way to
>make the keypad keys do 'DEC' terminal things and not screw up the other
>cursor keys.
Ok, lets me explain whats going on:
1) Cursorpad and Numpad keys *should* send different scancodes:
0x48 Numpad, CursorUp
0xe0 0x48 Cursorpad, CursorUp
The magic is that there is a special prefix for these cursorpad keys. X386
recognices both of them and maps then cursorpad key to DIFFERENT keycodes
than the numpadkeycodes (try to use 'xmodmap -pk' and you'll see the two
different sets). BUT NOT EVERY KEYBOARD USES THAT CONVENTION !!!!!!!!!!!
(That was the source of the keyboard problems with X386 1.1) You now
may have such a keyboard with that feature. You can easyly check this
by using 'xev' to determine whether the cursorpad keys and the numpad keys
send the same keycodes.
2) If you keyboard works well you can remap the second set of the cursorkeycode
according to your needs ...
- Thomas
--
_______________________________________________________________________________
E-Mail (domain): roell at lan.informatik.tu-muenchen.de
UUCP (if above fails): roell at tumult.{uucp | informatik.tu-muenchen.de}
famous last words: "diskspace - the final frontier..."
More information about the Comp.unix.sysv386
mailing list