Carey Evans wrote:

phil <[EMAIL PROTECTED]> writes:

When I press F13 in xev it says it is "prior".
But what does it matter?  Where can put in scancodes to make it say
any symbol I want?  In X?
In showkey in returns scancode 100


You can use xmodmap, or alternatively configure the correct keyboard in XF86Config, to associate keysyms with scan codes. Working out the correct keyboard settings for XF86Config can be somewhat challenging. Even doing this may not make the xterm program send the control sequences that are specified in your terminfo definition for xterm.

But if you know the keysym that X11 is using, and the rest of the
keyboard works OK, you should just be able to add lines like:

<Key>Prior: string("\033!") \n\

to tn5250's XTerm file.

xmodmap.  Cool.  Thank you.
xmodmap does not map scancodes, it maps keycodes.
For instance, the scancode for the Enter key is 28.
showkey and dumpkeys both reveal this.
But xmodmap -pk reveals keycode 36 mapped to 0x0d Return.
I wonder what these keycodes are and do they bear any relation to scancodes.


_______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.



Reply via email to