-------------------------------------------------------------------------- Setup hints for using BGFAX with Maximus/2 05-01-95 B.J. Guillot FidoNet 1:106/400 InterNet: bjg90783@jetson.uh.edu -------------------------------------------------------------------------- THIS FILE ASSUMES YOU ARE RUNNING THE *OS/2* VERSION OF MAXIMUS Because Maximus does not offer the ability to exit when it detects a fax response code from the modem, you must run BGFAX2 in /HOST mode. Thus, BGFAX2 will answer the phone rather than Maximus! 1. From now on, to get your system ready to answer calls, start up your BBS by using the FBBS.CMD as given below 2. Be sure all the BGFAX files are copied into the directory as specified by the BGFAX environment variable (A "SET BGFAX=C:\BGFAX" line must exist in either your OS/2 CONFIG.SYS or FBBS.CMD file). 3. Make sure your BGFAX.CNF file is configured to use the proper fax class that your modem supports (you may need to comment and uncomment some lines in the BGFAX.CNF file). You need to make a file called FBBS.CMD in the BGFAX directory. @echo off rem ***** This is an example command file for frontend mode operation set bgfax=c:\bgfax c: cd %bgfax% bgfax2 /host /sb if errorlevel 4 fbbs.cmd if errorlevel 3 local.cmd if errorlevel 2 goto datacall if errorlevel 1 fbbs.cmd goto end :datacall rem ***** Errorlevel 2 = Data Call, Errorlevel 3 = Local Logon rem ***** The following line executes the DOBBS.BAT file created by BGFAX2 rem ***** which then runs EXEBBS.BAT which should load your BBS software. %bgfax%\dobbs.bat :end The /SB switch is required to make BGFAX/2 work with Maximus/2. This causes BGFAX/2 to _spawn_ Maximus and put the OS/2 com handle in the DOBBS.CMD file rather than the com port number. You also need to make a file called EXEBBS.CMD in the BGFAX directory. @echo off d: cd\max maxp -b%1 -p%2 When Maximus exists and returns to BGFAX/2 from the spawn, BGFAX/2 will then exit with an errorlevel 1 for "recycle" so that your FBBS.CMD will restart BGFAX. Regards, bgfax author