What the Settings Mean
There are many special keys on your terminal; the most important are those that per form the erase, kill, werase, rprnt, lnext, stop, start, intr, susp, and eof functions.
Line Editing Settings
The erase, kill, werase, rprnt, and lnext characters let you do simple editing of the current command line. (Some systems do not support werase or rprnt.) If you use tcsh, you also have access to a built-in general purpose editor, described in Chapter 7, The tcsh Command-Line Editor.
eraseTo backspace over the last character, type the
erasecharacter. Commonerasecharacters areCTRL-H(also known asBACKSPACE) orDEL. Terminals vary in what they provide. There is often aBACKSPACEkey that producesCTRL-H, and/or aDEL(orDELETEorRUBOUT) key that produces aDELcharacter. Some keyboards have only aBACKSPACEorDELkey, but allow you to program the key to produce the character you want.killThe
kill(line kill) character completely zaps the line you're typing so you can start over. Commonkillcharacter settings areCTRL-UorCTRL-X.weraseThe
werase(word erase) character erases the last word of your command line with one keystroke. When you need to erase several characters, using word erase is often faster than hitting theerasekey over and over. Thewerasekey is usuallyCTRL-W. (If you're using tcsh,CTRL-Wmight not do word erase. TryESC DELorESC CTRL-Hinstead.)rprntThe
rprnt(reprint) character redisplays the command line you're typing—useful if output gets ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access