[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page
Top Document: comp.windows.x Frequently Asked Questions (FAQ) 2/7
Previous Document: 24) How do I change the keyboard auto-repeat rate?
Next Document: 26) How do I make a screendump or print my application (including menus)?
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page
Top Document: comp.windows.x Frequently Asked Questions (FAQ) 2/7
Previous Document: 24) How do I change the keyboard auto-repeat rate?
Next Document: 26) How do I make a screendump or print my application (including menus)?
25) How do I remap the keys on my keyboard to produce a string?
There is no method of arranging for a particular string to be produced when
you press a particular key. The xmodmap client, which is useful for moving
your CTRL and ESC keys to useful places, just rearranges keys and does not do
"macro expansion."
Some (few) clients, including xterm and several X-based editors, accept a
translation resource such as:
xterm*VT100.Translations: #override \
<Key>F1: string("setenv DISPLAY unix:0")
which permits the shorthand F1 to be pressed to reset the display locally
within an xterm; it takes effect for new xterm clients. To include control
characters in the string, use \nnn, where nnn is the octal encoding of the
control character you want to include.
Window managers, which could provide this facility, do not yet; nor has a
special "remapper" client been made available.
Top Document: comp.windows.x Frequently Asked Questions (FAQ) 2/7
Previous Document: 24) How do I change the keyboard auto-repeat rate?
Next Document: 26) How do I make a screendump or print my application (including menus)?
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page
[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
faq%craft@uunet.uu.net (X FAQ maintenance address)
Last Update October 07 2008 @ 00:13 AM