Skip to main content

Appendix: Off-loaded Telnet (Part 4)

2.4. The Signal Command​

The Signal command is used with Telnet to provide the Telnet Interrupt Process and Abort Output services.

2.4.1. Specialized Usage​

The Signal command is used with an outboard Telnet interpreter to interface to the Telnet synch mechanism. This mechanism is used with a protocol-idiosyncratic parameter, which indicates what particular command is being "synched." It is expected that normally, this Signal mechanism will only be used with the Interrupt Process and Abort Output Telnet signals. When the Signal command is issued by the Host, it goes through the Channel (out-of-band) to the OPE, where the Telnet interpreter issues the corresponding Telnet signal and synch sequence. When such a sequence is received by the OPE, it immediately issues a Signal to the Host. It is expected that a Host or OPE would not, in general, reject the Signal command unless it is badly formed.

2.4.2. Protocol-Idiosyncratic Parameters​

The Telnet protocol-idiosyncratic parameter used with the Signal command identifies which Telnet signal is begin issued. Normally, it would have the value of either "IP" or "AO", for Interrupt Process or Abort Output. If absent, the default value is "IP".

2.4.3. Examples of the Command​

An example of a Telnet Signal Command (in this case, to send an Interrupt Process signal) is:

C SI IP <nl>

2.5. The Status Command​

The Status command is used with Telnet to obtain information about the Telnet connection and the options in effect.

2.5.1. Specialized Usage​

The Status command has one specialized aspect when used to interface to an outboard Telnet interpreter. That is to send and receive the Telnet Protocol status request subnegotiation message to and from the data stream. In order to invoke the status command for this purpose, however, the user must have previously issued the Condition Status command, which causes the ability to request status to be negotiated. The OPE, when it receives a valid Status request command, immediately responds to the user indicating the status. The OPE can issue a status to request the Host's negotiated positions.

2.5.2. Protocol-Idiosyncratic Parameters​

There are no protocol-idiosyncratic parameters to the Status query command. The Status Response command has a single protocol-idiosyncratic parameter. It is an ASCII string containing the status of the various options (not at their default values).

2.5.3. Examples of the Command​

An example of a Status Query command is:

C ST Q

An example of a Status Response command is:

F ST R "WILL ECHO  DO SUPPRESS-GO-AHEAD
L WILL STATUS DO STATUS" <nl>

In the previous example, note the opening quote is in the first chunk, and the closing quote is in the last chunk. This technique permits parameters to span chunk boundaries.

2.6. The End Command​

The End command is used to terminate the Telnet connection, either gracefully or abruptly.

2.6.1. Specialized Usage​

The graceful termination of a Telnet requires End commands to be issued by both the Host and the OPE. This specialized usage is identical to that of the outboard TCP interface, however.

2.6.2. Examples of the Command​

An example of the graceful End command is:

C EN G <nl>

The abrupt End command is similar.

2.7. The No-op Command​

The No-op command is used with Telnet so the Host can determine if the OPE is active, and vice versa.

2.7.1. Specialized Usage​

The No-op command has one specialized usage when offloading Telnet. This is to provide the Telnet Are You There (AYT) feature. When an (AYT) message is received by the OPE, it issues a No-op command to the Host. Upon receiving the response from the Host, the appropriate response is sent back in the data stream.

2.7.2. Protocol Idiosyncratic Parameters​

There are no protocol-idiosyncratic parameters to the No-op command.

2.7.3. Examples of the Command​

An example of the No-op command is:

C NO <nl>