HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)

t
telnet(1) telnet(1)
EOF (normally ˆD; see stty (1)).
Note: Setting line-mode also sets local echo. Applications that expect to interpret user
input character by character (such as
more
, csh, ksh, and vi) do not work properly 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 tel-
net 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 con-
nected 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 sys-
tem 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 doesn’t
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 termi-
nal.
ayt Sends the TELNET AYT (Are You There) sequence, to which the remote sys-
tem 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 is likely to have no
significance to the remote system.
nop Sends the TELNET NOP (No OPeration) sequence.
? Prints out help information for the send command.
set variable_name value
Set any of the telnet variables to a specific value. The special value off turns off the
function associated with the variable. The values of variables can be shown by using the
display command. The following variable_names can be specified:
echo This is the value (initially ˆE) which, toggles between doing local echoing of
entered characters (for normal processing), and suppressing echoing of
entered characters (for entering, for example, a password) in line-by-line
mode.
HP-UX 11i Version 2: August 2003 3 Hewlett-Packard Company Section 1877