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

t
telnet(1) telnet(1)
discarding all previously typed input until both of the TELNET sequences
have been read and acted upon. The initial value of this toggle is FALSE.
binary Enable or disable the TELNET BINARY option on both input and output.
This option should be enabled in order to send and receive 8-bit characters to
and from the TELNET server.
crlf If TRUE, end-of-line sequences are sent as an ASCII carriage-return and line-
feed pair. If FALSE, end-of-line sequences are sent as an ASCII carriage-
return and NUL character pair. The initial value for this toggle is FALSE.
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 line feed. This mode does not affect those characters typed by the user;
only those received. This mode is only required for some hosts that require
the client to do local echoing, but output ‘‘naked’’ carriage returns. The initial
value for this toggle is FALSE.
echo Toggle local echo mode or remote echo mode. In local echo mode, user input is
echoed to the terminal by the local
telnet before being transmitted to the
remote host. In remote echo, any echoing of user input is done by the remote
host. Applications that handle echoing of user input themselves, such as C
shell, Korn shell, and
vi (see csh(1), ksh(1), and vi(1)), do not work correctly
with local echo.
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 TEL-
NET server are displayed as ‘‘RCVD’’. The initial value for this toggle is
FALSE.
netdata Toggles the display of all network data (in hexadecimal format). The initial
value for this toggle is FALSE.
? Displays the legal toggle commands.
RETURN VALUE
In the event of an error, or if the TELNET connection is closed by the remote host,
telnet returns a
value of
1. Otherwise, it returns 0.
DIAGNOSTICS
The following diagnostic messages are displayed by
telnet:
Error! Could not retrieve authentication type.
There are two authentication mechanisms used by TELNET. One authentication mechanism
is based on Kerberos and the other is not. The type of authentication mechanism is obtained
from a system file, which is updated by inetsvcs_sec. If the system file on either the local
host or the remote host does not contain known authentication types, the above error is
displayed.
telnet/tcp: Unknown service
telnet was unable to find the TELNET service entry in the services (4) database.
hostname
: Unknown host
telnet was unable to map the host name to an Internet address. Your next step should be to
contact the system administrator to check whether there is an entry for the remote host in the
hosts database (see hosts (4)).
?Invalid command
An invalid command was typed in telnet command mode.
system call
>: ...
An error occurred in the specified system call. See the appropriate manual entry for a descrip-
tion of the error.
AUTHOR
telnet was developed by the University of California, Berkeley.
HP-UX 11i Version 2: August 2003 5 Hewlett-Packard Company Section 1879