Subj : Updated mbsedos
To   : All
From : Sean Dennis
Date : Wed Apr 20 2022 11:02 pm

Hello All,

I noticed that my MBSE system was complaining about X not being installed when
I was going into DOS using "mbsedos".  The problem is that the mbsedos script
was out of date.

I fixed it...here is my entire "mbsedos" script with my changes:

=== Cut ===
#!/bin/sh

if [ "`whoami`" != "mbse" ]; then
   echo "Only user 'mbse' is allowed"
   exit 1
fi

# Save initial umask and set group read/write for dos
UMASK=`umask`
umask 007

# Run DOS
case $TERM in
   linux|xterm|xterm-256color)
   dosemu.bin -f $MBSE_ROOT/etc/dosemu/dosemu.conf
 ;;
 *)
    dosemu.bin -X -f $MBSE_ROOT/etc/dosemu/dosemu.conf
 ;;
esac

# Restore umask
umask $UMASK
=== Cut ===

You'll notice I converted the if statement to a case statement as the case
statement does a better job of comparing strings.  Modify your mbsedos script
and that should stop an unnecessary error from popping up.

I'll commit this soon to the main MBSE Git repo.

-- Sean

... Life can be a grind.  Use it to sharpen your character.
--- GoldED+/LNX 1.1.5-b20180707
* Origin: Outpost BBS (MBSE BBS Dev Team) (1:18/200)