#!/bin/sh
#
# This is a test program to verify that we can turn echoing
# on and off in a shell script.


stty echo
echo -n 'Echoing should be on; type something: '
read in1
echo "You typed \"$in1\""

stty -echo
echo -n 'Echoing should be off now; type something: '
read in2
echo ""
echo "You typed \"$in2\""

stty echo
echo -n 'Echoing should be on again; type something: '
read in3
echo "You typed \"$in3\""

