-Q10.B.4- bind the arrow key on my Sun keyboard?

From: -X-  How, in Tk, can I XXX:

A10.B.4. You have to call it <Left> rather than <R10>.  Under X11, keys are
referred to by their keysym.  One can use either xmodmap -pk or the xev
program to determine what the keysym a particular key on a keyboard is
currently generating.

If the keysym that is being used is not known by Tk, you may have to edit
its ks_names.h file.  There is a note in this file that indicates that
one should not edit it - but this is where the keysym must be for it to
be recognized.

Thanks to Wayne Christopher <faustus@CS.Berkeley.EDU> for this
note.
Go Back Up

Go To Previous

Go To Next