HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
t
telnet(1) telnet(1)
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 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 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 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.
escape
This is the telnet escape character (initially ˆ]) that causes entry into tel-
net
command mode (when connected to a remote system).
interrupt
If telnet is in localchars mode (see toggle localchars below) and
the interrupt character is typed, a TELNET IP sequence (see send ip above)
is sent to the remote host. The initial value for the interrupt character is taken
to be the terminal’s intr character.
Section 1−−966 Hewlett-Packard Company − 3 − HP-UX 11i Version 1: September 2005