1.Typing invisiable password
?View Code TEXT1
2
3
4
5
echo "Enter your password: \c"
oldstty=`stty -g`
stty -echo intr ^-
read password
stty $oldstty
2.Backspace setting
?View Code TEXT1
stty erase ^h
3.Colunm setting
?View Code TEXT1
stty column 100
4.List current stty setting
?View Code TEXT1
2
3
stty -a (all setting)
stty (undefault setting)
stty -g (RAW mode)
You can get the help files regarding stty usage in the folllowing ways:
?View Code [...]

Recent Comments