X386 1.1a update, xterm keyboard problem
David Rector
drector at orion.oac.uci.edu
Fri Apr 12 09:15:38 AEST 1991
I recently installed Herr Roell's X386.update.1.1a to his X386.1.1
binaries on an ISC 2.0.2 system. The following problem appeared in
xterm: pressing '9' or '3' on the numberpad (NumLock on, 101 keys) produces
scroll up and scroll down--actions normally bound to Shift PageUp and
Shift PageDown.
This problem does not seem to be caused by my keyboard in that
1. I have not had it with previous versions (e.g. 1.1) of the
server and
2. The Event Tester shows correct (I think) keycodes:
Shift PageUp on direction pad produces:
KeyPress event ... state 0x1, keycode 98 (keysym 0xff55, Prior)
KeyRelease event ... state 0x1, keycode 98 (keysym 0xff55, Prior)
Number pad '9' (NumLock off) produces
KeyPress event ... state 0x0, keycode 80 (keysym 0xff55, Prior)
KeyRelease event ... state 0x0, keycode 80 (keysym 0xff55, Prior)
and Number pad '9' (NumLock on) produces
KeyPress event ... state 0x0, keycode 49 (keysym 0xffe1, Shift_L)
KeyPress event ... state 0x1, keycode 80 (keysym 0xffb9, KP_9)
XLookupString gives 1 characters: "9"
KeyRelease event ... state 0x1, keycode 49 (keysym 0xffe1, Shift_L)
KeyPress event ... state 0x0, keycode 49 (keysym 0xffe1, Shift_L)
KeyRelease event ... state 0x1, keycode 80 (keysym 0xffb9, KP_9)
XLookupString gives 1 characters: "9"
KeyRelease event ... state 0x1, keycode 49 (keysym 0xffe1, Shift_L)
I have not been able to check what is actually bound to these events
in xterm since I haven't found a way to read the Xterm*translations
resource (Does anyone know how?).
I should also mention that the server was started using xdm with
xmodmap -e 'keycode 21=Delete BackSpace'
in Xsession and the only change to standard XTerm defaults was
XTerm*ttyModes: intr ^c erase ^?
Any help is greatly appreciated (as is Herr Roell's fine work on X386).
--
David L. Rector drector at orion.oac.uci.edu
Dept. of Math. U. C. Irvine, Irvine CA 92717
More information about the Comp.unix.sysv386
mailing list