The key command is especially useful for defining function keys for use on the remote system or for creating custom keys to send special characters for which you don't normally have a key on your keyboard.
To use the key command, enter:
These are the key subcommands:
key test
Displays the numeric value of each key that you press on your keyboard. Different brands of terminals or workstations may use different keys in different ways, so the numeric value is how Autolog recognizes a specific keypress. You will need this number to assign a key a new value. Press the space bar three times to return to the command prompt when you're done "testing" keys.key set number "string"
Assigns the key whose numeric value is number the new value string. For example, if the number value of your F1 key is 160,
would cause the letters my answerback to be sent whenever you press the F1 key while in talk mode. While in command mode, your F1 key will do whatever it normally does on your local computer. See standard function key values.key save
Saves your remapped key translations for future use. Your key translations will be saved as a series of key set commands in a script file that will be automatically used again whenever you use Autolog from the same type of terminal and with the same type of terminal emulation (if any). You can also name the file you want to save your keys in:
In this case, you'd need to specifically name the file in a go command to reload these key definitions.key clear
Clears out any key translations you have established with key set (whether you entered the key set commands or whether they were entered via a script file).The fkey command can also be used to control how function keys behave while in talk or command mode.