Controls
If the first character in an input line is the control character and the next character is a space, the rest of the line is interpreted as a TELNET control command. A control command consists of a control word and parameters separated by spaces. Controls are defined which permit TELNET controls to be transmitted to the serving site, allow input to come from a file or output to go to a file, allow CMS functions or transient commands to be issued, redefine the control character or TELNET mode, close connections or leave the TELNET command with connections still open, as well as controls to support a reader, punch, and printer with RJS operation. The controls are described below.
CONTROL x
Where x is the new control character
CLOSE
To close all connections and quit
QUIT
To leave TELNET
EBCDIC
To go into transparent mode, i.e., no translation
ASCII
To translate input and output to network ASCII
Break
To send the TELNET break code
SYNC
To send the TELNET data mark code and an interrupt
AATN
To send a TELNET break and a SYNC
HIDE-YOUR-INPUT
To send the TELNET hide you input code
NOECHO
To send the TELNET noecho code
ECHO
To send the TELNET echo code
CMS command arg1...argN
To issue CMS core resident function or transient command.
INPUT fn ft
* TERMIN
* *
To get input from a file If fn is defaulted, input is reset to come from the terminal. If fn is * file input resumes after the last line read. After an EOF, the next line read will be the first line of the file.
An external interrupt while input is coming from a file will cause the line number of the next line to be read from the file to be typed and input to be reset to come from the terminal.
OUTPUT fn OFF TERM INPUT INOUT
* ON NOTERM NOINPUT OUTPUT
To write output to the file "fn TERMOUT". If fn is defaulted, output is reset to go to the terminal. If fn is *, file OUTPUT is resumed with the same options as were last used.
For Output to the Terminal:
If the last character is a CR, a line with just the control character is typed on the next line (with a NL)
If the last character is not a NL or a CR, the line is typed without a NL (i.e., with TYPE).
For Output to a File:
If just a NL is in the line, just the control character is sent to the file.
If the last CHAR is not NL or CR, the control character is added after the last character, except if 130 characters must be sent to the file.
If the last CHAR is a CR, it is included in the file.
OFF causes all output to be discarded.
ON is the default, and causes output to the terminal.
TERM causes output to also go to the terminal.
NOTERM is the default, and causes output to go the file but not to the terminal.
OUTPUT is the default and causes just terminal output to be put to the file "FN termout".
INPUT causes both terminal input but not output to be put to the output file.
NOINPUT is defaulted and causes input to not go to the file.
PURGE
To purge all output currently received by the NCP. *****NOT YET IMPLEMENTED*****
READER fn ft
* READER
To send a job to the RJS system at UCLA's CCN.
If fn and ft are defaulted, input will come from the card reader.
PRINTER fn ft
* PRINTER
To receive printer output from the RJS system at UCLA's CCN.
To receive punch output from the RJS system at UCLA's CCN.
If fn and ft are defaulted, output goes to the printer.
PUNCH fn ft
* PUNCH
If fn and ft are defaulted, output goes to the punch.