6-3
Hotspots
definitions file. Note that a keyword definition under a [Definitions,<emulation>]
heading will override the definition given to the same keyword in any other defini-
tions group when that particular emulation is running.
Each keyword definition line consists of the keyword immediately followed by an
equals (=) sign, then the function that it will perform. The keyword can consist of any
characters except those specified as delimiters in the Separators= line. TeemTalk will
search for the keyword on a case insensitive basis.
The function that will be performed when the keyword is selected is specified in the
same way as for key macros, soft buttons and script language programming.
Entering Control Characters
You can enter a control character in a keyword definition either as the control key
character equivalent or the decimal value of the ASCII character. For example, the
control character for the Return key function, CR (carriage return), can be entered
by typing the characters ^ and M, representing the keys Ctrl + M which, when
pressed together would generate the CR code. This could be used to define the
keyword Login to enable you to log on to a host:
Login=hostname^M
Decimal values are entered as three-digit numbers immediately preceded by an
underscore character. Values with only two digits must be preceded by a zero. For
example, the decimal value of CR is 13, so this would be entered as _013. Refer to
the ASCII character table in the Character Sets appendix for code and decimal
references.
Key Combinations & Sequences
You can define a keyword to perform the function of a particular key, a combination
of keys, or a sequence of keys. For example, you can define a keyword to perform
the same function as pressing the key F4, or pressing the keys Alt + F4 together, or
pressing the keys F2 then F3 then F4. Keys are identified by their virtual key names
as listed in the Virtual Key Names appendix. You may omit the VK_, VT_ (etc.)
parts of the name.
To define a keyword so that it will perform the function of a particular key, type the <
character followed by the virtual key name then the > character. For example, to
define the keyword Insert so that it will perform the same function as the Insert key
found on the DEC VT320 keyboard, enter the following line in the relevant Defini-
tions command group:
Insert=<VT_INSERT>
To define a keyword so that it will perform the same function as pressing two or more
other keys together, type the < character followed by the virtual key names linked