Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 31. Serial Devices and Terminals > Special characters and the terminal ...

31.9. Special characters and the terminal driver

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.

Table 31.6. Special characters for the terminal driver
NameDefaultFunction
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



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial