Hi Guys,
can you tell me what's wrong with my code
everytime I typed backspace it generates "^?", how do I change to normal backspace ??
Thanks guys
can you tell me what's wrong with my code
Code:
while :
do
print
print " 1) Add users"
print " 2) Change password"
print " 3) Logout "
print
OLDSTTY=`stty -g`
stty -icanon min ${MIN} time ${TIME}
read SEL?" Option: "; RC=$?
stty "${OLDSTTY}"
(( RC )) && print "Timed out, exiting" && exit
case "$SEL" in
1) . set_accounts
;;
2) . newpass
;;
3) return
;;
*) print
print "Invalid Option ${SEL}, please try again!"
;;
esac
print
done
everytime I typed backspace it generates "^?", how do I change to normal backspace ??
Thanks guys