The stty command sets certain I\
O options on the current
output terminal, placing its output on the diagnostic output.
With argument all, all normally used option settings are
reported. With flag -a stty will print all current settings.
A complete list of all options and their uses can be obtained from the online manual. Stty, amongst other things, is used for setting the control characters for functions such as kill, erase, interrupt, eof etc., for mapping lower case to upper case, for setting up (or disabling) echo, etc.. The terminal has default settings, however stty affords the user a limited form of customization.
Some of the important options are listed out below:
echo | echo back every character typed |
-echo | do not echo characters |
erase c | set erase character to c (default ^? ) |
---|---|
kill c | set kill character to c (default ^U ) |
intr c | set interrupt character to c (default ^C ) |
werase c | set word erase character to c (default ^W ) |
quit c | set quit character to c (default ^\ ) |