Keypad, Arrows, Keycodes and Keysyms

E Dambik dambik@indiana.edu
Sun Apr 1 00:00:00 GMT 2001


I've just installed the latest Cygwin/XFree86 on a Windows 2000 system. It
works very well but
I'm having trouble using the keypad under emacs during a remote session --
certain keypad keys
appear to be using the same keycodes as the arrow keys. For example, xev
shows that both the
DOWN arrow and the KEYPAD 2 keys are returning a keycode of 88 with a keysym
of
KP_Down. Under XFree, Emacs can't really tell the difference between these
keys. This doesn't
appear to be a problem under Linux or while using the Windows version of
Emacs locally. Using
NumLock changes *both* arrows and keypad keysyms to KP_2 but this isn't a
very good solution.
Can anyone tell me if there's a fix for this? Ultimately, I'd like KEYPAD 2
to return a keysym of
KP_2 and the DOWN arrow to return a keysym of Down or KP_Down.

Thanks!




More information about the Cygwin-xfree mailing list