Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The terminal driver supports several special functions that you access by typing particular keys (usually control keys) on the keyboard. The exact binding of functions to keys can be set with the tset and stty commands. Table 31.6 lists some of these functions, along with their default key bindings.
| Name | Default | Function |
|---|---|---|
| erase | <Control-?> | Erases one character of input |
| werase | <Control-W> | Erases one word of input |
| kill | <Control-U> | Erases the entire line of input |
| eof | <Control-D> | Sends an “end of file” indication |
| intr | <Control-C> | Interrupts the currently running process |
| quit | <Control-\> | Kills the current process with a core dump |
| stop | <Control-S> | Stops output to the screen |
| start | <Control-Q> | Restarts output to the screen |
| susp | <Control-Z> | Suspends the current process |
| lnext | <Control-V> | Interprets the next character literally |