![]() |
Command memory
The Connection Handler of CFS possesses a command memory facility. All Line Mode input, and certain Format/Physical Mode input for the connection are stored in an internal buffer. In particular, all BS2000 and EDT commands are saved for future recall. Any entries stored in the command memory can be recalled, and retransmitted unchanged, or after further modification. Access to the entries stored in the command memory can be achieved in two ways:
a) sequential:
-< DUE1. In Line Mode input, the last command entered in this connection is displayed in the 24th line. In addition to the current connection, entries for all other open connections will also be displayed.
b) associative:
-string< DUE1. The last command beginning with the specified character string string is displayed.
-*string< DUE1. The last command containing the specified character string anywhere is displayed.
The character < indicates the End Marker key (EM).
Pressing the Shift ENTER key displays the last, then the second last command, and so on.
If the input from the command memory appears that the user wishes transmitted, it must be sent be pressing the DUE1 key. Before being transmitted, the previous input can be modified. Further output of the command memory is stopped by pressing the DUE1 key. Pressing K1 will exit the command memory without transmitting anything.
The entries deposited in the command memory are activated as follows:
Firstly, the commands entered from the current connection are displayed. Going back further in the command memory will display the commands from connections 0 to 9, with the exception of those already displayed from the current connection. The command memory contents from all connections are chained with one another and are handled as a unit.
The symbol for activating the command memory, '-', can be redefined by the user: sym-old : sym-new. Example: -:]< DUE1
Redefining the command memory symbol is necessary if, for example, the user wishes to scroll back in EDT Line Mode. A redefined command memory symbol is valid across all connections.
Data Protection: Subsequent removal of particular entries in the command memory is achieved as follows: The command memory is activated by entering -< DUE1. The entry to be removed is displayed by repeatedly pressing Shift ENTER, and then erased by pressing the K3 key.
Notes:
Input that consists of only one or two characters are not stored in the command memory.
Mask input (Mode=Format/Physical) is not stored in the command memory, but EDT and KDC commands are.
EDT entries can be activated from the command memory by inserting a blank space:
_-< DUE1 | _-string< DUE1 | _-*string< DUE1.
The command memory can also be used with connections to $CONSOLE. To display previous console entries, press K2, and then enter -< DUE1 .
The comand memory can likewise be used in UTM applications for administration dialog. Previous entries are displayed by entering -< DUE1.
By setting an option, the system administrator can generate CFS such that all commands destined for the Connection Handler must be preceded by the escape symbol. The command memory is then activated by "^-" . To check if the ^ option is set, display the CRD mask (CRD command).
Loading command memory contents to P-keys.
Any entry from the command memory displayed on screen can be stored in a chosen P-key. The number of the P-key needs to be matched to the entry as follows: 'Px#' or 'Px:'. x designates the one to two digit number of the required P-key. The command memory entry displayed on screen is sent by pressing DUE1 or < DUE1 respectively. That entry is then stored in the specified P-key. In this case, the entry is not executed as a command.
By giving the prefix 'Px#', the character string stored in the P-key is terminated with < DUE1 . The prefix 'Px:' does not generate < DUE1 .
Example:
The entry STA 7813 is displayed on the screen from the command memory. Modifying the entry to P12#STA 7813 and sending it with DUE1 will result in STA 7813 being stored in the key P12. Pressing P12 will then cause the string to be sent automatically with End Marker and DUE1.
Full Screen Command Memory Output
--< DUE1
--string< DUE1
--*string< DUE1
If the command memory is activated by entering '--' , a complete screen (24 lines) of entries will be displayed. Previous entries can be displayed sequentially as well as associatively.
Activating one of the displayed entries is achieved by modifying any character in the required command. The command will be executed even if a character is overwritten by the same character.
With SDF, multiple commands can be activated by modifying the particular line on the screen. The individual commands will be executed in the order in which they appear on the screen.
Note:
One or more lines from the command memory can be loaded to any desired P-key equally well in Full Screen command memory mode. The procedure is the same as that described above ("Loading the command memory contents to P-keys").