home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / RA / BAT2FD10.ZIP / MULTIFD.DOC < prev    next >
Encoding:
Text File  |  1990-11-03  |  3.3 KB  |  85 lines

  1.  
  2. Sample batchfiles for Multinode use of Frontdoor v 1.0
  3. ======================================================
  4.  
  5. Written by Peter Janssens.
  6. Last updated on Nov 3, 1990.
  7.  
  8. If you have questions relating to these samples then feel free to
  9. contact me through the echomail conference FDECHO or via netmail.
  10. Fidonet 2:512/1 or 2:512/117
  11. SIGnet  27:331/1
  12.  
  13. =========================================================================
  14.  
  15. Disclaimer:
  16. These batchfiles eat diskspace on your system.
  17. They do the same thing on mine. I can't guarantee that they do anything
  18. else. They are my own batchfiles, but then simplified for documentation
  19. purposes only.
  20.  
  21. -------------------------------------------------------------------------
  22.  
  23. Directory structure:
  24.  
  25. C:\Fd          Frontdoor Node 1 system directory
  26. C:\Fd\Fd2      Frontdoor Node 2 system directory
  27. C:\Ra          RemoteAccess system directory
  28. C:\Msgs        RemoteAccess messagebase and userfile
  29. C:\Ra\Line1    RemoteAccess Node 1 home directory
  30. C:\Ra\Line2    RemoteAccess Node 2 home directory
  31.  
  32. -------------------------------------------------------------------------
  33.  
  34. Special programs used on my system:
  35.  
  36. CdCheck        Gives errorlevel depending on whether there is a carrier
  37. DvCommand      DesqView utility
  38.  
  39. I have included DVCO and CD-Check in the distribution archive.
  40. They are both shareware.
  41.  
  42. -------------------------------------------------------------------------
  43.  
  44. Frontdoor multinode feature used:
  45.  
  46. FDEXIT.xxx     A file with this name, residing in the system directory
  47.                of Frontdoor will make the mailer exit with errorlevel xxx
  48.  
  49. -------------------------------------------------------------------------
  50.  
  51. How does this work:
  52.  
  53. When a user on the BBS enters mail then RA will exit with a special error-
  54. level. Apart from this, ECHOMAIL.BBS will exist in the C:\MSGS directory
  55. if he entered Echomail or NETMAIL.BBS if he entered Netmail.
  56.  
  57. FrontDoor on both lines is setup to exit with an Errorlevel 100 after
  58. receipt of (echo-) mail. The only thing the batchfile for Node 2 does is
  59. trigger an exit for Node 1 with the same Errorlevel 100.
  60.  
  61. If Node 1 starts mail processing it first detects whether there is a
  62. carrier on Node 2. If there is no carrier then Node 2 is put to sleep
  63. via Errorlevel 160 and the mail is processed.
  64.  
  65. If there is a carrier then this can be either a mailsession or a BBS caller.
  66. If it's a mailsession, then FD2 must be active and thus a signal can be
  67. set using Fdexit.xxx to let Node 2 return a signal when it is available
  68. again. If it's a BBS caller then the same signal will be given to Node 1
  69. as soon as the caller leaves the BBS (and RA exits to the batchfile).
  70.  
  71. As soon as Node 1 is available again, either immediately or after a BBS
  72. caller or a mailsession, it will simply restart the process because Node 2
  73. regenerated the Errorlevel 100.
  74.  
  75. This batchfile processes the mail all day on my system (except in ZMH) and
  76. works even fast enough during the busy hours.
  77.  
  78. To help people who have RAQMX installed I have not deleted the XRS mail
  79. processing from the example. If you don't run RAQMX then you should
  80. consider to start using it. (Saves you the trouble of deleting the lines
  81. from these batchfiles :-).
  82.  
  83. -------------------------------------------------------------------------
  84.  
  85.