stty—sets the options for a terminal

stty  [ settings…]
stty { –a, --all, -g, --help, --save, --version} ] [ –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.56.
1  stty erase <Press backspace key> or ^h
2  stty -echo; read secretword; stty echo
3  stty -a (ATT,Linux ) 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.15.43