TELNET(1N) COMMAND REFERENCE TELNET(1N) NAME telnet - user interface to the TELNET protocol SYNOPSIS telnet [ -b ] [ host[port]] DESCRIPTION Communicate with another host using the TELNET protocol telnet . 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. If telnet is invoked with arguments, it performs an open command with those arguments. The -b option causes telnet to negotiate binary transfers for both input and output; this occurs only after connecting to the remote host. 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 Ctrl ] (control right bracket). When in command mode, the normal terminal editing conventions are available. The following commands are available; you need only type enough of each command to uniquely identify it. open host [ port ] Open a connection to the named host. If the no-port number is specified, telnet attempts 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 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, Ctrl 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. Printed 5/12/88 1
TELNET(1N) COMMAND REFERENCE TELNET(1N) options Toggle viewing of TELNET options processing. When options viewing is enabled, 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 this mode is enabled any carriage return characters received from the remote host are 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 to prevent problems with network delays. binary Toggle binary mode for transmission and reception. In binary mode, no input or output processing is done on the character stream. rcvbinary Toggle binary mode for reception. In binary mode, no processing is done on the input character stream. sendbinary Toggle binary mode for transmission. In binary mode, no processing is done on the output stream. debug Toggle kernel socket debugging. If turned on the kernel stores TCP transaction records that can be viewed with trpt(8). ayt Send a TELNET Are You There command to the remote host. The response is up to the remote host; the UTek telnet server beeps. interrupt Send the TELNET Interrupt Process command to the remote host. passthru Send the current escape character to the remote host. ? [ command ] Help. With no arguments, telnet prints a help summary. If a command is specified, telnet prints the help information available about the command only. Printed 5/12/88 2
TELNET(1N) COMMAND REFERENCE TELNET(1N) 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), and hosts(5N). Printed 5/12/88 3
%%index%% na:312,98; sy:410,219; de:629,3174;4187,3100; ca:7671,225; se:7896,212; %%index%%000000000105