First post, by ignatius
I have the following shell script:
-----
#!/bin/bash
export SDL_VIDEODRIVER=dummy
dosbox -noconsole -c "mount c /" -c "c:" -c "cd \\home\\imp\\imp\\" -c "imp-mail toss" -c "set FIDOCONFIG=c:\\home\\imp\\hpt\\config\\config" -c "hpt toss" -c "exit"
dosbox -noconsole -c "mount c /" -c "c:" -c "cd \\home\\imp\\imp\\" -c "imp-mail scan" -c "set FIDOCONFIG=c:\\home\\imp\\hpt\\config\\config" -c "hpt pack scan" -c "exit"
rm /home/imp/hpt/flags/hpt.lock
/home/imp/hpt/hpt toss
/home/imp/hpt/hpt pack scan
/usr/bin/cp /home/imp/imp/data/boards.dos /home/imp/imp/data/boards.dat
dosbox.old -noconsole -c "mount c /" -c "c:" -c "path=c:\\home\\imp\\imp" -c "cd \\home\\imp\\imp\\" -c "imp-mail purge" -c "exit"
/usr/bin/cp /home/imp/imp/data/boards.lin /home/imp/imp/data/boards.dat
----
The problem is that it only successfuly runs all of the commands when I use DOSBox in "GUI mode." I've tried and tried to get it working in "noconsole mode," but i've had no success so far.
I'm using the DOSBox version with LFN and mouse cut/paste capabilities (dosbox), and standard DOSBox (dosbox.old).. Could anyone possibly shed some light on this? In case you're wondering, this is for my BBS, for tossing and scanning echomail to FidoNet and other FTN like networks.
Thanks.