Xerox -07W & -11W Manuale Utente

Pagina di 370
6-2
Hotspots
Defining Hotspots
Hotspot keywords and associated functions are specified in a text file which has the
same name (and is in the same directory) as the current workspace file but with the
extension .hot instead of .wsp. For example, the default hotspot definitions supplied
with TeemTalk-07W32 are stored in the file tt07w.hot. If you specify a different
workspace file name in the Save Session As dialog box and save the current settings,
TeemTalk will automatically make a copy of the current hotspot file and give it the
new workspace name if a hotspot file with the same name does not already exist.
Note: A hotspot file may not necessarily be in use, in which case
TeemTalk will not attempt to create a new hotspot file with
the new workspace file.
You can view the contents of the hotspot file currently in use without leaving
TeemTalk by displaying the Mouse Button Actions dialog box, selecting one of the
hotspot options (from a drop down list box if necessary), then clicking the Edit...
button.
The format of entries in the hotspot definition file is as follows. Each hotspot
definition is entered on a separate line and definition lines are grouped under
headings which specify the terminal emulation mode in which they will take effect.
The following definition line examples are taken from the tt07w.hot file supplied
with TeemTalk-07W32.
[Separators]
Separators= /,:=()[]
[Definitions]
F1=<VK_F1>
F2=<VK_F2>
[Definitions,VT52]
[Definitions,VT200 7-Bit]
F6=<VT_F6>
F7=<VT_F7>
The first command group, headed [Separators], specifies the displayed characters
which delimit the hotspot keyword. Delimiters include SPACE and NULL as well as
the characters shown in the example by default. The end delimiter does not need to
be the same as the first. Delimiters are necessary to prevent hotspots occuring within
words that happen to contain the same formation of characters as the keywords.
The following command groups specify the keywords used in each terminal emula-
tion mode. Keyword definitions that can apply to all modes are specified under the
heading [Definitions]. Keyword definitions that apply to a specific mode are
specified under the heading [Definitions,<emulation>], where <emulation> must be
the name of the terminal emulation mode as already specified in the default hotspot