From: Joe Delahaye To: Jim Westbrook Thread: Re: back-end to bink prob (1/5) Date: 11-Aug-97, 8:58am (Ref# 5608) -> MM> JW> set bgfax=g:\bt\bgfax -> MM> JW> cd bgfax -> MM> JW> g:\bt\bgfax\bgfax /fco:4 g:\bt\bgfax 1 Q -> MM> JW> cd .. -> MM> JW> set bgfax=bgfax= MM> -> MM> Are you in g:\bt when you run extmail.bat? -> MM> MM> If you're not then the 2nd line will exit with an error. -> The .bat file is stored in that directory and it is the -> current directory when the batch is spawned by Binkley. Does that mean that some other process moves you to that directory first? If not the current directory is most likely to be whatever the last batch file, or program put you in. You might wish to change 'cd bgfax' to 'cd g:\bg\bgfax' Joe --- InterEcho 1.19 * Origin: Lion's Den, Trenton, On * (613)392-8896 (1:249/303)
From: Jim Westbrook To: Joe Delahaye Thread: Re: back-end to bink prob (2/5) Date: 12-Aug-97, 10:52am (Ref# 5609) In a message to Jim Westbrook <08-11-97 08:58> Joe Delahaye wrote: JD> -> MM> JW> set bgfax=g:\bt\bgfax JD> -> MM> JW> cd bgfax JD> -> MM> JW> g:\bt\bgfax\bgfax /fco:4 g:\bt\bgfax 1 Q JD> -> MM> JW> cd .. JD> -> MM> JW> set bgfax=bgfax= MM> JD> -> MM> Are you in g:\bt when you run extmail.bat? JD> -> MM> MM> If you're not then the 2nd line will exit with an error. JD> -> The .bat file is stored in that directory and it is the JD> -> current directory when the batch is spawned by Binkley. JD> Does that mean that some other process moves you to that directory JD> first? If not the current directory is most likely to be whatever JD> the last batch file, or program put you in. The system is a full-time Fidonet/bbs which is controlled by a 6k batch file which continuously loops back to the top after a process executes. G:\BT is reset to be the current directory at the top of the main batch file. Here's the top segment of the main batch: :START @ECHO OFF mode co80,25 g: CD \BT XU SET:0:115200 f:\util\resetclk h:\BT SHARE IF ERRORLEVEL 240 GOTO EXIT IF ERRORLEVEL 216 GOTO EXIT IF ERRORLEVEL 192 GOTO EXIT IF ERRORLEVEL 168 GOTO EXIT IF ERRORLEVEL 144 GOTO EXIT IF ERRORLEVEL 120 GOTO EXIT IF ERRORLEVEL 101 GOTO CRASH IF ERRORLEVEL 100 GOTO OUT IF ERRORLEVEL 99 GOTO MAKENL IF ERRORLEVEL 96 GOTO EXIT IF ERRORLEVEL 91 GOTO PKT1 IF ERRORLEVEL 90 GOTO CRASH IF ERRORLEVEL 81 GOTO POLL IF ERRORLEVEL 80 GOTO EXIT IF ERRORLEVEL 72 GOTO EXIT IF ERRORLEVEL 70 GOTO POLL IF ERRORLEVEL 62 GOTO KILL$ IF ERRORLEVEL 61 GOTO START IF ERRORLEVEL 60 GOTO MEDIT IF ERRORLEVEL 56 GOTO EXIT IF ERRORLEVEL 52 GOTO NOTIFY IF ERRORLEVEL 51 GOTO LOGS IF ERRORLEVEL 50 GOTO QMAIN IF ERRORLEVEL 48 GOTO EXIT IF ERRORLEVEL 41 GOTO DAILY IF ERRORLEVEL 40 GOTO MEASURE IF ERRORLEVEL 32 GOTO EXIT IF ERRORLEVEL 30 GOTO MANBACK IF ERRORLEVEL 24 GOTO EXIT IF ERRORLEVEL 20 GOTO AMAX IF ERRORLEVEL 12 GOTO EXIT IF ERRORLEVEL 10 GOTO LOCAL IF ERRORLEVEL 8 GOTO EXIT IF ERRORLEVEL 3 GOTO EXIT IF ERRORLEVEL 1 GOTO OUT GOTO START The :Exit label is the branch to the bbs with Binkley exiting with a baud-associated errorlevel. The other labels are either manually triggered events (via function key input) or mail/maintenance functions triggered by errorlevels set in the Binkley.Evt file. The EXTMAIL.BAT file is stored in the G:\BT directory to insure that it will *ONLY* execute if that is the current directory since that directory is not a part of the system path. The problem I'm having occurs AFTER ExtMail.Bat is spawned by Binkley, the directory is changed to g:\bt\bgfax and BgFax.Exe is run. The bgfax screen flashes on the monitor (actually only part of it gets displayed -- slow video), records a non-response error (something like "OK not received from modem") in the bgfax.log file, and then exits back to the extmail.bat which runs to completion and returns control to Binkley. Everything does what is expected EXCEPT bgfax.exe. Jim --- QuickBBS 2.85 (Wide Beta-1.0) Classic * Origin: JimNet - Austin, TX (512)837-0953 (1:382/29)
From: John Pfeifer To: Jim Westbrook Thread: back-end to bink prob (3/5) Date: 12-Aug-97, 5:06pm (Ref# 5610) << On Tuesday August 12 1997 at 10:52 hours, Jim Westbrook on node>> << 1:382/29, wrote these words of wisdom to Joe Delahaye: >> JW> XU SET:0:115200 Just out of curiosity on the above, how come just the set command, is that comport supposed to be locked, 0 being com1, if so shouldn't that read XU PORT:0:ON LOCK:0:115200 SET:0:115200 if not, then what does just the SET:0:115200 do for you ? -=>Jp<=- ... Copper wire was invented by lawyers arguing over a penny. --- GoldED 2.50+/#1015 * Origin: The AIDS Chat Line (1:208/102)
From: Jim Westbrook To: John Pfeifer Thread: Re: back-end to bink prob (4/5) Date: 13-Aug-97, 11:38am (Ref# 5611) In a message to Jim Westbrook <08-12-97 17:06> John Pfeifer wrote: JP> JW> XU SET:0:115200 JP> JP> Just out of curiosity on the above, how come just the set command, is JP> that comport supposed to be locked, 0 being com1, if so shouldn't JP> that read JP> JP> XU PORT:0:ON LOCK:0:115200 SET:0:115200 JP> JP> if not, then what does just the SET:0:115200 do for you ? All it really does is insure that some other process hasn't left the comport at some speed and the modem/fossil at something else. Jim --- QuickBBS 2.85 (Wide Beta-1.0) Classic * Origin: JimNet - Austin, TX (512)837-0953 (1:382/29)
From: Joe Delahaye To: Jim Westbrook Thread: Re: back-end to bink prob (5/5) Date: 13-Aug-97, 9:18am (Ref# 5616) -> The problem I'm having occurs AFTER ExtMail.Bat is spawned by Binkley, the -> directory is changed to g:\bt\bgfax and BgFax.Exe is run. The bgfax screen -> flashes on the monitor (actually only part of it gets displayed -- slow -> video), records a non-response error (something like "OK not received from -> modem") in the bgfax.log file, and then exits back to the extmail.bat which -> runs to completion and returns control to Binkley. Everything does what is -> expected EXCEPT bgfax.exe. Oh, OK then. The Bink part somebody else will have to help you with, as I use Intermail and/or PCBoard as my front end, depending on what is happening. Both work with BGFax. Joe --- InterEcho 1.19 * Origin: Lion's Den, Trenton, On * (613)392-8896 (1:249/303)