Changing The Function Of A Key - Neoware c50 - Thin Client User Manual

Teemtalk 5.0 for unix
Hide thumbs Also See for Neoware c50 - Thin Client:
Table of Contents

Advertisement

Keyboard Configuration
You can find the keysym value of a key by placing TeemTalk in debug mode using
the -debug command line option or debugMode resource, then pressing a key or key
combination. The following information will be displayed when the F2 key on a Sun 4
keyboard is pressed:
Keycode = 13, State = 0, Keysym = 65471
The Keysym value can be directly used in Translation tables as shown in the following
example:
*xteemx340*vt220.Translations: #override \n\
<Key>65471: string("This is the F2 key")

Changing The Function Of A Key

Once the keysym of a particular key is known, you can change the function of that
key by using the Translations resource. This modifies a specified translation table
within the TeemTalk program which is used to assign events to actions. This table
should be placed in the .Xdefaults or application defaults file as described in the
Resources & Command Line Options chapter.
TeemTalk supports two action functions related to keyboard mapping: string and
value.
string(" string ")
This command will cause the specified string to be sent when the key specified in the
translation table is activated. For example:
string("This is a string action")
value( decimal value of ASCII character )
This command will map the specified key to send the character corresponding to the
ASCII decimal equivalent (ADE) of the value specified. For example:
value(27) will send the 'Escape' character (ESC is ASCII decimal 27).
Some of the values that can be specified do not directly cause characters to be
transmitted but invoke functions within TeemTalk instead. For example:
value(128) will cause TeemTalk to treat the activated key as F1 (function key 1), and
value(-166) will cause TeemTalk to treat the activated key as the Compose Charac-
ter key.
These values are either undefined ADE (ASCII decimal equivalent) codes or values
outside the range of ADE values. The values that TeemTalk expects for various keys
and functions can be ascertained from the Key Reference Numbers appendix.
4-3

Advertisement

Table of Contents
loading

Table of Contents