• Re: Test

    From Vk3jed@21:1/143 to Phoobar on Wednesday, May 12, 2021 19:32:00
    On 08-17-20 08:49, Phoobar wrote to Vk3jed <=-

    Testing gateway in automatic mode. Got it running using Xvfb as a dummy
    X server for DOSBox. As a bonus, it's much faster to load. :)

    You piqued my interest when you mentioned using DOSBox to do this. I've got some of the tweaked builds available with networking & such. Not looking for exact directions...but is there a way you can explain how
    you were able to do this using DOSBox?

    I used a combination of a shell script outside and an autoexec file on the inside of DOSBox to do the batch jobs.

    Hete's the shell script.

    #!/bin/bash

    #export SDL_VIDEODRIVER=dummy
    TEST=YES
    mv /mystic/echomail/out/fsxnet.015/0001008f.pnt/*.pkt /mystic/echomail/blkhole mv /mystic/echomail/out/vkradio.1b0/00010064.pnt/*.pkt /mystic/echomail/blkhole if [ "$TEST" = "YES" ]; then
    cp /mystic/echomail/blkhole/*.pkt /mystic/echomail/backup
    fi
    rm -f /mystic/echomail/out/fsxnet.015/0001008f.pnt/00000063.*
    rm -f /mystic/echomail/out/vkradio.1b0/00010064.pnt/00000063.*
    xvfb-run dosbox -conf ~/.dosbox/echogate.conf -exit
    if [ "$TEST" = "YES" ]; then
    cp /mystic/echomail/in/*.PKT /mystic/echomail/backup-in
    fi

    And the autoexec section of dosbox.conf

    ----------------
    [autoexec]
    # Lines in this section will be run at startup.
    # You can put your MOUNT lines here.

    mount m: /mystic/echomail
    mount d: /home/mystic/blkhole
    mount c: /home/mystic/c_drive
    d:\hamgate.bat
    ----------------

    d:\hamgate.bat is what starts the DOS side of the system. :)


    ... Diets are for those who are thick and tired of it.
    === MultiMail/Win v0.52
    --- SBBSecho 3.10-Linux
    # Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (432:1/101)
    * Origin: Ham Inter-network Echomail Gateway. (21:1/143.0)
  • From Vk3jed@21:1/143 to Phoobar on Wednesday, May 12, 2021 19:33:00
    On 08-31-20 13:31, Phoobar wrote to Vk3jed <=-

    Am I getting out? I'm trying to get the gateway to run automatically.

    Yes you are! Great to hear from you.

    Cool. :)

    Running DOSBox under Xvfb, to eliminate the need for a local (visible) X

    Thank you for talking up DOSBox...am using it to configure Telegard to
    run eventually.

    Yeah it works reasonably well.


    ... Grace Period: The time it takes to ask the meal blessing.
    === MultiMail/Win v0.52
    --- SBBSecho 3.10-Linux
    # Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (432:1/101)
    * Origin: Ham Inter-network Echomail Gateway. (21:1/143.0)