Definitions
Several new terms need to be defined, some of which are direct extensions of the terms used in the "standard echo strategy" description. There is no reason to insist that the four buffers presented all be implemented as individual constructs; they are logically separated for clarity in the discussions which follow.
Remote Controlled Echoing (RCE)
This is the name for the echo strategy described in this document. Echoing will be controlled by the (remote) server but performed by the User TELNET.
Input Buffer
This is a logical buffer used by a User TELNET to hold characters in sequence as they are received from the terminal keyboard (after they have been converted to NVT characters).
Transmission Buffer
This is a logical buffer used by a User TELNET to hold NVT characters which have been typed but have not yet been transmitted to the server.
Output Buffer
This is a logical buffer used by a User TELNET to hold the NVT characters received from the server.
Print Buffer
This is a logical buffer residing in the User TELNET from which characters will be sent in sequence to the terminal printer. (The output buffer contains NVT characters which may have to be converted to characters employed by the actual terminal.)
Break Classes
The 128 possible (7-bit) ASCII characters employed by the Network Virtual Terminal can be partitioned into several quasi-equivalence classes (for example alphabetic, numeric, punctuation characters, etc.). These classes can be defined so that each character is a member of at least one class, although it may belong to more than one.
A server process may indicate to a User TELNET that certain of these classes (or all, or none) are to be considered break classes. That is, a break class is an equivalence class which is of special significance to the server process. In terms of the discussion of section II, the Server recognized 4 equivalence classes any combination of which might be designated as break class by a particular process.
The RCE implementation will have more than 4 equivalence classes (perhaps as many as 8) to provide more flexibility in the choice of break character sets.
Break Action
Two break actions are possible:
- a break character encountered in the input buffer IS moved to the print buffer at the appropriate time, or
- a break character encountered in the input buffer IS NOT moved to the print buffer.
The server process will specify which break action should be followed. (The two actions correspond to echoing or not echoing the break character.)