Send Control Codes or Special Characters to the Remote Host

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:

Using the ---more--- Prompt

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 © 2010 CA. All rights reserved.