List of control key assignments for your terminal (stty command)
To display your terminal settings, use the stty command. Note especially which keys your terminal uses for control keys.
For example, at the prompt, type the following:
stty -a
The system displays information similar to the following:
.
.
.
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D;
eol = ^@ start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y;
reprint = ^R discard = ^O; werase = ^W; lnext = ^V
.
.
.
In this example, lines such as intr = ^C; quit = ^\; erase = ^H;
display your control key settings. The ^H
key is the Backspace key, and it is set to perform the erase function.
If the listing is very long, the top portion may scroll off the screen. To display the listing one page (screen) at a time, use the stty command piped to the pg command. At the prompt, type the following:
stty -a | pg