Entering control and special characters on line-mode terminals
Line-mode terminals do not have a control (Ctrl) key. Without a control key, you cannot enter control characters directly.
Also, pressing the Enter key adds a newline character to your input string. Some applications do not tolerate such trailing newline characters.
Table 1 summarizes
how you can use the caret character (^) to enter some control characters
and to enter strings without appended newline characters.
For the key combination | Enter | Usage |
---|---|---|
Ctrl+C |
^c |
Cancel the process that is running in the foreground of the terminal. |
Ctrl+D |
^d |
Generate an end of file (EOF) indication. |
Ctrl+Z |
^z |
Stop a process. |
n/a | ^n |
Suppresses the automatic generation of a new line. Thus, you can enter single characters; for example, the characters that are needed for yes/no answers in some utilities. |
Note: For a 3215 line-mode terminal in 3215 mode, you must
use United States code page (037).