mhoffos@janus.mtroyal.ab.ca (03/13/91)
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. I grabbed the 1.1a update last night and it didn't seem to change anything. This is important to me as I connect to a VMS machine everyday, and VMS sort of assumes that you have a DEC terminal. Mike Hoffos -- mhoffos@janus.mtroyal.ab.ca (Mount Royal College is a community college in Calgary, Alberta) Disclaimer: Mount Royal College doesn't speak for me, and I *certainly* don't speak for it.
roell@informatik.tu-muenchen.de (Thomas Roell) (03/15/91)
>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@lan.informatik.tu-muenchen.de UUCP (if above fails): roell@tumult.{uucp | informatik.tu-muenchen.de} famous last words: "diskspace - the final frontier..."