All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)telnet.1 6.1 (Berkeley) 04/29/85
Once a connection has been opened, telnet enters input mode. In this mode, text typed is sent to the remote host. To issue telnet commands when in input mode, precede them with the telnet \*(lqescape character\*(rq (initially \*(lq^]\*(rq). When in command mode, the normal terminal editing conventions are available.
The following commands are available. Only enough of each command to uniquely identify it need be typed.
open host [ port ] Open a connection to the named host. If the no port number is specified, telnet will attempt to contact a TELNET server at the default port. The host specification may be either a host name (see hosts (5)) or an Internet address specified in the \*(lqdot notation\*(rq.
close Close a TELNET session and return to command mode.
quit Close any open TELNET session and exit telnet .
z Suspend telnet . This command only works when the user is using the csh (1).
escape [ escape-char ] Set the telnet \*(lqescape character\*(rq. Control characters may be specified as \*(lq^\*(rq followed by a single letter; e.g. \*(lqcontrol-X\*(rq is \*(lq^X\*(rq.
status Show the current status of telnet . This includes the peer one is connected to, as well as the state of debugging.
options Toggle viewing of TELNET options processing. When options viewing is enabled, all TELNET option negotiations will be displayed. Options sent by telnet are displayed as \*(lqSENT\*(rq, while options received from the TELNET server are displayed as \*(lqRCVD\*(rq.
crmod Toggle carriage return mode. When this mode is enabled any carriage return characters received from the remote host will be mapped into a carriage return and a line feed. This mode does not affect those characters typed by the user, only those received. This mode is not very useful, but is required for some hosts that like to ask the user to do local echoing.
? [ command ] Get help. With no arguments, telnet prints a help summary. If a command is specified, telnet will print the help information available about the command only.