home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / TGFAQ_A2.ZIP / FAQ1.TXT < prev    next >
Text File  |  1998-08-15  |  6KB  |  162 lines

  1. FD2.25 and FD2.12                                             Date:15AUG98
  2.  
  3. Hello all!
  4. In reference to several queries on how to setup TG 3.09G2, I have put
  5. together a simple help file.  It contains examples of some ways to do
  6. things for a simple, single node system mostly.  In order to make it easier to
  7. follow, I have used 'generic conventional' names and paths through out the
  8. FAQ.  You do NOT need to use the same ones, and for added security you SHOULD
  9. change them.  You will find a general reference to the names used, at the end.
  10.  
  11. The softwares used are primarily FrontDoor version 2.25 or FD2.12, DOS 
  12. version 5.0, and Telegard (current version 3.02 at this moment).  If you have 
  13. a 14.4 modem and desire to run FD 2.02, you will need to edit the 'FRODO.BAT' 
  14. file to remove the baud rates the earlier version did not support, and add 
  15. the baud rate 600 if desired.  If you have a 28.8 or better modem, you will
  16. need to upgrade to FD2.12 or higher to support it properly.  While FD is the 
  17. primary one dealt with here it probably isn't that radically different in 
  18. concept for other front end softwares.
  19.  
  20. FD2.25 has only one method of passing the errorlevel.  This FAQ shows the 
  21. DOBBS/EXEBBS method required for FD2.25/SW users and usable by earlier FD
  22. versions.  The second FAQ shows the 'one bat file, errorlevel method' which 
  23. may be used with FD2.12/SW or below.  The essential difference for those 
  24. using FD2.12/SW and below is in having one long bat file, or several short 
  25. ones.
  26.  
  27. There is also some added capability in the DOBBS/EXEBBS method as it allows
  28. you to pass the time of the next FD event, and /ARQ connection information.
  29. Suit yourself to what you like best if using FD2.12/SW and below.
  30.  
  31.       1.  Go into FD config, and make sure you have assigned a number to
  32.       each baud rate connecting to your system.  In this example, we used
  33.       errorlevel 200 for all connection speeds and turned on the 'create bat
  34.       file option' in FD.
  35.  
  36.       2.  Add the following to your 'frodo.bat' file or just replace your
  37.       old one with this example then add in what you need for your setup.
  38.  
  39.  
  40. ---- begin FRODO.BAT-----
  41.  
  42. @Echo off
  43. c:
  44. cd \fd
  45. :Start
  46.  
  47.    
  48.    Cd\fd
  49. fd
  50.    If ERRORLEVEL 253 Goto Mail_Out
  51.    If ERRORLEVEL 252 Goto Make_Node
  52.    If ERRORLEVEL 209 Goto Mail_Test  ;Function Key activated
  53.    If ERRORLEVEL 201 Goto FB100
  54.    If ERRORLEVEL 200 Goto Connect
  55.  
  56. Goto end
  57.  
  58. :Mail_Out     ;Gecho 1.11+ specific, adapt as needed!
  59. c:
  60. cd c:\fd
  61. AT H1 1
  62. DEL c:\tg\tgmscan.now
  63. GEcho toss -NOMGR
  64. GEcho scan
  65. GEcho MGR
  66. MBUTIL pack -renumber -link -purge
  67. Goto Start
  68.  
  69. :Make_Node
  70. If Exist c:\fd\file\nodediff.* Goto Node_Here
  71. Goto Start
  72.  
  73. :Node_Here
  74. Copy c:\fd\file\nodediff.* c:\fd\nodelist
  75. cd c:\fd\nodelist
  76. editnl 
  77. cd c:\fd
  78. fdnc /f
  79. Goto Start
  80.  
  81. :FB100        ;external event in FD to do 'stuff' as needed
  82. CD \tg\FFS    ;for online games and other items needed nightly
  83. FISHMANT
  84. CD \FD
  85. mbutil pack -renumber -link -purge
  86. cd \tg
  87. INDEX BUILD ALL
  88. INDEX SORT ALL
  89. cd \tg\goc
  90. maint
  91. cd \fd
  92. call tickout.bat      ; processes inbound filebone
  93. Goto Start
  94.  
  95. :Connect       ;here begins the connection sequence
  96. call dobbs0.bat        ;note FD2.25 makes dobbs0.bat
  97.                        ;FD2.12 and below makes DOBBS.BAT
  98.  
  99. :Mail_Test
  100. IF EXIST C:\TG\ECHOMAIL.TG? GOTO Mail_Out
  101. Goto Start
  102.  
  103. :End          
  104. -----end FRODO.BAT-------
  105.  
  106. DOBBS0.BAT is created by FD each BBS call, and it then activates EXEBBS.BAT
  107. which you design.  (Reminder, in FD2.12 it is DOBBS.bat).
  108.  
  109. EXEBBS.BAT (This file is activated by DOBBS0.BAT or DOBBS.BAT):
  110.  
  111. ----begin EXEBBS.BAT--------------
  112.  
  113. C:
  114. CD \TG
  115. TELEGARD -B%1 -X%3 -N%4 -C%5 -Q
  116. If Not Exist c:\tg\ECHOMAIL.TG? GoTo End
  117. Del c:\tg\ECHOMAIL.TG?
  118. cd \fd
  119. Gecho Toss
  120. Gecho Scan
  121. :END
  122. Frodo                         ; your FD batch file
  123.  
  124. This is a very basic batch file to startup TG with the DOBBS process. Make
  125. note that if you use another filename for your 'FD.BAT' other than 'FRODO.BAT'
  126. you will need to change it here too!  If you dont, your BBS will land in
  127. 'zululand' because it wont know what to do after a caller exits!
  128.  
  129. (Note:  %1=baud, %2=port, %3=time till next event, %4=node if multinode, 
  130. %5=other modem connect info such as if it is an ARQ connection)
  131.  
  132. Informational assistance provided by Kevin Watkins.
  133.  
  134. Note, this version shows also how to scan for mail left by a caller and
  135. packing if they left any outbound mail by checking for the existance of a
  136. ECHOMAIL.TG? file.  This is optional and the mail_test routine shows for local
  137. sysop mail.  The echomail.tg? means in place of the ? to use J for Jam or S 
  138. for Squish.
  139.  
  140. For informational purposes, here is a rundown of some of the lines you may not
  141. be familiar with:
  142.   AT H1 1 -  This is a common software which is called AT.COM and manipulates
  143.   your modem.  In this case, it is taking a modem on Com1, offline.  Depending
  144.   on your modem brand, you may not need an extra utility to do this.  Both FD
  145.   and TG have the capability of taking the modem offline for you.  It is there
  146.   only for assistance of those sysops who's modems wont stay offline with FD's
  147.   codes.
  148.  
  149.   EDITNL - This is one of the many nodediff merging softwares on the market.
  150.   Depending on your version, the addition of the /KILL switch, will also
  151.   delete the old nodediffs.  It was included only as an example, and you
  152.   should use whatever you find at a local dial.  Mergenl is widely available
  153.   and does the same thing.
  154.  
  155.   MBUTIL - Gecho specific packer for message bases.  See the 3rd FAQ for other
  156.   examples of tossing/packing sequences you may use for your needs.
  157.  
  158.  End FAQ 1.
  159.                                  xxcarol
  160.                                  TG Beta Norfolk
  161.  
  162.