Newer
Older
textpong / pong.sh
#!/bin/sh

make textpong
if [ $? == 0 ]; then
    if [[ $OSTYPE == darwin* ]] ; then
        STTY='-icanon -pendin -echo' ./textpong
    else
        stty -icanon -echo
        ./textpong
        stty icanon echo
    fi
fi