TELNET(1N) COMMAND REFERENCE TELNET(1N)
NAME
telnet - user interface to the TELNET protocol
SYNOPSIS
telnet [ host[port]]
DESCRIPTION
Telnet is used to communicate with another host using the
TELNET protocol. If telnet is invoked without arguments, it
enters command mode, indicated by its prompt, telnet>. In
this mode, it accepts and executes the commands listed
below. If it is invoked with arguments, it performs an open
command (see below) with those arguments.
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 escape character (initially CTRL-], control
right-bracket). 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 needs to 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(5n))
or an Internet address specified in the dot notation.
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(1csh).
escape [ escape-char ]
Set the telnet escape character. Control characters
may be specified as ^x where the single letter x is the
control letter; for example, control-P is ^P.
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
Printed 10/17/86 1
TELNET(1N) COMMAND REFERENCE TELNET(1N)
negotiations will be displayed. Options sent by telnet
are displayed as SENT, while options received from the
TELNET server are displayed as RCVD.
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
linefeed. 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.
flow Toggle local flow control mode. Normally XON-XOFF
processing is done locally due to prevent problems with
network delays.
debug
Toggle kernel socket debugging. If turned on the kernel
stores TCP transcaction records that can be viewed with
trpt(8).
ayt Send an TELNET Are You There command to the remote.
The response is up to the remote host; UTek telnet
server just beeps back.
interrupt
Send the TELNET Interrupt Process command to the
remote.
passthru
Send the current escape character to the remote.
? [ 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.
CAVEATS
This implementation is very simple because rlogin(1n) is the
standard mechanism used to communicate locally with hosts.
SEE ALSO
csh(1csh), rlogin(1n), hosts(5n).
Printed 10/17/86 2
%%index%%
na:72,82;
sy:154,136;
de:290,2673;3107,1836;
ca:4943,197;
se:5140,142;
%%index%%000000000104