BEEP="\007\007\007"
INSBIN=/usr/bin
INSLIB=/usr/lib
INSINC=/usr/include

export BEEP INSLIB INSINC INSBIN

echo "*** Removing Curses/Terminfo User Utilities : "

echo "Removing tput in " $INSBIN  
rm -f $INSBIN/tput 
echo "Removing captoinfo in " $INSBIN 
rm -f $INSBIN/captoinfo
echo "Removing tic in " $INSBIN
rm -f $INSBIN/tic

echo "*** Removing Compress/Uncompress Utility : "

echo "Removing compress in " $INSBIN 
rm -f $INSBIN/compress
echo "Removing uncompress in " $INSBIN
rm -f $INSBIN/uncompress

echo "*** Removing Terminfo Database (CORE Terminals) : "
echo "*** this will take several seconds !!! "

rm -rf /usr/lib/terminfo

echo "*** Removing Terminfo Administration Utility ***"

rm -rf /usr/lib/ua/terminfo
uaupd -r "Update Terminfo Database" Administration

echo $BEEP
echo "*** Uninstall Complete ***"
echo $BEEP

echo "Hit Return or Enter to continue"
read junk

