HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
t
telnet(1) telnet(1)
close Close a TELNET session. If the session was started from command mode, telnet
returns to command mode; otherwise telnet exits.
quit Close any open TELNET session and exit telnet. An end of file (in command mode) will
also close a session and exit.
z Suspend telnet.Iftelnet is run from a shell that supports job control, (such as csh(1)
or ksh(1)), the z command suspends the TELNET session and returns the user to the shell
that invoked telnet. The job can then be resumed with the fg command (see csh(1) or
ksh(1)).
mode mode Change telnet’s user input mode to mode, which can be character (for ‘‘character at
a time’’ mode) or line (for ‘‘line by line’’ mode). The remote host is asked for permission
to go into the requested mode. If the remote host is capable of entering that mode, the
requested mode is entered. In character mode, telnet sends each character to the
remote host as it is typed. In line mode, telnet gathers user input into lines and
transmits each line to the remote host when the user types carriage return, linefeed, or
EOF (normally ˆD; see stty(1)). Note that setting line-mode also sets local echo. Applica-
tions that expect to interpret user input character by character (such as more, csh, ksh,
and vi) do not work correctly in line mode.
status Show current status of telnet. telnet reports the current escape character. If
telnet is connected, it reports the host to which it is connected and the current mode.If
telnet is not connected to a remote host, it reports No connection. Once telnet
has been connected, it reports the local flow control toggle value.
display [argument ...]
Displays all or some of the set and toggle values (see below).
? [command] Get help. With no arguments, telnet prints a help summary. If a command is specified,
telnet prints the help information available about that command only. Help information
is limited to a one-line description of the command.
! [shell_command]
Shell escape. The
SHELL environment variable is checked for the name of a shell to use to
execute the command. If no shell_command is specified, a shell is started and connected to
the user’s terminal. If
SHELL is undefined, /usr/bin/sh is used.
send arguments
Sends one or more special character sequences to the remote host. Each argument can
have any of the following values (multiple arguments can be specified with each
send
command):
escape Sends the current telnet escape character (initiallyˆ]).
synch Sends the TELNET SYNCH sequence. This sequence causes the remote
system to discard all previously typed (but not yet read) input. This
sequence is sent as TCP urgent data (and may not work to some systems --
if it doesnt work, a lower case ‘‘r’’ may be echoed on the terminal).
brk Sends the TELNET BRK (Break) sequence, which may have significance to
the remote system.
ip Sends the TELNET IP (Interrupt Process) sequence, which should cause
the remote system to abort the currently running process.
ao Sends the TELNET AO (Abort Output) sequence, which should cause the
remote system to flush all output from the remote system to the user’s ter-
minal.
ayt Sends the TELNET AYT (Are You There) sequence, to which the remote
system may or may not choose to respond.
ec Sends the TELNET EC (Erase Character) sequence, which should cause
the remote system to erase the last character entered.
el Sends the TELNET EL (Erase Line) sequence, which should cause the
remote system to erase the line currently being entered.
ga Sends the TELNET GA (Go Ahead) sequence, which likely has no
significance to the remote system.
Section 1920 2 HP-UX Release 11i: December 2000
___
___