NETRJT Commands
NETRJT provides the following commands over the remote operator connection, in addition to the NETRJS operator commands (see Appendix D of RFC #189). The symbol "#" denotes one or more spaces. We will use the IBM meta-language to describe the command syntax. The literal text shown here in upper case may, in fact, be entered in either upper or lower case.
1. Opening a Stream
/ \
| PR [INTER] | _ _
| | | |
O [PEN] # < PU [NCH] >| (jobname) | [ =socket-number[ /host-name ]]
| | | |
| R [EADER] | | (*) |
\ / |_ _|
If the specified device does not already have an open connection, the NETRJT server will request connection to the specified socket. The optional "(jobname)" parameter is used to specify a particular job by name; for more information on the semantics of this parameter, see the discussion of input and output operations below. The "/host-name" parameter, to be implemented later, is intended to allow the file to be at a host different from both user and server hosts. We include it here only to suggest a syntax.
The socket number may have a one-letter suffix D, H, or O to mean decimal, hex, or octal. Octal is the default, so the O suffix may be omitted. If BBN establishes standardized TIP sockets for specific unit record devices, the socket number parameter could be omitted when the standard socket number is intended.
2. Closing a Stream
_ _
| # PR [INTER] |
| |
CL [OSE] | # PU [NCH] | [,A [CCEPT]]
| |
| # R [EADER] |
|_ _|
This command closes the specified data transfer connection. The ACCEPT option is used to signal the server that it may discard output it has transmitted, or that it has received a complete stack of job input. See discussion in next section. The device specification (PR, PU, or R) may be omitted if only one device stream is currently open.
3. Setting Format and Device Characteristics
In each of the following variants of the RJT commands, the parameter "device" is one of "PR [INTER]", "PU [NCH]", or "R [EADER]".
/ \
RJT # D [TP] (device) = < B [S] >
| T [T] |
| D [TP] |
\ /
- BS: an unstructured byte stream.
- TT: the TIP-tape transfer protocol (essentially the count form of Network DTP).
- DTP: the Network standard DTP, complete with a modes-available handshake. This form is not useful for TIP's but is included here in anticipation of the general Network standard RJE protocol.
/ \
RJT # R [ECFM] (device) = < T [ELNET] >
| A [SA] |
| R [ECORDS] |
| C [OMPRESSED] |
\ /
The following choice of options is tentative, as it is presently unclear just what record formats will be useful for TIP tapes or remote batch terminals connected to TIP's.
- TELNET: the "TELNET-like format":
_CR_LF_used to delimit logical records in all streams, and format effector control characters (_CR_,_LF_,_FF_) for printer carriage control. - ASA: CRLF used to delimit logical records, but an ASA carriage control character is sent as the first character of each printer record. (This option may be useful for remote batch terminals which expect ASA carriage control).
- RECORDS: the "truncated" format of NETRJS: an id byte, a count byte, and then the string, with ASA carriage control in each printer record.
- COMPRESSED: the "compressed" format of NETRJS (see RFC #189 for details). (Compression will be useful for batch terminals connected remotely to Tip's).
RJT # SIZE (device) = integer
This command sets the maximum logical record length for the specified device. NETRJT will automatically fold any records exceeding this size. Default sizes are:
PR: 120
PU: 80
R : 80
/ \
RJT # CODE (device) = < A [SCII] >
| E [BCDIC] |
\ /
This command sets the code to be used.