Because dtterm only emulates a terminal, your control characters might not be what you are used to on a physical terminal. The ttyModes resource enables you to set control characters for your terminal emulator.
By default, Login Manager sets the control characters listed in Table 12-1.
Table 12-1 Terminal Control Characters
Control Name |
Character |
Definition |
---|---|---|
erase |
Control+H |
Backspace erases characters |
intr |
Control+C |
Interrupt: Cancel the current operation and redisplay the command-line prompt. |
kill |
Control+U |
Stop an operation or application. |
start |
Control+Q |
Accept keyboard input: Used to continue an application that has been paused. |
stop |
Control+S |
Do not accept keyboard input: Used to pause an application. |
swtch |
Control+@ |
Switch between layers in a shell. |
For example, to interrupt an operation in progress, you press Control+C.
The syntax for the ttyModes resource is:
ttyModes: Control+C name
where name is the control, and C is the character. (^ is another way of expressing Control.) For example, the default value of ttyModes describing the preceding list is:
ttyModes: erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@