Ŀ
 Mod Name: WWIVFAX.MOD      Mod Author: Jim Russell 1@150306.WWIVnet        
 Difficulty:                  Jim Russell 1@8.expressnet          
 WWIV Version: 4.23                                                         
 Files Affected: BBS.C YOUR *.MDM FILE                                      
 Description: Allows WWIV to receive facsimiles while the BBS is running!   
Ĵ
 First Coast Data Exchange BBS ! (904) 246-3993  14.4 w/FAX                 
 This mod is the property of Wayne Bell, WWIV Software                      


Step 1.

Load up BBS.C and search for the following function and modify as noted:


    if (modem_mode==mode_fax) {
    {                                                          /* Add {  */
      sprintf(s,"\x0c""%s connection at %u... baud\r\n",curspeed,com_speed); /* Exists */
      sysoplog(s);                                             /* Add    */
      sprintf(s,"C:\\WWIV\\FAX.BAT %u",com_speed);             /* Add    */
/* The above line is a hardcoded path to your batch file to
   initiate BGFAX and can be anything you want. */
      shrink_out(s,-1,0,0,1);                                  /* Add    */
    }                                                          /* Add }  */
 /* nothing here yet */
      goto hanging_up;

The above path is hard coded to the C:\WWIV directory, which shells and
runs FAX.BAT.

Close BBS.C and recompile.


Step 2. Make a batch file in whatever directory you hardcoded in the above
        code and name it FAX.BAT or whatever you defined.

SAMPLE FAX.BAT
-------
Note -If you do not use a fossil driver, then just omit the first and third
      lines below, and use the second line for your batch file. Notice the
      directory path of where you want the incomming files to go to.

bnu /l0=0
bgfax /fast c:\fax\ql2faxw\inbox F1 q /ns
bnu /l0=38400

Line 1. Unlocks my comm port which was set to 38400, so that BGFAX can shift
the the baud rate to 19200 as depicted in the modem file.

Line 2. Runs BGFAX program and passes the /FAST parameter, which is dependant
on individual hardware (Modem / CPU) as stated in the BGFAX documentation.
The path statement points to which directory you want the fax files to end in

