[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SAVING COMMONLY TYPED SEQUENCES
Telix will let you assign text to a key so that it is sent to
the comm port when that key is pressed. This is usually called
a keyboard macro, and is useful in saving keystrokes (for ex-
ample, you can assign your name to a key). Telix actually
keeps two key definitions tables in memory at all times (each
table holds the text assigned to each key), the user table and
the terminal table. The terminal table is used for terminal
emulation key assignments. When Telix is told to start emulat-
ing a certain terminal, it loads into this table definitions
specific to that terminal. Therefore, for each terminal there
is a key definition file which is loaded as needed. The user
table on the other hand is relatively constant. You might want
to assign your name to the Atl-1 key for example. This kind of
definition would be put in the user table.
When a key is pressed, Telix follows this procedure: If there
is a definition for that key in the terminal key table, send
that text; otherwise if there is a definition in the user
table for that key, send the text; otherwise if the key repre-
sents an ASCII value, send that value; otherwise if the key is
a Telix command (like Atl-D), perform that command.
The keyboard definition/macro editor is entered with the Alt-K
key sequence from terminal mode. Telix will ask you if you
want to access the user or the terminal key definition table.
Unless you wanted to modify the keys for a specific terminal,
you would always select the user table. Telix will present the
following menu:
Load Save Clear Display displayKey Edit eXit
To load definitions from a previously saved key definition
file into memory, select the 'Load' option. Telix will ask for
the name of the key definition file (and use the extension
'.KEY' if none is specified). Current key assignments will be
cleared. The standard key definition file is "TELIX.KEY" and
is loaded at start-up if it exists.
To save the current key definitions to a disk file, select the
'Save' option. Telix will ask what file to save them to, and
use the extension '.KEY' if none is specified.
Selecting 'Clear' will clear all the current key definitions
in this table.
Selecting 'Display' will show what text is assigned to each
key.
Selecting 'displayKey' will allow you to look at what is as-
signed to one specific key, by pressing it when prompted.
To actually enter or edit the text assigned to a key, select
'Edit'. Telix will print the existing definition and allow you
to edit it. Enter the characters that you want the key to send
when pressed. Control characters and pauses can be included in
the definition in the manner described previously in the man-
ual under Output String Translation. Remember that if you make
any changes they will be lost when you exit Telix unless you
use the 'Save' option as described above, to save them to
disk.
Telix also allows you to run a script file when a certain
function key is pressed. If a function key definition has an
'@' character as its first character Telix will assume the
rest of the definition is the name of a script file, and will
try to execute it. For example pressing the function key whose
definition is '@logon' would run the script file called
'logon.scr'. If you really want to send out an '@' character
as the first character in the key definition, then use two of
them instead. e.g., the definition '@@Hello' would send out
'@Hello'.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson