[ Previous | Next | Table of Contents | Index | 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, type:

stty -a

Press Enter.

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. .

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, type:

stty -a | pg

Press Enter.

See the stty command in the AIX 5L Version 5.1 Commands Reference for the exact syntax.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]