It is likely that you will occasionally need to send control codes such as Ctrl-C, or special characters such as [ to the remote host; for example, Ctrl-D to log off from the host.
The control character is used to do this and it is specified when you start a Telnet connection. The default control character is the cent (¢), but you can change this by using the CTRL operand of the TELNET command.
The control character has the following distinct purposes:
|
To send... |
Enter... |
|---|---|
|
[ |
¢{ |
|
] |
¢} |
|
Del (X'7F') |
¢# |
|
NUL (X'00') |
¢0 |
|
Esc (X'1B') |
¢2 |
|
X'1C'-X'1F' |
¢3-¢6 |
You can send a string of text without the usual Enter character (CRLF or CR) by ending the string with ¢ and the Enter key. For example, you might want to send a single space in response to a --more-- prompt. To do this, press the space bar, type ¢ and press Enter.
Note: Cisco routers support the command: TERMINAL LENGTH 0, which prevents them from using the --more-- prompt.
| Copyright © 2012 CA. All rights reserved. |
|