[Top] [Prev] [Next] [Contents] [Index]

Configuring Key Translations

The Keymap Editor local client displays a layout of a keyboard that has keys labelled with their keycaps and the functions (called actions or translations) assigned to them. The Keymap Editor allows you to change the actions or translations. For detailed information about using the Keymap Editor, see the System Administrator's Guide.

If you are changing key translations using X resources instead of the Keymap Editor, note that you can specify key translations using more than one modifier (for example, Shift-Lock-F1).

The keymap action keymap (name) changes keypress translations while the terminal emulator is running. This action takes a single string argument that names a resource for dynamically defining a new translation table. The resource name is derived by appending the string `Keymap' to name. The keymap argument None restores the original translation table.

The following example shows how the keymap action can be used to add special keys for entering commonly typed expressions.


NCDterm.Translations: #override <Key>F12: keymap (dbx)
NCDterm.dbxKeymap.translations:\\
     <Key>F14: keymap(None) \\n\\
     <Key>F17: string("next") string(0x0d) \\n\\
     <Key>F18: string("step") string(0x0d) \\n\\
     <Key>F19: string("continue") string(0x0d) 


[Top] [Prev] [Next] [Contents] [Index]

Send comments, suggestions, or questions about this document to the NCD Technical Publications Department by Internet e-mail. Write to us at techpubs@ncd.com.
Copyright © 1997, NCD Inc. All rights reserved.