• DOS Doors under Linux/DOSEMU

    From Clifra Jones@1:103/705 to All on Tue Jul 31 15:57:51 2018
    Ok, please excuse my confusion here.

    I have tried to setup BRE988 under sbbs. I have not tried runnign it yet as I am a bit confused on the paths and how BRE's batch file should be setup.

    here is the .BAT file with comments
    ----
    @echo off
    e: # the sbbs/xtrn directory
    cd BREV988 # this folder exists under sbbs/xtrn
    copy d:/doorfile.sr #copied from the node directory
    BRE #execute door
    d: # return to node dir
    cd \ #not sure why this is here
    exitemu #exit dosemu
    ----

    This was built by the INSTALL.EXE program under the assumption (by me) that it should reside in the /sbbs/xtrn directory.

    I have tried to test the emusetup.bat under dosemu but whenever I run it the console hangs after loading ansi.com.

    I have hacked at setting up dosemu, it works but I'm not 100% sure everything is A-OK.


    Clifra Jones
    Sysop
    Days Of Old BBS:
    Address: daysofoldbbs.wilhartsolutions.com
    Telnet, SSH (Port 2222), Web

    ---
    * Synchronet * Days of Old BBS - telnet://daysofoldbbs.wilhartsolutions.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Clifra Jones on Tue Jul 31 19:36:48 2018
    Clifra wrote:
    I have tried to test the emusetup.bat under dosemu but whenever I run it the console hangs after loading ansi.com.

    ansi.com? Is that from the door you're trying to run? If you need an ansi driver did you try nansi.sys?

    I don't think I use one at all and every door I have works perfectly fine.
    I do recall saying a while ago that I had nothing but problems with DOSEMU under CentOS but I have it working perfectly under Ubuntu.

    Now, if the door has an executable that needs to be run before you can
    actually use it, this is what I do.

    Look at the bottom of your external.bat file in one of your node dirs

    REM For debugging: /usr/bin/env TERM=linux HOME=/sbbs/ctrl/ QUIET=1 DOSDRIVE_D=/sbbs/node1/ /usr/bin/dosemu.bin -I"video { none }" -I"keystroke \r"
    -f/etc/dosemu/dosemu.
    conf -ED:external.bat -o/sbbs/node1/dosemu.log 2> /sbbs/node1/dosemu_boot.log >> /sbbs/data/dosevent_binkd.log

    From that you can do something like

    TERM=linux HOME=/sbbs/ctrl/ DOSDRIVE_D=/sbbs/node1/ /usr/bin/dosemu.bin -f/etc/dosemu/dosemu.conf

    The result would be something like this:
    bbs@bbs:/sbbs/node1$ TERM=linux HOME=/sbbs/ctrl/ DOSDRIVE_D=/sbbs/node1/ /usr/bin/dosemu.bin -f/etc/dosemu/dosemu.conf
    Kernel compatibility 7.10 - WATCOMC - 80386 CPU required - FAT32 support

    (C) Copyright 1995-2006 Pasquale J. Villani and The FreeDOS Project.
    All Rights Reserved. This is free software and comes with ABSOLUTELY NO WARRANTY; you can redistribute it and/or modify it under the terms of the
    GNU General Public License as published by the Free Software Foundation;
    either version 2, or (at your option) any later version.
    C: HD1, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 392 MB
    D: HD2, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 392 MB
    dosemu XMS 3.0 driver installed.
    dosemu EMS driver rev 0.5 installed.
    NANSI.sys 4.0b: New ANSI driver. Copyright 1986-2003 Daniel Kegel http://www.kegel.com/nansi/ <dank at kegel.com>
    This is free software. It comes with ABSOLUTELY NO WARRANTY.
    You are welcome to redistribute it under the terms of the
    GNU Public License; see http://www.gnu.org/ for details.
    Kernel: allocated 41 Diskbuffers = 21812 Bytes in HMA
    Z: = LINUX\FS\ attrib = READ ONLY

    FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]
    Redirection for drive D: was deleted.
    D: = LINUX\FS/SBBS/NODE1/ attrib = READ/WRITE
    SHARE installed.


    Once in the dosemu environemnt type can TYPE D:\EXTERNAL.BAT

    type d:external.bat
    @echo off
    set DSZLOG=D:\PROTOCOL.LOG
    set SBBSNODE=D:
    set SBBSNNUM=1
    set SBBSCTRL=F:
    set SBBSDATA=G:
    set SBBSEXEC=H:
    set PCBNODE=1
    lredir del E:
    lredir del F:
    lredir del G:
    lredir del H:
    lredir E: linux\fs\sbbs\xtrn
    lredir F: linux\fs\sbbs\ctrl
    lredir G: linux\fs\sbbs\data
    lredir H: linux\fs\sbbs\exec
    E:
    cd stackem
    call F:\emusetup.bat
    stackem.exe stackem.cfg d:\door.sys
    exitemu
    REM For debugging: /usr/bin/env HOME=/sbbs/ctrl/ QUIET=1 DOSDRIVE_D=/sbbs/node1/ /usr/bin/dosemu.bin -I"video { none }" -I"keystroke \r"
    -I"serial { virtual com 1 }" -f/
    etc/dosemu/dosemu.conf -ED:external.bat -o/sbbs/node1/dosemu.log 2> /sbbs/node1/dosemu_boot.log

    Basically the same file as before in your node directory.
    Now, execute all the commands up to and including the E:

    Now, CD into the directory where your door is and run the INSTALL.EXE file.

    Once you are finished you can EXITEMU but for completeness you can check you can check your emusetup.bat. This is where I load my fossil driver, x00.exe

    type f:emusetup.bat
    set PATH=%PATH%;e:\dosutils
    e:\dosutils\x00.exe eliminate


    You could also try to run the door in local mode if it has one.

    At this point you'll notice D: is your node directory which is where
    your door.sys will live, or whatever drop file you're using, so if
    it asks for the full path you can specify D:\door.sys.

    I can let you have my drop-in dosmeu setup that works for Ubuntu and
    you can see if it works in CentOS 7 if you wish. Let me know.

    ---
    * 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 Clifra Jones on Tue Jul 31 18:25:43 2018
    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    Ok, please excuse my confusion here.

    I have tried to setup BRE988 under sbbs. I have not tried runnign it yet as I am a bit confused on the paths and how BRE's batch file should be setup.

    here is the .BAT file with comments
    ----
    @echo off
    e: # the sbbs/xtrn directory
    cd BREV988 # this folder exists under sbbs/xtrn

    Synchronet already starts the process off with the current working directory of the "startup directory" as configured in SCFG.

    copy d:/doorfile.sr #copied from the node directory

    Shouldn't need to do that.

    BRE #execute door
    d: # return to node dir

    Don't need that.

    cd \ #not sure why this is here

    Don't need that.

    exitemu #exit dosemu

    Is that necessary? I don't think you need this batch file at all.

    digital man

    Synchronet/BBS Terminology Definition #40:
    POP3 = Post Office Protocol version 3
    Norco, CA WX: 87.6oF, 36.0% humidity, 18 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Clifra Jones on Tue Jul 31 21:19:09 2018
    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    cd BREV988 # this folder exists under sbbs/xtrn

    I don't think that is a valid way to have a comment in a DOS batch file. Comments are normally on their own line and start with "REM". For instance: REM this folder exists under sbbs/xtrn

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Clifra Jones on Tue Jul 31 21:20:28 2018
    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    copy d:/doorfile.sr #copied from the node directory

    DOS uses backslashes - It should be d:\, not d:/

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Nightfox on Wed Aug 1 03:12:31 2018
    Nightfox wrote:
    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    cd BREV988 # this folder exists under sbbs/xtrn

    I don't think that is a valid way to have a comment in a DOS batch file. Comments are normally on their own line and start with "REM". For instance: REM this folder exists under sbbs/xtrn

    Ah, good catch.

    ---
    * Synchronet * End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to Nightfox on Wed Aug 1 19:48:00 2018
    On 07-31-18 21:19, Nightfox wrote to Clifra Jones <=-

    I don't think that is a valid way to have a comment in a DOS batch
    file. Comments are normally on their own line and start with "REM".
    For instance: REM this folder exists under sbbs/xtrn

    Yep, only way I know of making comments in a DOS/Windows batch file is by starting a line with "rem " (case insensitive).


    ... Book Title: Trails to the Outhouse - Will E. Makit
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Clifra Jones@1:103/705 to Nelgin on Wed Aug 1 08:07:59 2018
    Re: Re: DOS Doors under Linux/DOSEMU
    By: Nelgin to Clifra Jones on Tue Jul 31 2018 07:36 pm

    driver did you try nansi.sys?

    I don't think I use one at all and every door I have works perfectly fine.
    I do recall saying a while ago that I had nothing but problems with DOSEMU under CentOS but I have it working perfectly under Ubuntu.

    Now, if the door has an executable that needs to be run before you can actually use it, this is what I do.

    Thanks, I will lok at all this.

    Not needing ANSI driver is good to know as every time I try and load any ansi drive it just goes blank. I can blind type exitemu and get out.

    Re: CentOS, yeah I am about there myself. CentOS is great for servers. I run several Web servers with it and they are rock solid but on other things it can be such a pain. I've stopped using it for desktop/laptops and use Fedora for all those and have far less struggles getting things to work.

    I am just not as familiar with the Debian/Ubuntu flavor but I can pick it up. So I may jusy stop beating myself over the head and just do that.
    Clifra Jones
    Sysop
    Days Of Old BBS:
    Address: daysofoldbbs.wilhartsolutions.com
    Telnet, SSH (Port 2222), Web

    ---
    * Synchronet * Days of Old BBS - telnet://daysofoldbbs.wilhartsolutions.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Clifra Jones@1:103/705 to Digital Man on Wed Aug 1 08:10:22 2018
    Re: DOS Doors under Linux/DOSEMU
    By: Digital Man to Clifra Jones on Tue Jul 31 2018 06:25 pm

    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    Ok, please excuse my confusion here.

    I have tried to setup BRE988 under sbbs. I have not tried runnign it yet as I am a bit confused on the paths and how BRE's batch file should be setup.

    here is the .BAT file with comments
    ----
    @echo off
    e: # the sbbs/xtrn directory
    cd BREV988 # this folder exists under sbbs/xtrn

    Synchronet already starts the process off with the current working directory of the "startup directory" as configured in SCFG.

    copy d:/doorfile.sr #copied from the node directory

    Shouldn't need to do that.

    BRE #execute door
    d: # return to node dir

    Don't need that.

    cd \ #not sure why this is here

    Don't need that.

    exitemu #exit dosemu

    Is that necessary? I don't think you need this batch file at all.

    digital man
    This is what was created by the BRE install program when I ran it on my workstation under DOSBOX.

    Clifra Jones
    Sysop
    Days Of Old BBS:
    Address: daysofoldbbs.wilhartsolutions.com
    Telnet, SSH (Port 2222), Web

    ---
    * Synchronet * Days of Old BBS - telnet://daysofoldbbs.wilhartsolutions.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Clifra Jones@1:103/705 to Nightfox on Wed Aug 1 08:11:28 2018
    Re: DOS Doors under Linux/DOSEMU
    By: Nightfox to Clifra Jones on Tue Jul 31 2018 09:19 pm

    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    cd BREV988 # this folder exists under sbbs/xtrn

    I don't think that is a valid way to have a comment in a DOS batch file. Comments are normally on their own line and start with "REM". For instance: REM this folder exists under sbbs/xtrn

    Nightfox

    It is not I just did that for commenting sake in the post.

    Clifra Jones
    Sysop
    Days Of Old BBS:
    Address: daysofoldbbs.wilhartsolutions.com
    Telnet, SSH (Port 2222), Web

    ---
    * Synchronet * Days of Old BBS - telnet://daysofoldbbs.wilhartsolutions.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Clifra Jones@1:103/705 to Nightfox on Wed Aug 1 08:12:10 2018
    Re: DOS Doors under Linux/DOSEMU
    By: Nightfox to Clifra Jones on Tue Jul 31 2018 09:20 pm

    Re: DOS Doors under Linux/DOSEMU
    By: Clifra Jones to All on Tue Jul 31 2018 03:57 pm

    copy d:/doorfile.sr #copied from the node directory

    DOS uses backslashes - It should be d:\, not d:/
    Yeah, I typed it not copied it. Used the wrong slash. it is right in the actual file.

    Clifra Jones
    Sysop
    Days Of Old BBS:
    Address: daysofoldbbs.wilhartsolutions.com
    Telnet, SSH (Port 2222), Web

    ---
    * Synchronet * Days of Old BBS - telnet://daysofoldbbs.wilhartsolutions.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Clifra Jones on Wed Aug 1 15:20:32 2018
    Clifra wrote:
    I am just not as familiar with the Debian/Ubuntu flavor but I can pick it
    up.
    So I may jusy stop beating myself over the head and just do that.

    The biggest difference is the package management system. Rather than doing
    yum search you use apt-cache search or apt-get install to install a package. The locations of most files are the same and the names of most are easy to figure out. All the systemd stuff is the same. Really once sbbs is installed then there's very little difference.

    Besides it's good to expand your horizons. I have a bit of a walkthrough of what I did to start with at http://wiki.nigelreed.net under the Linux stuff.
    It goes only so far. If you do go for Ubuntu the DOSEMU will definitely work.

    ---
    * Synchronet * End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Clifra Jones@1:103/705 to Nelgin on Sat Aug 4 17:02:19 2018
    Re: Re: DOS Doors under Linux/DOSEMU
    By: Nelgin to Clifra Jones on Wed Aug 01 2018 03:20 pm

    Clifra wrote:
    I am just not as familiar with the Debian/Ubuntu flavor but I can
    pick it up. So I may jusy stop beating myself over the head and just
    do that.

    The biggest difference is the package management system. Rather than doing yum search you use apt-cache search or apt-get install to install a package. The locations of most files are the same and the names of most are easy to figure out. All the systemd stuff is the same. Really once sbbs is installed then there's very little difference.

    Besides it's good to expand your horizons. I have a bit of a walkthrough of what I did to start with at http://wiki.nigelreed.net under the Linux stuff. It goes only so far. If you do go for Ubuntu the DOSEMU will definitely work.

    Yeah, Ijust need to get used to it.

    I have it up and running now. Like you said DOSEMU just works. I have not had time to hey my DOORS up yet (Work getting inthe way) but should soon. Thanks for the advice.

    ---
    * Synchronet * Days of Old BBS Telnet/SSH(2222)/Web daysofoldbbs.wilhartsolutions.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ray Quinn@1:103/705 to Tony Langdon on Tue Aug 7 15:41:00 2018
    Tony Langdon wrote to Nightfox <=-


    ... Book Title: Trails to the Outhouse - Will E. Makit

    Illistrations by Betty Wont.


    ... Is fire supposed to shoot out of it like that!?
    --- MultiMail/Win32 v0.50
    * Synchronet * US 99 BBS - Visalia, CA - bbs.quinnnet.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to Ray Quinn on Wed Aug 8 19:25:00 2018
    On 08-07-18 15:41, Ray Quinn wrote to Tony Langdon <=-

    Tony Langdon wrote to Nightfox <=-


    ... Book Title: Trails to the Outhouse - Will E. Makit

    Illistrations by Betty Wont.

    ROFLMAO!!! :D


    ... My modem isn't slow- it's "baudily challenged!"
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Nightfox@1:103/705 to Tony Langdon on Wed Aug 8 09:47:06 2018
    Re: Re: DOS Doors under Linux/DOSEMU
    By: Tony Langdon to Ray Quinn on Wed Aug 08 2018 07:25 pm

    ... Book Title: Trails to the Outhouse - Will E. Makit

    Illistrations by Betty Wont.

    ROFLMAO!!! :D

    :P
    Other book recommendations:
    Under The Bleachers, by Seymour Butts
    Under The Bridge, by I.P. Freely
    Over The Cliff, by Hugo Furst

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to Nightfox on Thu Aug 9 07:22:00 2018
    On 08-08-18 09:47, Nightfox wrote to Tony Langdon <=-

    :P
    Other book recommendations:
    Under The Bleachers, by Seymour Butts
    Under The Bridge, by I.P. Freely
    Over The Cliff, by Hugo Furst

    Haha, I know a couple of others:

    Rusty Springs by I. P. Nightly
    Cat's Revenge by Claude Balls
    Baby's Revenge by Nora Titoff

    :)


    ... TARDIS Express: When it absolutely must be there Before you send it!
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Nightfox@1:103/705 to Tony Langdon on Wed Aug 8 15:25:12 2018
    Re: Re: DOS Doors under Linux/DOSEMU
    By: Tony Langdon to Nightfox on Thu Aug 09 2018 07:22 am

    Haha, I know a couple of others:

    Rusty Springs by I. P. Nightly
    Cat's Revenge by Claude Balls
    Baby's Revenge by Nora Titoff

    :)

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ray Quinn@1:103/705 to Nightfox on Fri Aug 17 14:15:00 2018
    Nightfox wrote to Tony Langdon <=-

    Re: Re: DOS Doors under Linux/DOSEMU
    By: Tony Langdon to Ray Quinn on Wed Aug 08 2018 07:25 pm

    ... Book Title: Trails to the Outhouse - Will E. Makit

    Illistrations by Betty Wont.

    ROFLMAO!!! :D

    :P
    Other book recommendations:
    Under The Bleachers, by Seymour Butts
    Under The Bridge, by I.P. Freely
    Over The Cliff, by Hugo Furst

    Another one by I.P. Freely - Yellow River

    Hirz Fire
    Shasta Trinity National Forest
    Branch II, Division T
    Lat 40.973232 Lon -122.370011
    CN80tx Elev 3413 ft 1041 m
    ... When you gotta go, you gotta go!
    --- MultiMail/Win32 v0.50
    * Synchronet * US 99 BBS - Visalia, CA - bbs.quinnnet.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)