Network Working Group
Request for Comments: 393 Joel M. Winett
NIC 11585 Lincoln Laboratory
Categories: TELNET LL-67
References: RFC 109, 139, 158,318, and 328 3 October 1972
Comments on TELNET Protocol Changes
328 and am adding my suggestion for the interpretation of the TELNET
Reverse Break Control Code.
1. Hide-your-input
This code was originally put in the TELNET protocol to give the virtual terminal the ability to simulate a real terminal which has the print suppress capability. If the terminals being used at some installations do not have the ability to disable the printing mechanism, the TELNET being used can either ignore this code or attempt to simulate the function using other means (e. g., blacking out a number of character positions and returning to the first character position). Every attempt should be made to allow a network user of a time-sharing system to have the same facilities as a local user of the time-sharing system. The specification of TELNET protocol should not limit the function of users if a function cannot be supported by all users.
[Page 1]
The "Hide-your-input" and "Echo" modes of operation are disabled with
To indicate the number of characters for which the printing should be suppressed, the "Hide-your-input" TELNET control could be rede- fined to include a byte following the "Hide-your-input" control to indicate the number of characters for which the printing should be concealed. The "No-echo" control would still be sent so that systems with the print suppress feature would not have to count characters.
2. Data Types
The protocol should allow a server to support users with character codes other than ASCII, e. g., EBCDIC. The definition of an alter- nate character code should include the definition of the TELNET control codes. An EBCDIC code has been proposed in RFC # 109 and has been implemented on the Lincoln Laboratory 360/67. If it is desired to allow one to return to the network standard ASCII code, the non-ASCII code should contain a code to indicate return to ASCII.
3. Reverse Break
The code for Break is defined as a 129th ASCII data code. It is usually transmitted from a user's network virtual terminal to a server when a corresponding key (break key or attention key) is typed on the TELNET terminal and is interpreted by serving systems as that special key. Since a common function of this key is to interrupt a running process the server must be alerted to the fact that this code has been transmitted no matter when it is sent. Thus, the TELNET SYNC (TELNET data mark together with a network interrupt on the TELNET send socket) must also be trans- mitted to cause the serving process to examine the received charac- ters. The ASCII control code EOT (Octal 4) could have been chosen for the break function but his code is not interpreted by all systems. Thus, it was decided that an NVT TELNET control code should be used for this purpose.
[Page 2]
with CR-LF the user TELNET does not know whether or not other
If the user TELNET is being run from a half duplex terminal, the terminal cannot receive input and type output at the same time. Thus, if output is received while the terminal is being used for input the TELNET program must either buffer the received characters or abort the input mode of operation to write out the received charac- ters. If characters received are written out as they are received, the terminal operation would be very similar to a full duplex terminal. This mode of operation requires that the terminal have a reverse break capability to allow the input mode to be aborted by program control.
[Page 3]
re-entered after an input line is entered. It is re-entered only after
In summary, three situations have been described where an end of