Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/bin/sh
OLDSTTY=`stty -g`
stty -icanon min 0 time 150
echo "Enter something: \c"
read TEST
stty "${OLDSTTY}"
echo
echo "TEST=${TEST}"
#!/bin/ksh
OLDSTTY=`stty -g`
stty -icanon min 0 time 150 # read at least zero chars
# wait up to 15s for user to type something
echo "Enter something: \c"
line | read TEST junk # reads the users input line (possible null string)
# divides the line: first word goes into TEST variable
# the rest of the line is ignored (junk variable)
stty "${OLDSTTY}"
echo
echo "TEST=${TEST}"
#!/bin/sh
OLDSTTY=`stty -g`
trap "stty ${OLDSTTY};exit" 0 1 2 3 15
stty -icanon min 0 time 150
echo "Enter something: \c"
read TEST
stty "${OLDSTTY}"
echo
echo "TEST=${TEST}"