stty—sets the options for a terminal
stty [ –a ] [ –g ] [ modes ]
stty sets certain terminal I/O options for the device that is the current standard input; without arguments, it reports the settings of certain options.
Example A.54.
1 stty erase <Press backspace key> or ^h
2 stty -echo; read secretword; stty echo
3 stty -a (AT&T) or stty -everything (BSD)
EXPLANATION
Sets the Backspace key to erase. Turns off echoing; waits for user input; turns echoing back on. Lists all possible options to stty.
|