Made script run on X and console

This commit is contained in:
Michiel Broek 2004-08-11 11:11:41 +00:00
parent c76d15fb33
commit 498ded8c2b
2 changed files with 8 additions and 3 deletions

View File

@ -104,7 +104,8 @@ SET TEMP=C:\TEMP
Lh C:\DOS\DOSKEY /INSERT Lh C:\DOS\DOSKEY /INSERT
Lh C:\DOS\SHARE Lh C:\DOS\SHARE
</pre> </pre>
Now we are ready to try it, type <code>mbsedos</code> and the dos emulator
should start.
<p>&nbsp;</P> <p>&nbsp;</P>
<h3>What if I don't upgrade</h3> <h3>What if I don't upgrade</h3>

View File

@ -11,8 +11,12 @@ fi
UMASK=`umask` UMASK=`umask`
umask 007 umask 007
# Run DOS in X # Run DOS
dosemu.bin -X -f $MBSE_ROOT/etc/dosemu/dosemu.conf if [ "$TERM" == "linux" ]; then
dosemu.bin -f $MBSE_ROOT/etc/dosemu/dosemu.conf
else
dosemu.bin -X -f $MBSE_ROOT/etc/dosemu/dosemu.conf
fi
# Restore umask # Restore umask
umask $UMASK umask $UMASK