× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Carey Evans wrote:

phil <phillip.watts@xxxxxxxxxxxx> 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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.