Appendix: Off-loaded Telnet (Part 3)
2.3.5. Character Disposition Options
The Carriage Return Disposition option, the Horizontal Tab Disposition option, the Formfeed Disposition option, the Vertical Tab Disposition option, and the Linefeed Disposition option are all considered character disposition options from the perspective of H-FP. Two option-specific parameters are required for the character disposition options. The first is the DR or DS code, which was described previously. The second is a single ASCII encoded numeric value, which is interpreted as (assuming that the Host issued the Condition command):
0 The Host requests that it handle the character
disposition for this connection.
1 to 250 The Host suggests that the remote end handle
the character disposition considerations, but
suggests that the value indicated should be
taken as the number of nulls which should be
inserted in the data stream following the
particular format character being
subnegotiated.
251 The Host suggests that the remote end handle
the character disposition considerations, but
recommends that it replace the character with
some simplified character similar to but not
identical with it (e.g., replace a tab with a
space, or a formfeed with a newline).
252 The Host suggests that the remote end handle
the character disposition considerations, but
recommends that it discard the character.
253 The Host suggests that the remote end handle
the character disposition, but recommends that
the effect of the character be simulated using
other characters such as spaces or linefeeds.
254 The Host suggests that the remote end handle
the character disposition considerations, but
recommends that it wait for additional data
before sending more data.
255 The Host suggests that the remote end handle
the tabstop considerations, and suggests
nothing about what the value should be.
Some of the codes between 251 and 254 are not used with some character disposition options. Refer to the ARPANET documentation for additional details.
If the Condition command is issued by the OPE, then the roles of the Host and the remote end are reversed.
2.3.5.1. RCTE Option
The Remote Controlled Transmission and Echoing option requires parameters to indicate the sets of break characters and transmit characters. There are two option-idiosyncratic parameters for RCTE. The first is a list of the character classes that make up the set of break characters, as defined in the RCTE documentation. The second is a list of character classes that make up the set of transmit characters, as defined in the RCTE documentation. Since the two classes are optional and can be of arbitrary length, it is necessary to precede each list with a -bc (break characters) or -tc (transmit characters). The character classes are defined as
1 Upper Case Letters A through Z
2 Lower Case Letters a through z
3 Digits 0 through 9
4 Format effectors <BS> <CR> <LF> <FF> <HT> <VT>
5 Non-format control codes, plus <ESC> and <DEL>
6 Punctuation . , ; : ? !
7 Grouping { [ ( < > ) ] }
8 Misc ' ` " / \ % @ $ & + - * = ^ _ | ~
9 <space>
2.3.5.2. Extended Option List
The Extended Option List option requires a parameter to carry the number of the option on the extended list. There is thus one option specific parameter to the Condition command when used for this purpose, which is the number of the option on the extended option list. It can be expressed in ASCII using an octal, decimal, or hexadecimal format.
2.3.5.3. Terminal Extension Options
The Extended ASCII, SUPDUP, and Data Entry Terminal options of Telnet were all attempts to extend the basic capabilities of the Telnet data stream beyond the simple, scroll mode terminal model that was the basis of the original Telnet design.
All of these options have limitations to their effectiveness. The Extended ASCII option lacks a standardized interpretation of the bit patterns into extended ASCII characters. The SUPDUP effort was actually an independent mode where a different virtual terminal protocol was used, and the option was there merely to switch to and from this protocol. The Data Entry Terminal option requires the excessive overhead of subnegotiation for each use of extended features. All of these options lack the more valuable asset of widespread implementation and use.
The way these options should be handled is not detailed in this appendix. It is clear that the Condition command could be used for initiating and terminating the use of these options. The actual transmission of characters related to the extended terminal features should be provided by the Transmit command, either as part of the normal Host-to-OPE data stream or by using protocol-idiosyncratic parameters.
A more recent option, the Terminal Type option, should be mentioned here. It permits one end of a connection to request information about the terminal at the other end or send information about the terminal at the local end. This is convenient for systems that provide a wide variety of terminal support, but it clearly does not follow the model of reducing the MxN problem by use of a virtual terminal. Its use is very straightforward in the H-FP context. It only requires sending the terminal type to the other end, and activating the Binary Transmission Option.
2.3.5.4. Status Option
The Status option is enabled using the negotiation mechanism of Telnet. However, the means to transfer status information between OPE and the Host is provided via the Status command. Therefore, details of status negotiation are irrelevant to the interface to the outboard Telnet.
2.3.6. Examples of the Command
The following example shows the command issued by a Host to the OPE, requesting that the OPE negotiate with the other side so that remote echo is performed.
C CO -pi DO 1 <nl>
The numeral 1 is the option code for ECHO from the table above. All of the simple options listed above use this same basic format.
The options with additional parameters use straightforward extensions of this syntax. For example, a possible usage of Condition by the Host to set the approximate message size is:
C CO -pi DO 4 DS 1024
The 4 is the Option Code for the Approximate Message Size option, the DS indicates that Host's message size should be set, and 1024 is the desired size.