• Re: Running DOS doors in Synchronet

    From Grease@1:103/705 to Nelgin on Sat Jan 11 09:21:14 2020
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am

    How are you starting sbbs? From the command line? systemctl?

    I am using SynchronetManagementConsole. It's basically a daemon setup in python.

    Grease
    darkmatt.synchro.net


    ... All work and no play make Jack a dull boy and Jill a wealthy widow.

    ---
    þ Synchronet þ Dark Matter BBS <<>> darkmatt.synchro.net <<>> Howdy from Texas!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Altere@1:103/705 to Grease on Sat Jan 11 12:35:17 2020
    Re: Running DOS doors in Synchronet
    By: Grease to Rampage on Fri Jan 10 2020 08:44 pm

    Okay, some headway. I got the ../ctrl/.dosemu folder
    I made the autoexec.bat and config.sys and copied the fossils into the .dosemu directory.
    When I try to run the door, or the command .com external, I get these messages:

    can't create local /root/.dosemu directory
    can't create local /root/.dosemu/run directory
    can't open /sbbs/node1/dosemu_boot.log for writing

    I'm not sure why it's trying to create a folder in /root, what user are you running Synchronet as? Additionally, you've done a lot of copying & creating various files and all of those should be owned by the proper user/group that you're starting Synchronet as.

    -altere

    ---
    þ Synchronet þ Athelstan BBS þ athelstan.org þ telnet:23 | ssh:2222
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Grease on Sat Jan 11 17:57:16 2020
    Grease wrote:
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am

    How are you starting sbbs? From the command line? systemctl?

    I am using SynchronetManagementConsole. It's basically a daemon setup in
    python.

    Why?

    Try to unset DISPLAY before you run the management console or whatever. If
    the management console is a gui then you're going to have problems. Why not just it from systemd like everyone else does (or should)?

    For grins you can try to change /sbbs/src/sbbs3/xtrn.cpp line 1422

    It should look like this:

    "/usr/bin/env %s HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",


    Change it to include DISPLAY=""

    "/usr/bin/env %s DISPLAY="" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",


    Then recompile and restart.

    Also, someone mentioned that you installed as root but trying to run as a different user. Make sure you chown -R whatever. /sbbs
    to ensure that the owner is set correctly. The only time I am root is to
    start and stop the BBS through systemd and even that drops the permissions
    to my bbs user.

    ---
    þ 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 Sat Jan 11 16:49:07 2020
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Grease on Sat Jan 11 2020 05:57 pm

    Grease wrote:
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am

    How are you starting sbbs? From the command line? systemctl?

    I am using SynchronetManagementConsole. It's basically a daemon setup in python.

    Why?

    Try to unset DISPLAY before you run the management console or whatever. If the management console is a gui then you're going to have problems. Why not just it from systemd like everyone else does (or should)?

    For grins you can try to change /sbbs/src/sbbs3/xtrn.cpp line 1422

    It should look like this:

    "/usr/bin/env %s HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",


    Change it to include DISPLAY=""

    "/usr/bin/env %s DISPLAY="" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",


    Then recompile and restart.

    The correct way to insert double-quotes in a C string is the sequence: \"

    So that'd be:
    "/usr/bin/env %s DISPLAY=\"\" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video {
    none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s"

    digital man

    Synchronet/BBS Terminology Definition #44:
    KD = King Drafus (Allen Christiansen)
    Norco, CA WX: 56.8øF, 70.0% humidity, 4 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Digital Man on Sun Jan 12 08:13:48 2020
    Digital wrote:
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Grease on Sat Jan 11 2020 05:57 pm

    Grease wrote:
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Will Milberger on Sat Jan 11 2020 04:24 am

    How are you starting sbbs? From the command line? systemctl?

    I am using SynchronetManagementConsole. It's basically a daemon setup in
    python.

    Why?

    Try to unset DISPLAY before you run the management console or whatever. If
    the management console is a gui then you're going to have problems. Why not
    just it from systemd like everyone else does (or should)?

    For grins you can try to change /sbbs/src/sbbs3/xtrn.cpp line 1422

    It should look like this:

    "/usr/bin/env %s HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video { none }\"
    -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",


    Change it to include DISPLAY=""

    "/usr/bin/env %s DISPLAY="" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video {
    none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s",


    Then recompile and restart.

    The correct way to insert double-quotes in a C string is the sequence: \"

    So that'd be:
    "/usr/bin/env %s DISPLAY=\"\" HOME=%s QUIET=1 DOSDRIVE_D=%s %s -I\"video {
    none }\" -I'keystroke \"\\r\"' %s -f%s -E%s -o%sdosemu_boot.log %s"

    Yup, my bad. 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 Altere on Sat Jan 11 15:42:00 2020
    On 01-10-20 16:48, Altere wrote to Will Milberger <=-

    I won't discourage you from doing a backup but rebuilding the source doesn't replace any of your text or configuration files, just your executables.

    True, but it never hurts to do a backup, just in case something goes horribly pear shaped. :)


    ... Oh - ah, I'm going to blow it up.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Nelgin@1:103/705 to Grease on Thu Jan 16 04:11:09 2020
    Grease wrote:
    I'm sorry, but I've read through these, and am now more confused. http://wiki.synchro.net/howto:dosemu
    http://www.icequake.net/bbs/syncmods/

    When I setup SBBS, I could have swore I did USE_DOSEMU=1, but when I open a
    terminal in Linux, the drives do not correspond to the drives in these how-to's.
    C:/ Looks blank. Just a tmp, autoexec.bat and config.sys
    D:/ looks like either bin or usr
    E:/ Looks like root.

    I'm supposed to goto E:/ and then goto D:/ for the dropfile, and I just
    seem to be missing something here.

    I got the sunrise doors and would like to set them up, but just feel I am
    at a roadblock right now.


    So, we spend a lot of time trying to help you get this going. Did it work?

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Nelgin on Thu Jan 16 10:29:14 2020
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Grease on Thu Jan 16 2020 04:11 am

    So, we spend a lot of time trying to help you get this going. Did it
    work?

    Not yet. I did a fresh install of operating system and sbbs. The usb stick wouldn't read my backup, so basically starting over from scratch. Luckily, I had my ansi screens on a different computer. It'll probably be another week or so until I get back to it.

    Grease
    darkmatt.synchro.net



    ... I photocopied a mirror. Now I have an extra photocopy machine.

    ---
    þ Synchronet þ DARK MATTER BBS <<*>> darkmatt.synchro.net <<*>> Howdy, Y'all!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Grease on Thu Jan 16 12:30:19 2020
    Grease wrote:
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Grease on Thu Jan 16 2020 04:11 am

    So, we spend a lot of time trying to help you get this going. Did it work?

    Not yet. I did a fresh install of operating system and sbbs. The usb stick
    wouldn't read my backup, so basically starting over from scratch. Luckily, I had my ansi screens on a different computer. It'll probably be another week or so until I get back to it.

    What OS and version are you using?

    If you went with Ubuntu (highly recommended, sbbs just works with ubunto) I
    can probably tar up my working dosemu setup. You'll just need to make sure
    the packages are installed and then drop in my tar. I did this before but
    for previous version of Ubuntu, it will have everything you need, config, emusetup.bat, fossil driver, configure all your drives, etc. I need a test subject for it anyway to make sure I got all the components.
    Let me know if you're interested.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Grease@1:103/705 to Nelgin on Thu Jan 16 15:04:15 2020
    Re: Re: Running DOS doors in Synchronet
    By: Nelgin to Grease on Thu Jan 16 2020 12:30 pm

    What OS and version are you using?

    Swapped back to Manjaro (a form of Arch). Close enough to Ubuntu (At least to Debian)

    I can probably tar up my working dosemu setup. You'll just need to make sure the packages are installed and then drop in my tar.

    Sounds like fun. Willing to give it a try. Getting close enough on things to get back on the BBS to do the tarball on Sunday.
    I can d/l from your board, or you can upload it on darkmatt.synchro.net, or email to wilmil@rocketmail.com

    Thanks!

    Grease
    darkmatt.synchro.net



    ... Money can't buy friends but you can get a better class of enemy.

    ---
    þ Synchronet þ DARK MATTER BBS <<*>> darkmatt.synchro.net <<*>> Howdy, Y'all!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)