Synch Sequences
The reason for defining a synch sequence for a protocol is to provide a mechanism by which signals, represented as characters, that for one reason or another are "stuck" in the pipeline between the sender and the protocol interpreter, can promptly be brought to the attention of the interpreter. Flow through the pipeline is, of course, controlled by the receiver; the process operating the interpreter may be doing something else at the moment, and may not be paying attention to the incoming data stream. The sender would like to get the attention of the receiving process, to have it read its incoming data stream and take action as directed by the "interesting" characters in that stream, which will, in general, be protocol commands. To accomplish this, a "SYNCH sequence" is transmitted. A synch sequence consists of:
-
An "out of band" signal which serves to get the attention of the protocol interpreter; and
-
An "in band" marker which serves to mark how much of the data stream is to be processed by the protocol interpreter in response to the "out of band" signal.
For the TELNET protocol the "out of band" signal is the INS of Host-Host Protocol and the "in band" marker is the TELNET Data Mark character (DM). Ignoring for the moment the use of TELNET as a basis for higher level protocols (such as FTP), the class of characters "interesting" to a TELNET interpreter is the set of TELNET commands (including the commands for option negotiation and sub-negotiation [2]).
One might reasonably argue that this class could be enlarged by a server Host to include the set of signals of interest to the terminal support software of that particular Host. For example, in case of TENEX such a set would include the "terminal interrupt" characters enabled by the process reading from the TELNET connection (e.g., ^C, ^T, etc.). Other hosts, such as Multics, might look only for the TELNET commands, such as Interrupt Process (IP), Abort Output (AO), etc. Whether or not one chooses to consider additional signals as interesting during the processing of a TELNET SYNCH sequence should cause the implementer no problem:
He must treat all TELNET commands as interesting by interpreting them. He may choose either to ignore such additional signals or to pass them on to the process; in either case there is no vagueness since the implementer knows which characters his terminal support software considers interesting.