FD212/SW specific!                                       Date:26JUN98

Hello all!
In reference to several queries on how to setup TG 3.09G1, I have put
together a simple help file.  It contains examples of some ways to do
things for a simple, single node system mostly.  In order to make it easier to
follow, I have used 'generic conventional' names and paths through out the
FAQ.  You do NOT need to use the same ones, and for added security you SHOULD
change them.  You will find a general reference to the names used, at the end.

The softwares used are primarily FrontDoor version 2.12/sw, DOS version 5.0,
and Telegard (current version 3.02 at this moment).  If you have a 14.4
modem and desire to run FD 2.02, you will need to edit the 'FRODO.BAT' file
to remove the baud rates the earlier version did not support, and add the
baud rate 600 if desired.  If you have a 28.8 or better modem, you will
need to upgrade to FD2.12 to support it properly.  While FD is the primary
one dealt with here it probably isn't that radically different in concept for
other front end softwares.

Note:  This FAQ will NOT work with FD225/SW!

FD202-212 has two methods of passing the baud rate.  This FAQ shows the
errorlevel method all in one batch file.  The next one will show another
method, suitable for FD225/SW users as well as FD202-212 users.


      1.  Go into FD config, and make sure you have assigned a number to
      each baud rate connecting to your system.  Use the same numbers I
      have below in the 'frodo.bat' file if you wish or swap them to others
      and match them in the 'frodo.bat' file to the new ones.  It will be
      easier and safe to use the ones I post.

      2.  Add the following to your 'frodo.bat' file or just replace your
      old one with this example then add in what you need for your setup.

;---- begin FRODO.BAT----
@Echo off
c:
cd \fd
:Start

   Cd\fd
fd
   If ERRORLEVEL 253 Goto Mail_Out
   If ERRORLEVEL 252 Goto Make_Node
   If ERRORLEVEL 200 Goto FB100
   If ERRORLEVEL 046 Goto 2880_Baud
   If ERRORLEVEL 045 Goto 2640_Baud
   If ERRORLEVEL 044 Goto 24000_Baud
   If ERRORLEVEL 043 Goto 2160_Baud
   If ERRORLEVEL 042 Goto 1920_Baud
   If ERRORLEVEL 041 Goto 1680_Baud
   If ERRORLEVEL 040 Goto 1440_Baud
   If ERRORLEVEL 039 Goto 12_Baud
   If ERRORLEVEL 038 Goto 9600_Baud
   If ERRORLEVEL 037 Goto 7200_baud
   If ERRORLEVEL 036 Goto 4800_baud
   If ERRORLEVEL 035 Goto 2400_Baud
   If ERRORLEVEL 034 Goto 1275_baud
   If ERRORLEVEL 033 Goto 1200_Baud
   If ERRORLEVEL 032 Goto 300_Baud

Goto end

:Mail_Out     ; Gecho 1.11+ specific, adapt as needed!
c:            ; other examples for other tossers later in
cd c:\fd      ; FAQ
AT H1 1
GEcho toss -NOMGR
GEcho scan
GEcho MGR
MBUTIL pack -renumber -link -purge
Goto Start

:Make_Node
If Exist c:\fd\file\nodediff.* Goto Node_Here
Goto Start

:Node_Here
Copy c:\fd\file\nodediff.* c:\fd\nodelist
cd c:\fd\nodelist
editnl 
cd c:\fd
fdnc /f
Goto Start

:FB100        ;external event in FD to do 'stuff' as needed
CD \tg\FFS    ;for online games and other items needed nightly
FISHMANT      ; specific to FFS online game
CD \FD
mbutil pack -renumber -link -purge
cd \tg
INDEX SORT ALL      ;TG Maintenance
INDEX BUILD ALL     ;TG Maintenance
cd \fd
call tickout.bat    ;Tosses filebone. See FAQ #3 for example of it
Goto Start

:2880_baud       ;here begins the connection sequence
cd \tg
Telegard -b28800 -q
Goto Mail_test

:2640_baud
cd \tg
Telegard -b26400 -q
Goto Mail_test

:24000_baud
cd \tg
Telegard -b24000 -q
Goto Mail_test

:2160_Baud
cd \tg
Telegard -b21600 -q
Goto Mail_test

:1920_Baud
cd \tg
telegard -b19200 -q
Goto Mail_Test

:1680_Baud
cd \tg
Telegard -b16800 -q
Goto Mail_Test

:1440_Baud
cd \tg
Telegard -b14400 -q
goto mail_test

:12_Baud
cd \tg
Telegard -b12000 -q
Goto Mail_test

:9600_Baud
cd \tg
telegard -b9600 -q
Goto Mail_Test

:7200_Baud
cd \tg
Telegard -b7200 -q
Goto Mail_Test

:4800_baud
cd \tg
Telegard -b4800 -q
Goto Mail_Test

:2400_Baud
cd \tg
telegard -b2400 -q
Goto Mail_Test

:1275_Baud
cd \tg
Telegard -b1275 -q
Goto mail_test

:1200_Baud
cd \tg
telegard -b1200 -q
Goto Mail_Test

:300_Baud
cd \tg
telegard -b300 -q
Goto Mail_Test

:Mail_Test
If NOT Exist c:\TG\ECHOMAIL.TG# goto Start
del c:\TG\ECHOMAIL.TG#
Goto Mail_Out
                             ; note TG# means TGJ for Jam or TGS for Squish


:End          
---end FRODO.BAT----

Now that was a big 'frodo.bat' file.  The other method is shorter and
involves replacable parameters direct via FD.  I'll show it next FAQ.

For informational purposes, here is a rundown of some of the lines you may not
be familiar with:
  AT H1 1 -  This is a common software which is called AT.COM and manipulates
  your modem.  In this case, it is taking a modem on Com1, offline.  Depending
  on your modem brand, you may not need an extra utility to do this.  Both FD
  and TG have the capability of taking the modem offline for you.  It is there
  only for assistance of those sysops who's modems wont stay offline with FD's
  codes.

  EDITNL - This is one of the many nodediff merging softwares on the market.
  Depending on your version, the addition of the /KILL switch, will also
  delete the old nodediffs.  It was included only as an example, and you
  should use whatever you find at a local dial.  Mergenl is widely available
  and does the same thing.

  MBUTIL - Gecho specific packer for message bases.  See the 3rd FAQ for other
  examples of tossing/packing sequences you may use for your needs.

End part 1.
                                 xxcarol
                                 TGbeta Norfolk

