[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
System User's Guide: Operating System and Devices

Listing Control Key Assignments for Your Terminal (stty Command)

The stty command displays your terminal settings. Most of these settings you can ignore, but the important information is what keys your terminal uses for control keys.

For example, at the prompt, enter:

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; are your control key settings. The ^H key is the Backspace key, and erase is the function it is set to perform. For detailed information about control keys, see "Control Keys" in AIX Version 4.3 Quick Beginnings.

If the listing is very long, the top portion scrolls off the screen. To prevent this from happening, use the stty command piped to the pg command. At the prompt, enter:

stty -a | pg

See the stty command in the AIX Version 4.3 Commands Reference for the exact syntax.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]