Example, Status, Toggle – HP Integrity NonStop H-Series User Manual
Page 136: Status toggle
![background image](/manuals/397061/136/background.png)
Example
Assume you are working with a remote system in character input mode, and you want to erase
the characters you have entered on a line. In this example, the remote system prompt is a dollar
sign ($):
$ cp outk Enter escape character.
telnet> send el Send erase line sequence.
$ Remote system erases line.
status
Use the status command to display the name of the remote system to which you are connected,
the current input mode, and the current escape character.
status
Example
To display the status, enter the following command:
telnet> status
Connected to dist100.
Operating in character-at-a-time mode.
Escape character is '^]'.
toggle
Use the toggle command to turn on or off toggles that control how TELNET responds to events.
toggle { argument [ argument ] ... }
{ ? }
argument
specifies the name of the toggle control you want to change. You can abbreviate the name to
the letters required to uniquely identify the toggle.
describes each toggle and its initial
setting when you start TELNET.
?
requests information about the toggle command.
Table 14 Toggle Controls
Function
Initial Setting
Argument
Determines whether output is flushed
when you send interrupt (intr)
on
autoflush
characters. If both autoflush and
localchars are on when you enter the
ao, intr, or quit character, TELNET does
not display any data until the remote
system acknowledges (with a TELNET
Timing Mark option) that it has
processed the TELNET sequence you
sent.
Determines whether the TELNET SYNCH
sequence is sent. If both autosynch and
off
autosynch
localchars are on when you enter an
intr character, TELNET sends the
SYNCH sequence and previously typed
data is flushed.
Controls carriage return mode (crmod).
When crmod is on, carriage return
off
crmod
136
TELNET—Using a Network Virtual Terminal