
# Some machines do not have System V, so use script instead of shell functions
# alias command to query user
# $?=1 for default response, $?=0 for other
# $1=question, $2=default, $3=other
        response=empty
        echo $NC "$1 [$2]: $BC"
        read response
        until [ "$response" = "" -o "$response" = "$2" -o "$response" = "$3" ];
        do
                echo "Please type '$2' or '$3'."
                echo $NC "$1 [$2]: $BC"
                read response
        done
        [ "$response" = "$2" -o "$response" = "" ]

