Hello Gryphon,
On 04 Dec 12 at 21:02, you wrote to me:
Do you have to type the entire batch file's name (ie: START.BAT) when you call it? I don't know any better, as I've always wrote out the entire filename. *shrug*
Here it doesn't look like you're passing any variables into dosemu. My execution of dosemu looks more like this:
/usr/bin/dosemu -u virtual -I 'keystroke "\r"' NODE=$1 DOOR=$2 BBS=1 >/dev/null
On 12-05-12, Nicholas Boel said the following...
Hello Gryphon,
On 04 Dec 12 at 21:02, you wrote to me:
Do you have to type the entire batch file's name (ie: START.BAT) when y call it? I don't know any better, as I've always wrote out the entire filename. *shrug*
You typically don't have to call START.BAT. Just START will do. But
maybe that's my problem. I may have to do START $NODE. I'll give it a try.
On 12-05-12, Nicholas Boel said the following...
Hello Gryphon,
On 04 Dec 12 at 21:02, you wrote to me:
Do you have to type the entire batch file's name (ie: START.BAT)
when you call it? I don't know any better, as I've always wrote
out the entire filename. *shrug*
You typically don't have to call START.BAT. Just START will do. But maybe that's my problem. I may have to do START $NODE. I'll give it
a try.
Here it doesn't look like you're passing any variables into
dosemu. My execution of dosemu looks more like this:
/usr/bin/dosemu -u virtual -I 'keystroke "\r"' NODE=$1 DOOR=$2
BBS=1
/dev/null
What does passing the variables into dosemu help with? How is it
applied? Is there something in the dosemu.conf that uses it? My
doors.ksh file uses those variables to create the DODOOR.BAT file,
which is called by the autoexec.bat file.
Hello Gryphon,
AFAIK, you need to pass any variable through _everything_. Your script, your batch files, etc. If you don't pass anything to your script, how
does the batch files know what node number it's on? Or where the dropfile is located?
Also, when you actually execute the script from mystic, are you passing
the variables there too?
Hello Gryphon,
AFAIK, you need to pass any variable through _everything_. Your
script, your batch files, etc. If you don't pass anything to your
script, how does the batch files know what node number it's on? Or
where the dropfile is located?
My autoexec calls the DODOOR.BAT file. The DODOOR.BAT file is created
by the doors.ksh file each time it is called. The doors.ksh file
creates the DODOOR.BAT file differently for each door. One of the
things it does is add the lines: echo "M:" >> DODOOR.BAT echo "CD \DOORS\LORD" >> DODOOR.BAT echo "START $NODE" >> DODOOR.BAT
so when you view the DODOOR.BAT file, it looks like this:
...
M:
CD \DOORS\LORD
START 1
...
Also, when you actually execute the script from mystic, are you
passing the variables there too?
Yes, the Optional data line is "/home/bbs/doors.ksh LORD %3"
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 104 |
Nodes: | 16 (1 / 15) |
Uptime: | 03:17:48 |
Calls: | 5,586 |
Calls today: | 12 |
Files: | 8,493 |
D/L today: |
69 files (24,238K bytes) |
Messages: | 336,574 |
Posted today: | 3 |