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)? See reader questions & answers on this topic! - Help others by sharing your knowledge 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. User Contributions: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 | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: faq%craft@uunet.uu.net (X FAQ maintenance address)
Last Update March 27 2014 @ 02:12 PM
|
Comment about this article, ask questions, or add new information about this topic: