Using HP-UX Internet Services (February 2007)

Changing the Behavior of Carriage Returns
You may sometimes notice a change in the way your local host interprets a carriage
return received from a remote host. This indicates that the telnets carriage return
mode setting is wrong for the type of remote host to which you are connected. In such
cases, your local host must change the carriage return setting appropriately.
The following lists the behavioral change in the carriage return, and the corrective
action:
If pressing Return produces double-spaced lines (indicating an extra line feed),
you need to disable carriage return mode.
If pressing Return moves the cursor to the beginning of the same line so that the
same line keeps getting overwritten (indicating no line feed), you need to enable
carriage return mode.
Disabling or Enabling the Carriage Return
If you are not at the telnet> prompt, enter the telnet escape character (usually
CTRL-]) to display the prompt.
At the telnet> prompt, type the following command:
toggle crmod
If the carriage return mode was on, telnet turns it off and displays the following:
Won't map carriage return on output.
If the carriage return mode was off, telnet turns it on and displays the following:
Will map carriage return on output.
If you are connected to a remote host, telnet returns you to the remote host. To
redisplay the remote host’s prompt, press the Return key.
Obtaining Help
You can obtain information about the telnet commands by typing ? at the telnet>
prompt. You can either list the commands or obtain information about a specific
command.
Listing the telnet Commands
To list the telnet commands, perform the following steps:
1. If you are not at the telnet> prompt, enter the telnet escape character (usually
CTRL-]) to display the prompt.
2. At the telnet> prompt, enter the following character:
?
Changing the Behavior of Carriage Returns 15