C O M M A N D L I N E R E C A L L V 3 . 0 ( A lazy man's CLI) 20 - APRIL - 88 Command line recall (or LZYCLI) accepts commands from the TTDRV and the HTDRV and saves the commands on disk for recall. Currently, the last 23 commands are being saved. A major addition to LZYCLI in this release is the support of user defined symbols. LZYCLI allows the definition of up to 4 symbols (up to 9 characters each) and an equivalence string (up to 40 characters). When a command line is passed to LZYCLI, it parses through the command and substitutes equivalence strings for symbols before it passes the command on to DCL. This allows "nicknames" for long command lines (those with more than two characters). LZYCLI also allows simple editing of commands once they have been recalled. To set a terminal's CLI to LZYCLI, issue the following DCL command: SET TERM TTnn: CLI:LZYCLI where nn is the terminal number to be set. Once the terminal's CLI is set to LZYCLI, commands may be recalled or symbols defined. A symbol may be defined in the following format: sssssssss:==[text string] where: 1) sssssssss is the symbol to be defined (up to 9 characters) 2) :== is required syntax for separation 3) text string is the optional text string to be equated to to the symbol (up to 40 characters). If this argument is omitted and the symbol is defined, then the symbol will be deleted. Symbols are substituted when the exact spelling of the symbol if found in the command line, the symbol is preceed by a space or colon, and the symbol is followed by a space or colon. To enter command line recall mode and to display the last command LZYCLI issued from your terminal, type . At this point you may perform the functions listed in Table 1. Table 1. LZYCLI functions ------------------------------------------------------------------------------- Function Key ------------------------------------------------------- Issue command as displayed or Quit without issuing command Display previous command Display following command Display symbols Move cursor to left (min = col 1) Move cursor to right (max = col 80) Move to beginning of line "0" on keypad Move to beginning of next word "1" on keypad Move to end of line "2" on keypad Delete to end of line PF1 "2" on keypad Toggle insert/overstrike mode Delete character to left of cursor Delete character under cursor "," on keypad Delete word "-" on keypad ------------------------------------------------------------------------------- To display the last 23 commands on the terminal, type . Each of the commands will be numbered. If you wish to recall one of the numbered commands, type the number (including leading zeros) and . To display the symbols, type .