Made script run on X and console
This commit is contained in:
parent
c76d15fb33
commit
498ded8c2b
@ -104,7 +104,8 @@ SET TEMP=C:\TEMP
|
||||
Lh C:\DOS\DOSKEY /INSERT
|
||||
Lh C:\DOS\SHARE
|
||||
</pre>
|
||||
|
||||
Now we are ready to try it, type <code>mbsedos</code> and the dos emulator
|
||||
should start.
|
||||
<p> </P>
|
||||
|
||||
<h3>What if I don't upgrade</h3>
|
||||
|
@ -11,8 +11,12 @@ fi
|
||||
UMASK=`umask`
|
||||
umask 007
|
||||
|
||||
# Run DOS in X
|
||||
dosemu.bin -X -f $MBSE_ROOT/etc/dosemu/dosemu.conf
|
||||
# Run DOS
|
||||
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
|
||||
umask $UMASK
|
||||
|
Reference in New Issue
Block a user