• Changes to DOSemu

    From Nelgin@1:103/705 to DOVE-Net.Synchronet_Sysops on Thu Dec 17 15:17:06 2020
    This will be useful information to sysops who run Linux based systems with DOSemu. mlong has put in a lot of effort to make the whole thing a little more user friendly. If you pull the latest version there's a few things you may
    need to know.

    You no longer need to compile with USE_DOSEMU=1 - it is now compiled in by default but must be turned on.

    sbbs.ini will need 3 lines
    UseDOSemu = true
    DOSemuPath=/usr/bin/dosemu.bin
    DOSemuConfPath = /sbbs/ctrl/dosemu.conf


    UseDOSemu must be true if you wish to use dosemu.
    The path to the dosemu executable (not wrapper script) needs to be in DOSemuPath. This should already be set.

    Finally DOSemuConfPath will point to your dosemu.conf file. If you have an existing, working setup you can change this - probably to /etc/dosemu/dosemu.conf but sbbs now provides a known working default for new users which is in /sbbs/ctrl

    /sbbs/exec/dosemu.ini contains the lines that'll be run when you call a
    program to run under emulation, supporting both intercept and non-intercept
    io. These can be tweaked as necessary.

    Finally, there is an exec/external.bat file which is a template for the batch file created in the node directory. This is where you'll configure your fossil drivers, and anything else you'd like loaded up.

    Using the new method of calling DOS programs, I've been able to get dosemu2 under Ubuntu 20.04 working. I would appreciate it if people would give it a try.

    Create /sbbs/ctrl/dosemu2.conf
    $_hdimage = "+0 -5 +1"
    $_layout = "us"
    $_mouse_internal = (off)
    $_sound = (off)
    $_midi_synth = ""
    $_munt_roms = ""
    $_opl2lpt_dev = ""
    $_pcm_hpf = (off)
    $_pktdriver = (off)
    $_video = "ega"
    $_lredir_paths = "/sbbs"


    If your sbbs doesn't live in /sbbs then alter lredir_paths accordingly

    edit sbbs.ini to point to /sbbs/ctrl/dosemu2.conf

    edit /sbbs/exec/dosemu.ini
    insert the follwoing text between $VIRTUALCONF and -f$DOSEMUCONF

    -d /sbbs/node1/:D -td -kt

    The whole line should look like:
    cmd=/usr/bin/env $TERM HOME=$CTRLDIR QUIET=1 DOSDRIVE_D=$NODEDIR NODEDIR=$NODEDIR $DOSEMUBIN -I"video { none }" $VIRTUALCONF -d /sbbs/node1/:D -td -kt -f$DOSEMUCONF -E$EXTBAT -o$NODEDIRdosemu_boot.log $EXTLOG


    Again, change any paths if yours are different.

    That should be it. Configure a DOS door according to the instructions found on the wiki and other resources. If you have any issues or success, please report them here.

    Thanks,
    Nigel

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nelgin on Thu Dec 17 14:59:41 2020
    Re: Changes to DOSemu
    By: Nelgin to DOVE-Net.Synchronet_Sysops on Thu Dec 17 2020 03:17 pm

    This will be useful information to sysops who run Linux based systems with DOSemu. mlong has put in a lot of effort to make the whole thing a little more user friendly. If you pull the latest version there's a few things you may
    need to know.

    You no longer need to compile with USE_DOSEMU=1 - it is now compiled in by default but must be turned on.

    sbbs.ini will need 3 lines
    UseDOSemu = true
    DOSemuPath=/usr/bin/dosemu.bin
    DOSemuConfPath = /sbbs/ctrl/dosemu.conf

    That DOSemuConfPath can be specified relative to the Synchronet ctrl dir, so just "dosemu.conf" implies [ctrl/]dosemu.conf, hence the default setting: DOSemuConfPath = dosemu.conf
    --
    digital man

    Synchronet/BBS Terminology Definition #27:
    ETX = End-of-Text (ASCII 3, Ctrl-C)
    Norco, CA WX: 59.1øF, 68.0% humidity, 10 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Digital Man on Thu Dec 17 21:57:18 2020
    Digital wrote:
    Re: Changes to DOSemu
    By: Nelgin to DOVE-Net.Synchronet_Sysops on Thu Dec 17 2020 03:17 pm

    This will be useful information to sysops who run Linux based systems
    with
    DOSemu. mlong has put in a lot of effort to make the whole thing a little more user friendly. If you pull the latest version there's a few things
    you
    may
    need to know.

    You no longer need to compile with USE_DOSEMU=1 - it is now compiled in
    by
    default but must be turned on.

    sbbs.ini will need 3 lines
    UseDOSemu = true
    DOSemuPath=/usr/bin/dosemu.bin
    DOSemuConfPath = /sbbs/ctrl/dosemu.conf

    That DOSemuConfPath can be specified relative to the Synchronet ctrl dir, so
    just "dosemu.conf" implies [ctrl/]dosemu.conf, hence the default setting:
    DOSemuConfPath = dosemu.conf

    Another thing I just remembered. On Ubuntu 20.04, it does not use FreeDos but FreeDos-PlusPlus which is quite different. If you have a /sbbs/ctrl/.dosemu directory, you must move this out the way otherwise dosemu will fail. Just rename it to .dosemu.old or something and when the new dosemu runs for the first time, it'll create a new directory.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)