# # DOS-73 system environment modification. # # If given an argument, it is assumed to be the name of the command # file to be used with the DOS-73 -c flag. The appropiate command is # constructed and executed. # save=$TERM if [ $TERM = "513" ] || [ $TERM = "610" ] then TERM=dos513 elif [ $TERM = "510a" ] || [ $TERM = "510" ] then TERM=dos510a fi command=/usr/bin/DOS-73 if [ $1 ] then command=${command}" -c "$1 fi export TERM $command 2> /dev/null TERM=$save export TERM