stty-sets the options for a terminal

 <  Day Day Up  >  

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

  1. Sets the Backspace key to erase.

  2. Turns off echoing; waits for user input; turns echoing back on.

  3. Lists all possible options to stty .

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net