home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / mailers / esc158.zip / ESC_BBS.TXT < prev    next >
Text File  |  1992-10-14  |  6KB  |  138 lines

  1.  
  2. Date:   Fri Oct 09 1992  11:17:36
  3. From:   Glen Gilbert
  4. To:     Steve Ungvary
  5. Subj:   Comment from Steve Ungvary
  6. Attr:   privileged 
  7. PRIVATE - BBS                  -------------------------------
  8.  
  9. Regarding the message from Steve Ungvary of 1:157/534 
  10. writing to Gilhooly of 1:157/534 on <Oct 09 92 at 09:57>..
  11.  
  12.  SU> I downloaded ESC154 from Treasure Island 1:141/730 and I had some 
  13.  SU> questions. First it worked!!!! in less than 10 mins I was up. I have 
  14.  SU> Bink and Maximus hooked up and working but I have never been able to 
  15.  SU> join FidoNet because I couldn't figure out how to get/send mail.My BBS 
  16.  SU> is called The 12th Step BBS (203)852-1986 and if it ever gets finished 
  17.  SU> it will be devoted to Recovery issues. Can ESC call a BBS? If so where 
  18.  SU> would I put the errorlevels in mail.bat? Again it's a great program 
  19.  SU> that works!! Thanks 
  20.  SU> ===>steve
  21.  
  22. Hi Steve, I'm glad it works for you. :)
  23.  
  24. Here's what I would do to the MAIL.BAT to call your BBS from the UNATTENDED
  25. Binkley mode. Realizing that the fossil initialization, drive, subdirectory
  26. and the name of the batch file which loads your BBS software is subject to
  27. individual applications.
  28.  
  29. First, Tell Esc that you want Binkley to Answer your phone. This is done
  30. by using the Esc editor and toggling the Auto Answer option in the
  31. BOSSNODE section to YES. Be certain to have Esc write your Binkley config
  32. out to disk afterwards. Or you may make the simple modifcation with a
  33. text editor and save your change to disk.
  34.  
  35. Next, find the label :drc in the MAIL.BAT and make modifications similar to
  36. those which I have marked below. You need to understand that Binkley will
  37. exit with an errorlevel when you get a human (BBS) caller if you uncomment
  38. the ;BBS Batch line in the Binkley.Cfg. Just remove the semicolon and save
  39. your changed binkley.cfg to disk.
  40.  
  41. The errorlevel will be the caller's bps rate divided by 100 except in the
  42. case of 38,400. Errorlevels cannot exceed 256, therefore 384 - 256 = 128.
  43.  
  44. Binkley creates a file named BBSBATCH.BAT when it exits with a BBS call.
  45. This little batch file calls another batch file named SPAWNBBS.BAT. Which
  46. YOU must create. This file must catch the parameters which the BBSBATCH.BAT
  47. provides and then process them to start your BBS. This aspect is explained
  48. and is expanded upon in the BT_USER.DOC under the topic "BBS batch". The
  49. documentation which comes with your BBS software will tell you what it
  50. expects for command line parameters in order to invoke your BBS. Because
  51. we both use Maximus, the examples below will for the most part, apply
  52. directly. 
  53.  
  54. My latest BBSBATCH.BAT written by Binkley looks like this;
  55.  
  56. SPAWNBBS 9600 9600 2 1023 /Arq/V32/Lapm/V42Bis
  57.  
  58. The SPAWNBBS.BAT will be different for different BBS software. You need to
  59. examine the BBSBATCH.BAT after you've had a BBS caller to understand what
  60. is being passed to the SPAWNBBS.BAT. Then you must pick the parameters and
  61. process them in the proper order within your SPAWNBBS.BAT
  62.  
  63. Here is my SPAWNBBS.BAT;
  64.  
  65. max max -b%2 -p%3 -t%4 -s%1
  66.  
  67. As you can see, the parameters are parsed in the order of 2,3,4 and 1.
  68.  
  69. In this case (for MAXIMUS 2.01wb) the command line is executed thusly.
  70.  
  71. 1. Call MAX.EXE
  72. 2. Tell MAX.EXE to use the control file MAX.CTL (default if left out)
  73. 3. Accept the 2nd parameter from the spawnbbs.bat which is 9600 (bps)
  74. 4. Accept the 3rd parameter from the spawnbbs.bat which is comport 2
  75. 5. Accept the 4th parameter from the spawnbbs.bat which is time left
  76.    until the next scheduled forced event (1440 if none).
  77. 6. Accept the 1st parameter from the spawnbbs.bat which is your locked
  78.    port speed. The remaining /Arq/V32 etc. (extended modem response)
  79.    which would be -?%5 is ignored and discarded in this case.
  80.  
  81. SPAWNBBS.BAT returns control to the MAIL.BAT once the caller logs off of
  82. the BBS. Mail.bat will then bring Binkley back up in the unattended mode
  83. just as it was before the BBS call. This procedure is tough to comprehend
  84. but makes good sense once you see it in operation.
  85.  
  86. _ _ _ O / _ _ s_n_i_p _h_e_r_e_ _ _ _
  87.       O \
  88.  
  89. Rem * MAIL.BAT CHANGES FOR A BBS APPLICATION
  90.  
  91. :drc
  92. cls
  93. C:
  94. CD \BT
  95. BNU /L1,19200 /R=4096 /T=2048   ;port locking
  96. VFOS_IBM                        ;for color Binkley screen 
  97.  
  98. REM ******* MODIFICATIONS ********
  99. :FRONT_END      ;Label for recycling after a BBS call
  100. BT UNATTENDED
  101.  
  102.         if errorlevel 192 goto DROP_TO_BBS  ;19,200 if you've got a locked port
  103.         if errorlevel 128 goto DROP_TO_BBS  ;38,400 if you've got a locked port
  104.         if errorlevel  96 goto DROP_TO_BBS  ;9600 bps caller    (BBS)
  105.         if errorlevel  72 goto DROP_TO_BBS  ;7200 bps caller    (BBS)
  106.         if errorlevel  48 goto DROP_TO_BBS  ;4800 bps caller    (BBS)
  107.         if errorlevel  24 goto DROP_TO_BBS  ;2400 bps caller    (BBS)
  108.         if errorlevel  12 goto DROP_TO_BBS  ;1200 bps caller    (BBS)
  109.         if errorlevel   3 goto DROP_TO_BBS  ;300  bps caller    (BBS)
  110.  
  111. goto OUT_OF_BINK    ;If you are simply exiting Binkley
  112. :DROP_TO_BBS
  113. call BBSBATCH       ;Or whatever you call you batch file which runs your bbs
  114. goto FRONT_END      ;To restart Binkley after a BBS caller logs off
  115. :OUT_OF_BINK        ;Label to exit Binkley and return to the MAIL Menu 
  116. REM ******** END OF MODIFICATIONS *******
  117.  
  118. VFOS_DEL    ;Color systems
  119. BNU /U      ;Remove Com Fossil
  120. goto top    ;Restart MAIL menu
  121.  
  122. _ _ _ O / _ _ s_n_i_p _h_e_r_e_ _ _ _
  123.       O \
  124.  
  125. If your BBS resides in a separate directory, you will have to insure that
  126. drive paths are defined properly in your modifications. Also, you must
  127. coordinate your BBS message area directory and filenames with that of your
  128. mailer setup.
  129.  
  130. I have tested this on my system and it works. By following these
  131. instructions and making similar modifications it should work for you
  132. as well.
  133.  
  134. I hope this helps.
  135.  
  136.                                  Glen
  137.  
  138.