1 KEY KEY - VT220 FUNCTION KEY PROGRAMMER PROGRAM -- HELP TEXT VT2XX function keys can be programmed. This applies only to the shifted key (ie. ). Likewise, they cannot be programmed from set up, but only from escape sequences sent to the terminal from the host. The KEY program allows us to do this. You can invoke KEY in three modes. One is to program your VT220 keys only, another is to program both keys and save those commands is a text file, and the third is to program the keys from commands in an existing text file. To program keys only, invoke KEY without a command line and then enter the command after the prompt (ie. type "KEY" only). To program keys and save in text file called KEYFILE.TXT, type "KEY command" where command is a valid key command. Finally, to use commands in an existing command file, type "KEY @filename" where filename is a valid command file. If you just type "KEY @", then the filename "KEYFILE.TXT" will be assumed. This is handy if you wish to have a KEYFILE.TXT is your login UFD that is invoked by your LOGIN.CMD or if you want to switch from one group of keys to another by having several command files like DTRKEY.TXT, MACROKEY.TXT, and PASCALKEY.TXT. KEY commands take the form "keyname=keydef" where keyname is a valid VT220 key name from F6 thru f20, and HELP and DO, and keydef is the string of characters that will be associated with the key. The string is not quoted, and can include non-printable characters by using the Macro-11 type definition delimited by backslashes. For example (double quotes delimit command and are not part of syntax): "F6=SHOW " "F7=USERS\<13><12>\" "F8=TERMINAL\<13><12>\" "F9=RING BELL\<7><7><7><13><12>\" "HELP=!SEE SYSTEM PROGRAMMER\<13><12>\" Note that the non-printable characters are indicated by their ascii decimal number delimited by <>. The nonprintable characters are then delimited by backslashes (\). Note that you can use EDT to imbed non printable characters in the text of a command file without using this above method of indicating nonprintable characters. This help file is invoked by typing "KEY ?"