HP-UX Reference (11i v2 07/12) - 1 User Commands N-Z (vol 2)
t
telnet(1) telnet(1)
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 TELNET 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.
SEE ALSO
csh(1), ksh(1), login(1), rlogin(1), stty(1), telnetd(1M), inetsvcs_sec(1M), hosts(4), krb5.conf(4), services(4),
sis(5), termio(7).
344 Hewlett-Packard Company − 5 − HP-UX 11i Version 2: December 2007 Update