/localecho

Usage:

/LOCALECHO [ON|OFF]


/Localecho manipulates the state of the TELNET ECHO option. With no arguments, /localecho does nothing, and returns 0 if TF is not echoing its input, or nonzero if tf is echoing input. TF echoes its input by default, unless the server has negotiated otherwise.

ON and OFF are ignored and /localecho returns 0 if the server is not known to support TELNET protocol. ON tells the server DONT ECHO; if the server acknowledges (as it must according to TELNET protocol), tf will echo its own input. OFF tells the server to DO ECHO; if the server acknowledges, tf will not echo its own input, expecting the server to do it. Note that tf does not transmit input until a newline is pressed, and the server can not echo it until it is received.

Some mud servers use the ECHO option to disable local echo during password entry. Telnet servers, however, try to disable local echo for the entire session, which would interfere with many useful tf features. Hooks defined in the standard library use /localecho to override the telnet server automatically.

/Localecho is intended to be called by library macros, and should not need to be called by the user. /Localecho obsoletes %{always_echo}.

The TELNET ECHO option is defined in RFC 857.

See: prompts, %telopt, /telnet


Back to index
Back to tf home page
Copyright © 1995 - 1999 Ken Keys