Using HP-UX Internet Services (February 2007)

1 Logging into a Host Using telnet
telnet is used to log into a remote HP-UX, UNIX, or non-UNIX host that supports
the ARPA services. It allows you to enter and execute commands on the remote host
similar to executing commands on the remote host’s console.
This chapter contains information about how to log into a host using the telnet
program. It discusses the following topics:
“Checking Your Local Terminal Configuration” (page 11)
“Using telnet” (page 12)
“Quicker Method to Invoke telnet” (page 13)
“Checking Your Remote Terminal Configuration” (page 14)
“Changing the Behavior of Carriage Returns” (page 15)
“Obtaining Help” (page 15)
For more information, type man 1 telnet at the HP-UX prompt.
Checking Your Local Terminal Configuration
Before you log into a remote host using the telnet or rlogin program, ensure that
your local terminal configuration settings are correct for the type of remote
communication you intend to perform.
The following factors determine if you need to change your local terminal configuration
settings:
Type of remote host you intend to log into.
Type of applications you intend to run on the remote host.
Follow these guidelines if you have an HP terminal attached to an HP system as your
local host:
When you log into a remote DEC VAX VMS host, you must set the HP terminal
to ANSI compatibility mode. Set the ANSI terminal configuration to map DEL
(ASCII 127) to the backspace key and to use the XON/XOFF protocol handshake.
When you communicate with a remote HP host, you must set the HP terminal to
HP compatibility mode. Set the HP terminal configuration to map BS (ASCII 8) to
the backspace key and to use the ENQ/ACK protocol handshake.
These terminal configuration settings ensure that both screen-oriented and line-oriented
applications work properly when run on a remote host through telnet or rlogin.
Do not change any other terminal configuration settings.
Checking Your Local Terminal Configuration 11