📄 rfc283.txt
字号:
NETWORK WORKING GROUP R. T. BRADENREQUEST FOR COMMENTS #283 UCLA/CCNNIC #8165 DECEMBER 20, 1971CATEGORIES: DOBSOLETES: NONEUPDATES: RFC #189 NETRJT -- Remote Job Service Protocol for TIPS ----------------------------------------------A. INTRODUCTION ------------ TIP's have very limited processing capability; their function ismainly limited to interfacing printer-keyboard devices to the Networkusing TELNET protocol. It will also be possible to have a tape driveon a TIP, using a subset of the count form of DTP (see RFC #264).However, TIP's cannot and will not support either DTP or FTP (see RFC#265) in general. Therefore, TIP users are excluded from using anyexisting remote job entry protocol (e.g. CCN's NETRJS - see RFC #189). It appears, however, that it may be feasible in the future to useTIP's for remote job entry in one or more of the following three ways: (a) Attach local card readers, line printers, and card punches directly to TIP ports. These devices would use a TELNET-like* format and frame their characters with Start/Stop bits. BBN can now supply a suitable 200 LPM printer, and is searching for suitable readers and punches. (b) Connect a remote batch terminal to a full-duplex TIP port via a communication line. BBN is looking into this. (c) Use the tape drive, and do card-to-tape and/or tape-to-print on another computer. BBN hopes to make case (b) look exactly like (a) to the server host.That is, the remote batch terminal will send to and receive from theserver in a TELNET-like format*; the printer, card reader, punch, andoperator console connections will all use different sockets but onehardware port at the TIP, which will map multiple sockets into the oneport.NOTE: By "TELNET-like format", we mean: (a) _CR_LF_ used to delimit logical records (lines or cards), and (b) the ASCII or EBCDIC format effector control characters used for carriage control in the printer stream. It does _not_ necessarily imply ASCII character codes. [Page 1] [ This RFC was put into machine readable form for entry ] [ into the online RFC archives by BBN Corp. under the ] [ direction of Alex McKenzie. 12/96 ] This document describes NETRJT, a modification of CCN's NETRJSprotocol specifically to provide remote job entry service to TIP'susing one of the methods (a), (b), or (c). NETRJT follows the generalmodel of NETRJS: use TELNET protocol over a primary or "operator"connection pair, and open simplex secondary connections for datatransfer of job stream input and output. (We also considered thepossibility of using the Divert Output mechanism of the TIP forsending remote job output over the operator connection, and ananalogous mechanism for input. However, in discussion with AlexMcKenzie, it was agreed that sharing the operator connections haslittle merit and causes lots of problems). NETRJT differs in two principal ways from NETRJS: 1. The NETRJT server process initiates the data transfer connections, under control of commands from the remote operator console. On the other hand, under NETRJS the remote user process has responsibility for initiating the opening of secondary data transfer connections; the NETRJS server simply listens on these sockets. 2. NETRJT provides the TELNET-like format defined above for data transfer, as well as the TIP-tape DTP format. NETRJS, on the other hand, is restricted to counts to delimit logical records within DTP-like transactions, and ASA carriage control. There are some other minor differences. For example, (1) the NETRJTserver takes responsibility for folding output records when theyexceed a size specified by a user command; under NETRJS, this was theuser process' responsibility. (2) There are NETRJT operator commandsto set the record format, record size, and code for each data transferconnection. NETRJS made the first two fixed properties of a particularterminal id, and deter- mined the last by the choice of ICP socket.These differences imply remote operator commands in NETRJT in additionto those of NETRJS. The operator must be able to (1) cause NETRJT toopen a secondary connection to a TIP socket, and (2) specify the datatransfer protocol, maximum logical record length, and/or transmissioncode. These NETRJT commands are discussed in the following section. CCN plans to proceed with implementation of a NETRJT server with thegoal of completing an initial version by March 15, 1972. This initialversion may support only DTP=BS or TT, and RECFM=TELNET or RECORDS;other options will be added as the need arises. We welcome commentsand suggestions. [Page 2]In the longer term, we believe that the NETRJT protocol describedhere should be considered as the first draft of a Network standard forremote job entry via TIP's. In its present form, NETRJT owes much tothe ideas and comments of Alex McKenzie (BBN), Jon Postel (NMC), JimWhite (UCSB), and Steve Wolfe (CCN).B. NETRJT COMMANDS --------------- NETRJT provides the following commands over the remote operatorconnection, in addition to the NETRJS operator commands (see AppendixD of RFC #189). The symbol "#" denotes one or more spaces. We willuse the IBM meta-language to describe the command syntax. The literaltext shown here in upper case may, in fact, be entered in either upperor 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, theNETRJT server will request connection to the specified socket. Theoptional "(jobname)" para- meter is used to specify a particular jobby name; for more information on the semantics of this parameter, seethe discussion of input and output operations below. The "/host-name"parameter, to be implemented later, is intended to allow the file tobe at a host different from both user and server hosts. We include ithere only to suggest a syntax. The socket number may have a one-letter suffix D, H, or O to meandecimal, hex, or octal. Octal is the default, so the O suffix may beomitted. If BBN establishes standardized TIP sockets for specificunit record devices, the socket number parameter could be omitted whenthe standard socket number is intended. [Page 3] 2. Closing a Stream ---------------- _ _ | # PR [INTER] | | | CL [OSE] | # PU [NCH] | [,A [CCEPT]] | | | # R [EADER] | |_ _| This command closes the specified data transfer connection. TheACCEPT option is used to signal the server that it may discard outputit has transmitted, or that it has received a complete stack of jobinput. 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] | \ / [Page 4]The following choice of options is tentative, as it is presentlyunclear just what record formats will be useful for TIP tapes orremote 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) .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -