home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2335 
 Sean Dennis to All 
 Updated mbsedos 
 20 Apr 22 23:02:13 
 
MSGID: 1:18/200 6260c9f6
CHRS: UTF-8 2
TZUTC: -0400
TID: MBSE-FIDO 1.0.8 (Linux-x86_64)
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)
SEEN-BY: 1/110 123 15/0 18/200 90/1 105/81 106/201 120/340 123/131
SEEN-BY: 129/305 330 331 153/7715 218/700 226/30 227/114 229/110 111
SEEN-BY: 229/206 317 400 424 426 428 452 470 550 664 700 266/512 282/1038
SEEN-BY: 292/854 317/3 320/219 322/757 342/200 396/45 460/58 633/280
SEEN-BY: 712/848
PATH: 18/200 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca