• Updated mbsedos

    From Sean Dennis@1:18/200 to All on Wed Apr 20 23:02:13 2022
    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)
  • From Vincent Coen@2:250/1 to Sean Dennis on Thu Apr 21 23:28:07 2022
    Hello Sean!

    Wednesday April 20 2022 23:02, you wrote to All:

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

    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.

    I have committed this to the svn repo.

    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)