Subj : Re: Test
To   : Phoobar
From : Vk3jed
Date : Wed May 12 2021 07:32 pm

-=> On 08-17-20 08:49, Phoobar wrote to Vk3jed <=-

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

Ph> You piqued my interest when you mentioned using DOSBox to do this. I've
Ph> got some of the tweaked builds available with networking & such. Not
Ph> looking for exact directions...but is there a way you can explain how
Ph> 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)