Skip to main content

Echoing

Echoing. The TIP's echoing capability has been a controversial item in the past. We have recently fixed it up a little and we think that if you try it now, you'll like it a lot better. Unfortunately, "@@" is still not echoed correctly very often; this is a bug and we are going to fix it, but it's hairy to fix.

We will shortly be removing three of the ECHO commands (ECHO ALL, ECHO HALFDUPLEX, and ECHO NONE) and be slightly changing the meaning of the two other ECHO commands (ECHO REMOTE and ECHO LOCAL). We will also add two new ECHO commands (PHYSICAL HALFDUPLEX and PHYSICAL FULLDUPLEX.) Thus the new set of ECHO commands will be:

@PHYSICAL HALFDUPLEX
@PHYSICAL FULLDUPLEX
@ECHO LOCAL
@ECHO REMOTE

The ECHO LOCAL and ECHO REMOTE commands will probably be ignored for physical halfduplex devices. Therefore, for physical full- duplex devices, ECHO LOCAL and ECHO REMOTE will have the effect of declaring the device to be virtual halfduplex or virtual full- duplex. Devices which are known to be physical halfduplex (e.g., IBM 2741's) will come up in physical halfduplex mode. All other devices will come up in physical fullduplex mode and local echo mode (i.e., virtual halfduplex mode). Whenever a connection is opened, the TIP will automatically send off the current virtual echo mode to the server. Whenever a ECHO LOCAL or ECHO REMOTE command is given, the virtual mode will be appropriately updated and forwarded to the server. When the Telnet ECHO (code 132) (=virtual fullduplex) or Telnet NO ECHO (code 131) (=virtual half- duplex) characters are received by the TIP, it will follow the following rules:

ECHO received and
TIP is physical halfduplex -- NO ECHO sent to server
TIP is virtual halfduplex -- ECHO sent to server and
mode changed to virtual
fullduplex
TIP is virtual fullduplex -- nothing

NO ECHO received and
TIP is physical halfduplex -- nothing
TIP is virtual halfduplex -- nothing

TIP is virtual fullduplex -- NO ECHO sent to server and
mode changed to virtual
halfduplex

When a connection is broken, devices in physical fullduplex mode will be reset to virtual halfduplex mode.