TELNET(1C) — Silicon Graphics
NAME
telnet - user interface to the TELNET protocol
SYNOPSIS
telnet [host_[port]]
DESCRIPTION
Telnet communicates with another host using the TELNET protocol. If telnet is invoked without arguments, it enters command mode (the prompt is "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 is opened, telnet enters input mode. In this mode, typed text is sent to the remote host. To issue telnet commands here precede them with the telnet "escape character" ("^["). When in command mode, the normal terminal editing conventions can be used.
The following commands are available. Only enough characters to uniquely identify the command need be typed.
open host_[port]
Open a connection to the named host. If no port number is specified, telnet attempts to contact a TELNET server at the default port (port 23). The host specification may be either a host name (see hosts(4)) or an Internet address ("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 csh(1).
escape [escape-char]
Set the telnet "escape character". Single character control characters may be used, e.g., "control-X" is "^X".
status
Show the current status of telnet. This includes the peer and debugging state.
options
Toggle viewing of TELNET options processing. When on, all TELNET option negotiations are 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 on, any carriage return characters received from the remote host are mapped into a carriage return and line feed. This mode does not affect those characters typed by the user, only those received. This mode is required for some hosts that ask the user for local echoing.
? [command]
Get help. With no arguments, telnet prints a help summary. If a command is specified, telnet prints the available information on it.
Telnet is only available if one is running the IP/TCP kernel.
Version 2.3 — July 04, 1985