From 498ded8c2bd79ab2660ce02e3857837f90b27996 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 11 Aug 2004 11:11:41 +0000 Subject: [PATCH] Made script run on X and console --- html/doors.html | 3 ++- script/mbsedos | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/html/doors.html b/html/doors.html index feed639d..2701f363 100644 --- a/html/doors.html +++ b/html/doors.html @@ -104,7 +104,8 @@ SET TEMP=C:\TEMP Lh C:\DOS\DOSKEY /INSERT Lh C:\DOS\SHARE - +Now we are ready to try it, type mbsedos and the dos emulator +should start.

 

What if I don't upgrade

diff --git a/script/mbsedos b/script/mbsedos index b28d0c78..10b0bbab 100644 --- a/script/mbsedos +++ b/script/mbsedos @@ -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