home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / FET_142.ARJ / FETOOL.DOC < prev    next >
Encoding:
Text File  |  1994-09-08  |  31.3 KB  |  909 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.                                                                 FETool
  15.                                         Value added tools for FastEcho
  16.                                                           Version 1.42
  17.  
  18.                                                           User's Guide
  19.  
  20.                                        Send questions and comments to:
  21.                                      Joerg Michael, 2:244/1129@fidonet
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.      Contents
  33.  
  34.      1. Features  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
  35.  
  36.      2. Shareware Notice, Legal Stuff and Disclaimer  . . . . . . . . . . 3
  37.  
  38.        2.1  Differences in the registered version . . . . . . . . . . . . 3
  39.  
  40.      3. Software environment  . . . . . . . . . . . . . . . . . . . . . . 4
  41.  
  42.        3.1  Hard-/Software Requirements . . . . . . . . . . . . . . . . . 4
  43.        3.2  Finding FASTECHO.CFG  . . . . . . . . . . . . . . . . . . . . 4
  44.        3.3  Configuration and options . . . . . . . . . . . . . . . . . . 4
  45.        3.4  FETOOL environment variable . . . . . . . . . . . . . . . . . 5
  46.        3.5  The log file  . . . . . . . . . . . . . . . . . . . . . . . . 5
  47.        3.6  Credits . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
  48.  
  49.      4. Command Reference . . . . . . . . . . . . . . . . . . . . . . . . 6
  50.  
  51.        4.1  Area list functions . . . . . . . . . . . . . . . . . . . . . 6
  52.        4.2  DELAREAS  . . . . . . . . . . . . . . . . . . . . . . . . . . 7
  53.        4.3  DOREQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
  54.        4.4  FAKEREQ . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
  55.        4.5  FTOSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
  56.        4.6  KILLZERO  . . . . . . . . . . . . . . . . . . . . . . . . . . 9
  57.        4.7  MAINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
  58.        4.8  MAINTCR . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  59.        4.9  STAT  . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  60.  
  61.      Appendix A. Errorlevels  . . . . . . . . . . . . . . . . . . . . .  11
  62.  
  63.      Appendix B. Examples . . . . . . . . . . . . . . . . . . . . . . .  12
  64.  
  65.        B.1  Batch file examples . . . . . . . . . . . . . . . . . . . .  12
  66.        B.2  FAKEREQ list file . . . . . . . . . . . . . . . . . . . . .  12
  67.  
  68.      Appendix C. Reporting Problems and Obtaining Updates . . . . . . .  13
  69.  
  70.        C.1  Reporting Problems  . . . . . . . . . . . . . . . . . . . .  13
  71.        C.2  Obtaining Updates . . . . . . . . . . . . . . . . . . . . .  13
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.      Contents                                                             i
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.      1. Features
  96.  
  97.  
  98.  
  99.                 ■■■■■■■■  ■■■■■■■■  ■■■■■■■■                  ■
  100.                ■■        ■■           ■■                     ■
  101.               ■■■■■■    ■■■■■■       ■■   ■■■■■■   ■■■■■■   ■
  102.              ■■        ■■           ■■   ■    ■   ■    ■   ■
  103.             ■■        ■■           ■■   ■    ■   ■    ■   ■
  104.            ■■        ■■■■■■■■     ■■   ■■■■■■   ■■■■■■   ■
  105.           
  106.                   FETool - FastEcho value added Tools
  107.  
  108.  
  109.  
  110.      FETool is a collection of utilities for use with the FastEcho echomail
  111.      processor by Tobias Burchhardt.  It provides the following features:
  112.  
  113.      ■   For  FrontDoor/InterMail  users:  automatic  maintenance  of  your
  114.          FOLDER.FD/.CFG  file  beyond  FastEcho's  auto   create   feature.
  115.          Deletes areas from FrontDoor's/InterMail's setup  when  they  have
  116.          been deleted from FastEcho's area  setup.   Adds  areas  you  have
  117.          created manually to your mailer's editor  setup.   The  registered
  118.          version also checks for crosslinked areas.
  119.  
  120.      ■   For points and nodes without  downlinks:  provides  an  integrated
  121.          basic file echo processor that processes standard *.TIC files  and
  122.          moves the associated files to  subdirectories  according  to  file
  123.          area names.   Files  can  be  announced  in  a  netmail  and  are,
  124.          optionally, CRC32 checked.
  125.  
  126.      ■   Create echo area  lists  for  different  purposes.   Command  line
  127.          switches  let  you  define  the  listing  by  'groups'  and  'read
  128.          security'    levels    as    well    as    by     storage     type
  129.          (HMB/Fido/Squish/JAM/PT).  The available formats are:
  130.  
  131.          1.  'human readable' with comment,  group,  security  levels,  and
  132.              information on passthru/'rescan'able' status.
  133.          2.  FastEcho AreaFix compatible, used for FastEcho's area  request
  134.              forwarding feature.
  135.          3.  simple list containing only area tags, perfect input file  for
  136.              DELAREAS and FAKEREQ commands.
  137.          4.  list of "passive" areas.  Some people like to kill these.
  138.          5.  list of area tags ordered by group letters
  139.          6.  list of active areas for a specific system
  140.          7.  list of Squish type areas in AREAS.BBS format for editors  and
  141.              maintenance tools.
  142.          8.  Yuppie! point system compatible [Yuppie!  is  a  german  point
  143.              package This list will be turned into a nice area request menu
  144.              at the Yuppie-point.
  145.          9.  For nodes: create a list of passthru areas with only one  link
  146.              ('empty' areas).  Also perfect input to DELAREAS.
  147.  
  148.  
  149.  
  150.  
  151.      Features                                                             1
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.      ■   create AreaFix requests on the fly.  No need to create a netmail -
  159.          just connect and disconnect areas from the command line.
  160.  
  161.      ■   For nodes: create 'fake' AreaFix requests from your  downlinks  to
  162.          *your* AreaFix to connect them to echo areas, to  send  them  area
  163.          setup information or the help file.  Simply:  create  requests  on
  164.          behalf of your downlinks.
  165.  
  166.      ■   "Delete" echo areas from FastEcho by command line  or  list  file.
  167.          This function will only delete areas with  exactly  one  link  and
  168.          will automatically create areafix-unlink  requests  to  shut  down
  169.          these areas.
  170.  
  171.      ■   Automatically delete zero  length  netmail  message  files.   Some
  172.          programs may leave these behind due to bugs.
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.      Features                                                             2
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.      2. Shareware Notice, Legal Stuff and Disclaimer
  222.  
  223.  
  224.      This is copyrighted software owned by Joerg Michael.  It is NOT public
  225.      domain or freeware.  You are granted a TEMPORARY license to  try  this
  226.      software for EVALUATION purposes ONLY !
  227.  
  228.      You may use this package for an evaluation period of 30  days.   After
  229.      this time you have to register FETool or stop using it! Any  other  or
  230.      further use of this software is strictly forbidden and may  result  in
  231.      legal action!
  232.  
  233.      To register FETool, please  refer  to  LICENSE.DOC  and  REGISTER.ARJ,
  234.      which contains README.REG and the order forms (REGISTER.*).
  235.  
  236.      FETool is provided 'as is', without  warranty  of  any  kind,  neither
  237.      expressed  nor  implied.   I  only  guarantee   FETool   will   occupy
  238.      diskspace.
  239.  
  240.      In no event will  the  author  be  liable  to  you  for  any  damages,
  241.      including  lost  profits,  lost  savings  or   other   incidental   or
  242.      consequential damages arising out of the use or the inability  to  use
  243.      this program.
  244.  
  245.      All mentioned products and packages are copyrighted by and  trademarks
  246.      of their respective holders.
  247.  
  248.      Upon registration you will  have  a  key  file  to  unlock  the  added
  249.      features.  These key files are copyrighted  material  owned  by  Joerg
  250.      Michael and MUST NOT be distributed, hacked, reverse  engineered  etc.
  251.      If you don't follow these rules, your license expires immediately  and
  252.      legal actions may be taken against you.
  253.  
  254.  
  255.      2.1  Differences in the registered version
  256.  
  257.  
  258.      The unregistered version has the following limitations:
  259.  
  260.      ■   Message base storage type  option  ("-Type")  for  area  lists  is
  261.          ignored.
  262.      ■   The DELAREAS command is limited to 3 area names per list file.
  263.      ■   The FTOSS command is limited to process only one file per run  and
  264.          will not scan the _secure_ inbound directory.
  265.      ■   MAINT only does passes 1 and 2.
  266.  
  267.      In the unregistered evaluation version there are  also  two  beeps  at
  268.      startup to remind you of FETool's unregistered status.
  269.  
  270.      As registered user, you may use beta versions if you wish to do so.
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.      Shareware Notice, Legal Stuff and Disclaimer                         3
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.      3. Software environment
  285.  
  286.  
  287.      3.1  Hard-/Software Requirements
  288.  
  289.  
  290.      FETool requires/supports:
  291.  
  292.      ■   Intel 80x86 or compatible CPU
  293.      ■   256 KB RAM, more if many areas/links
  294.  
  295.      ■   MS DOS 3.3 or later
  296.      ■   FastEcho Tosser Version 1.25 or later (1.40 recommended)
  297.      ■   FrontDoor 2.02 or later w/ QBBS/FIDO message base for MAINT
  298.      ■   InterMail 2.21 w/ QBBS/FIDO message base for MAINT
  299.  
  300.  
  301.      3.2  Finding FASTECHO.CFG
  302.  
  303.  
  304.      FETool uses the following logic to find FASTECHO.CFG:
  305.  
  306.      1.  if the FE environment variable  is  set,  look  in  the  directory
  307.          pointed to by FE.
  308.      2.  if the FE variable is not set, look in the current directory.
  309.      3.  if not found, scan the directories in PATH for fastecho.cfg
  310.  
  311.      If FASTECHO.CFG cannot be found by this method, FETool will abort with
  312.      an appropriate message.
  313.  
  314.  
  315.      3.3  Configuration and options
  316.  
  317.  
  318.      FETOOL's options can be specified in three different ways:
  319.  
  320.      ■   FETOOL.CFG located in the same directory as FETOOL.EXE
  321.      ■   FETOOL environment variable
  322.      ■   command line options
  323.  
  324.      Generally, FETOOL.CFG can be overridden by  the  environment  variable
  325.      which in turn  can  be  overridden  by  command  line  options.   Note
  326.      however, that not all options can be specified in all three forms  and
  327.      that some options cannot be overridden once specified.  See FETOOL.CFG
  328.      for a sample configuration.
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.      Software environment                                                 4
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.      3.4  FETOOL environment variable
  348.  
  349.  
  350.      Some of the command line options can be 'pre-set'  in  an  environment
  351.      variable named  "FETOOL".   The  following  settings  can  be  set  as
  352.      defaults, SEC= and GROUPS= can be overridden from the command line.
  353.  
  354.      ┌───────────────┬────────────────────────────────────────────────────┐
  355.      │ Item          │Meaning                                             │
  356.      ├───────────────┼────────────────────────────────────────────────────┤
  357.      │ SEC=<nnn>     │default "-Sec" value                                │
  358.      ├───────────────┼────────────────────────────────────────────────────┤
  359.      │ GROUPS=<list> │default "-Groups" value                             │
  360.      ├───────────────┼────────────────────────────────────────────────────┤
  361.      │ NOHELP        │NOHELP will skip the areafix metacommands           │
  362.      │               │inserted at the top of the Yuppie!-type             │
  363.      │               │area listing.                                       │
  364.      ├───────────────┼────────────────────────────────────────────────────┤
  365.      │ AUTO          │specify "-Auto" mode to MAINT                       │
  366.      ├───────────────┼────────────────────────────────────────────────────┤
  367.      │ DEBUG         │enable verbose logging                              │
  368.      └───────────────┴────────────────────────────────────────────────────┘
  369.  
  370.      NOHELP, AUTO cannot be overriden from the command line.
  371.  
  372.      When setting the environment, separate options with commas, as in
  373.  
  374.      SET FETOOL=AUTO,SEC=100,GROUPS=AILS
  375.  
  376.  
  377.      3.5  The log file
  378.  
  379.  
  380.      FETool can append information  to  FastEcho's  logfile.   To  activate
  381.      logging, you need to set the 'LogLevel' keyword in  FETOOL.CFG  to  an
  382.      appropriate value other than 'None'.   The  possible  log  levels  are
  383.      'Debug', 'Inform' and 'Error'.  'Debug' will provide the most detailed
  384.      log information, while 'Error' will only log  serious  problems.   You
  385.      should use at least 'Error'.  Processing information displayed on  the
  386.      screen may be set by the 'LogLevelScreen' keyword.
  387.  
  388.      FETool will automatically select the appropriate log file format  from
  389.      FESetup (FD/IM, D'Bridge, Binkley).
  390.  
  391.  
  392.      3.6  Credits
  393.  
  394.  
  395.      Obviously,  FETool  would  not  have  been  possible  without   Tobias
  396.      Burchhardt's  FastEcho,  the  best  tosser   in   the   galaxy.    The
  397.      registration key scheme is  loosely  based  on  Brian  Pirie's  REGKEY
  398.      package.  The CRC routines are copyrighted material owned by Arjen  G.
  399.      Lentz and LENTZ SOFTWARE-DEVELOPMENT.  The configuration  file  parser
  400.      was created by Gilles Kohl.
  401.  
  402.  
  403.      Software environment                                                 5
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.      4. Command Reference
  411.  
  412.  
  413.      For quick help, run FETool without parameters  and  the  program  will
  414.      display a list of available commands and how to get more  online  help
  415.      on specific commands.
  416.  
  417.  
  418.      4.1  Area list functions
  419.  
  420.  
  421.      The list functions are used to create area lists in several  different
  422.      formats for different purposes.  You can select or filter areas to  be
  423.      listed by three criteria:  group  letters,  read  security  level  and
  424.      message base storage type.
  425.  
  426.      By default, i.e.  when no options are specified,  areas  in  groups  A
  427.      thru Z with read security 0 in any kind of message base format will be
  428.      listed.  Therefore, you will generally want to specify  at  least  the
  429.      "-Sec" (urity) parameter to get meaningful lists, otherwise only areas
  430.      with read security level of 0 will be listed.
  431.  
  432.      If you specify ' -Groups * ', areas in all groups will be included  in
  433.      the list.  This may be useful to override a default groups  option  in
  434.      the environment variable.
  435.  
  436.      To indicate that you want only areas in a specific message base format
  437.      listed, use the "-Type" option.  Valid arguments to "-Type" are  QBBS,
  438.      FIDO, SQUISH, JAM, PT (PassThrough).
  439.  
  440.      E.g.: FETOOL AREAS JAMLIST.TXT -SEC 1000 -GROUPS F -TYPE JAM
  441.  
  442.      The following table contains the criteria an area  must  match  to  be
  443.      listed for each list command.  All listed criteria must apply  for  an
  444.      area to be included in the list.
  445.  
  446.      ┌───────────────┬────────────────────────────────────────────────────┐
  447.      │ Command       │Criteria for listing                                │
  448.      ├───────────────┼────────────────────────────────────────────────────┤
  449.      │ AFIXLIST      │area is <EchoMail>                                  │
  450.      │               │area matches -Groups, -Sec and -Type                │
  451.      ├───────────────┼────────────────────────────────────────────────────┤
  452.      │ AREAS         │area is <EchoMail>                                  │
  453.      │               │area matches -Groups, -Sec and -Type                │
  454.      ├───────────────┼────────────────────────────────────────────────────┤
  455.      │ EMPTY         │area is <EchoMail>                                  │
  456.      │               │area is <Passthrough>                               │
  457.      │               │area is not <Passive>                               │
  458.      │               │area has only one link                              │
  459.      │               │area matches -Groups, -Sec and -Type                │
  460.      ├───────────────┼────────────────────────────────────────────────────┤
  461.      │ GROUPS        │area matches -Groups, -Sec and -Type                │
  462.      └───────────────┴────────────────────────────────────────────────────┘
  463.  
  464.  
  465.  
  466.      Command Reference                                                    6
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.      ┌───────────────┬────────────────────────────────────────────────────┐
  474.      │ TAGS          │area is <EchoMail>                                  │
  475.      │               │area matches -Groups, -Sec and -Type                │
  476.      ├───────────────┼────────────────────────────────────────────────────┤
  477.      │ MEMBER        │area is active for specified system                 │
  478.      ├───────────────┼────────────────────────────────────────────────────┤
  479.      │ PASSIVE       │area is <EchoMail>                                  │
  480.      │               │area is <Passive>                                   │
  481.      │               │area matches -Groups, -Sec and -Type                │
  482.      ├───────────────┼────────────────────────────────────────────────────┤
  483.      │ SQUISH        │area is <Squish>                                    │
  484.      │               │area matches -Groups and -Sec                       │
  485.      ├───────────────┼────────────────────────────────────────────────────┤
  486.      │ YUPPIE        │area is <EchoMail>                                  │
  487.      │               │area matches -Groups, -Sec and -Type                │
  488.      └───────────────┴────────────────────────────────────────────────────┘
  489.  
  490.  
  491.      4.2  DELAREAS
  492.  
  493.  
  494.      This command is used to delete one area or an  entire  list  of  areas
  495.      from FastEcho and to automatically create unlink  requests  for  these
  496.      areas.  You may specify areas to be deleted on the command line or  in
  497.      a list file, which may have been created  by  EMPTY  or  PASSIVE.   To
  498.      prevent you from accidentally disconnecting downlinks from areas, only
  499.      areas with exactly one link can be deleted with DELAREAS.
  500.  
  501.      Remember to run FETOOL MAINT after DELAREAS to update your  FD  folder
  502.      setup as well.  Also note that you  will  end  up  with  'messages  in
  503.      undefined boards' if you delete areas  that  you  also  have  in  your
  504.      messagebase.  This is normal and nothing to  worry  about.   The  next
  505.      message base purge/pack will 'fix' this for you.
  506.  
  507.      Of course, there's a potential pitfall: let's assume you  DELAREAS  an
  508.      area.  It no longer exists in your setup.  Life is beautiful  and  you
  509.      feel happy.  Then, when your system calls your uplink to  deliver  the
  510.      unlink request, it picks up a mail  bundle  containing  mails  in  the
  511.      deleted area ....  -> see 'badmail' and 'auto-area create' in FastEcho
  512.      :-) Such is life.  Just DELAREAS it again and it'll be gone for good.
  513.  
  514.      FETool will rename your current FASTECHO.CFG  to  FASTECHO.BAK  before
  515.      re-writing the file.
  516.  
  517.      DELAREAS will process a maximum of 1000 areas in one run.
  518.  
  519.  
  520.      4.3  DOREQ
  521.  
  522.  
  523.      The DOREQ command allows you to create AreaFix to any of your  uplinks
  524.      from the command line.  Basically, DOREQ works like  FAKEREQ  decribed
  525.      below - look there for details.  The syntax is exactly  the  same  for
  526.      both commands, the only difference is that with DOREQ you specify your
  527.  
  528.  
  529.      Command Reference                                                    7
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.      uplink's address instead of your downlink's address.
  537.  
  538.  
  539.      4.4  FAKEREQ
  540.  
  541.  
  542.      There are often situations where a sysop needs to connect  a  downlink
  543.      to some areas or have FastEcho send  help  or  link  information.   Of
  544.      course you can use FESetup to connect the downlink, but  with  FAKEREQ
  545.      you can do it all on the command line *and* the downlink will  receive
  546.      AreaFix receipts for your actions.
  547.  
  548.      You can also prepare a list file used when connecting  new  downlinks,
  549.      i.e.  to rescan and connect local areas, point discussion areas and to
  550.      automatically send the AreaFix help text  to  the  downlink.   For  an
  551.      example of a  listfile  used  to  'initialize'  new  points,  see  the
  552.      examples section at the end of this document.
  553.  
  554.      If you use 4DOS and wish to enter areafix metacommands (e.g.  %rescan)
  555.      from the command line, you must use '%%' to prefix the metacommands.
  556.  
  557.  
  558.      4.5  FTOSS
  559.  
  560.  
  561.      The FTOSS  command  is  a  TIC  file  processor  for  systems  without
  562.      downlinks.  FTOSS will read *.TIC files in your inbound directory  (if
  563.      you use FD or IM, the directory will be determined from your  mailer's
  564.      setup, otherwise FE's inbound directory will be  used)  and  move  the
  565.      associated files into subdirectories below your inbound  directory  or
  566.      below a specified 'filebase root directory.  The directory names  will
  567.      be the first eight characters of the file area name - so  there  *may*
  568.      be overlaps.  These subdirectories will be  automatically  created  as
  569.      needed.   FILES.BBS  files  will  be  appended   with   filename   and
  570.      description and a netmail to yourself will be created  announcing  the
  571.      new files.
  572.  
  573.      Note that even though FETool also scans the secure inbound  directory,
  574.      the file area directories will always be  created  below  the  regular
  575.      inbound directory, unless the 'FileBase' option is used.
  576.  
  577.      If you specify the "-Announce" or "-a" option, FTOSS will only  create
  578.      the announcement netmail and not move any files or delete .TIC files.
  579.  
  580.      The "-NoAnnounce" or "-na" option will skip the announcement netmail.
  581.  
  582.      Use "-FileBase" to specify a 'filebase root dir'.  You  will  probably
  583.      want to set this up in FETOOL.CFG so you  don't  have  to  specify  it
  584.      every time you run FTOSS manually.
  585.  
  586.      The "-AutoReplace" or "-ar" option was added on  special  request  for
  587.      the following scenario: A node frequently hatches files with the  same
  588.      name but without the 'Replaces' keyword in the .TIC file.  This option
  589.      will set the 'Replaces' filename to the current 'File' filename if the
  590.  
  591.  
  592.      Command Reference                                                    8
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.      'Replaces' keyword was not present in the .TIC file.
  600.  
  601.      In the unregistered version, FTOSS will only process  one  *.TIC  file
  602.      per run and not scan the secure inbound directory.
  603.  
  604.  
  605.      4.6  KILLZERO
  606.  
  607.  
  608.      Some programs may sometimes leave zero length  *.MSG  in  the  netmail
  609.      directory behind when they exit.  Once you have identified  a  program
  610.      with this buglet, you can run "FETool  KillZero"  after  the  "problem
  611.      software".  Zero length netmail files may cause confusion within  some
  612.      other pieces of software.
  613.  
  614.  
  615.      4.7  MAINT
  616.  
  617.  
  618.      MAINT allows you to update your mailer's editor folder setup, provided
  619.      your mailer is FrontDoor or InterMail.  FastEcho's area setup is  used
  620.      as a reference to which your editor's setup will  be  synchronized  by
  621.      performing the following 5 steps:
  622.  
  623.      1.  For all FD/IM QBBS folders, check if an area with  the  same  QBBS
  624.          board number exists in FE.  If not, delete the folder from FD/IM.
  625.  
  626.      2.  For all FE QBBS areas, check if a folder with the same QBBS  board
  627.          number exists in FD/IM.  If not, create the folder in FD/IM.
  628.  
  629.      3.  For all FD/IM *.MSG areas without FD's 'local' flag, check  if  an
  630.          area with the same name exists in FE.  If not, delete folder  from
  631.          FD/IM.
  632.  
  633.      4.  For all FE *.MSG areas, check if an area with the same name exists
  634.          in FD/IM.  If not, create *.MSG folder in FD/IM.
  635.  
  636.      5.  Check for crosslinks in FastEcho's area configuration.
  637.  
  638.      Note that steps 3-5 are only available to registered users.
  639.  
  640.      For QBBS, please consider: if you delete a QBBS-area iun  FESetup  and
  641.      immeditately create a new area re-using the same board  number,  MAINT
  642.      will not see the change in FastEcho's setup because the  board  number
  643.      is present in both the old and new setups.  Run  MAINT  before  adding
  644.      new areas in FESetup.
  645.  
  646.      Note  that  any  other  (private,  local)  folders   you   define   in
  647.      FDSETUP/IMSETUP should have the local flag set  to  make  sure  FETool
  648.      will never delete them  because  they  are  not  defined  in  FESetup.
  649.      'Local' is used as safety switch.
  650.  
  651.      Before FETool rewrites FOLDER.FD/.CFG, the current version is  renamed
  652.      to FOLDER.BAK.
  653.  
  654.  
  655.      Command Reference                                                    9
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.      For areas added to FOLDER.FD/.CFG, FETool will attempt to find an  AKA
  663.      in the mailer's setup that matches the zone  used  for  that  area  in
  664.      FESetup.  Note: if you have more than one aka for one zone, make  sure
  665.      the one you want to use for echomail is listed  before  the  other  in
  666.      FDSetup.
  667.  
  668.      Also note that '-Comment' and '-Tags' options  are  never  applied  to
  669.      FIDO style *.MSG folders.  The tag will always be used.  The area name
  670.      should never be changed in FDSETUP for *.MSG areas.
  671.  
  672.  
  673.      4.8  MAINTCR
  674.  
  675.  
  676.      Basically the same as  MAINT,  but  FOLDER.FD/.CFG  will  *always*  be
  677.      created from scratch.  This means that some folders  you  created  for
  678.      FD/IM may be deleted if they are not present and defined  as  echomail
  679.      in FESETUP.  Use with caution!
  680.  
  681.  
  682.      4.9  STAT
  683.  
  684.  
  685.      This command will  generate  a  netmail  to  you  listing  some  vital
  686.      statistics for your mail system such as free space on inbound, message
  687.      base and outbound  drives,  size  of  MSGTXT.BBS  and  total  outbound
  688.      ARCmail size.  It will also inform you of .QQQ files in your  outbound
  689.      and .BAD files in your inbound directories.
  690.  
  691.      FETool will hilight crtitical values by using the quote marks ('>').
  692.  
  693.      Usually, this would be run once daily  during  the  daily  maintenance
  694.      event.
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.      Command Reference                                                   10
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.      Appendix A. Errorlevels
  726.  
  727.  
  728.      FETool will return specific errorlevels to DOS in certain  situations.
  729.      You may want to check for these in batch files.
  730.  
  731.      ┌─────┬──────────────────────────────────────────────────────────────┐
  732.      │ RC  │Meaning                                                       │
  733.      ├─────┼──────────────────────────────────────────────────────────────┤
  734.      │ 0   │no error, normal exit                                         │
  735.      ├─────┼──────────────────────────────────────────────────────────────┤
  736.      │ 1   │command line error, invalid command or parameter              │
  737.      ├─────┼──────────────────────────────────────────────────────────────┤
  738.      │ 2   │no error, help was displayed.  nothing was done.              │
  739.      ├─────┼──────────────────────────────────────────────────────────────┤
  740.      │ 3   │FD environment variable not set for MAINT command             │
  741.      ├─────┼──────────────────────────────────────────────────────────────┤
  742.      │ 4   │invalid address/other problem with FAKEREQ command            │
  743.      ├─────┼──────────────────────────────────────────────────────────────┤
  744.      │ 5   │FastEcho.cfg revision level not supported, i.e.  pre 1.21     │
  745.      ├─────┼──────────────────────────────────────────────────────────────┤
  746.      │ 6   │Problem with registration/key file/"registered only" feature. │
  747.      ├─────┼──────────────────────────────────────────────────────────────┤
  748.      │ 11  │error opening a file                                          │
  749.      ├─────┼──────────────────────────────────────────────────────────────┤
  750.      │ 12  │error reading from a file                                     │
  751.      ├─────┼──────────────────────────────────────────────────────────────┤
  752.      │ 13  │error writing to file                                         │
  753.      ├─────┼──────────────────────────────────────────────────────────────┤
  754.      │ 14  │memory allocation error                                       │
  755.      └─────┴──────────────────────────────────────────────────────────────┘
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.      Appendix A. Errorlevels                                             11
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.      Appendix B. Examples
  789.  
  790.  
  791.      B.1  Batch file examples
  792.  
  793.  
  794.      In my midnight maintenance batch file, I do the following:
  795.  
  796.          rem -- create list of squish areas for timEd
  797.          fetool squish areas.sq -sec 1000 -groups *
  798.           
  799.          rem -- find and delete "empty" areas
  800.          fetool empty areas.lst -sec 1000 -groups *
  801.          fetool delareas @areas.lst
  802.           
  803.          rem -- find and delete "passive" areas
  804.          fetool passive areas.lst -sec 1000 -groups *
  805.          fetool delareas @areas.lst
  806.           
  807.          rem -- synchronize FD's editor with FE
  808.          fetool maint -auto
  809.  
  810.       
  811.  
  812.      After tossing ...
  813.  
  814.          if not exist newareas.fe goto continue
  815.             rem -- create new area lists for downlinks/Yuppie points
  816.             fetool yuppie r:\service\areas.yup -groups AILSG -sec 100
  817.             fetool areas r:\service\areas.lst -groups AILSG -sec 100
  818.          :continue
  819.  
  820.  
  821.      B.2  FAKEREQ list file
  822.  
  823.  
  824.      To connect new points to my system and supply them with some areas  to
  825.      get started with, I use the following command and list file:
  826.  
  827.      FETool FakeReq .<n> @newpoint.lst
  828.  
  829.      NEWPOINT.LST contains:
  830.  
  831.          %help
  832.          %info
  833.          %avail
  834.          %rescan
  835.          cave.info
  836.          cave.points
  837.          points.244
  838.          %msgs 5
  839.          cave.test
  840.  
  841.  
  842.  
  843.  
  844.      Appendix B. Examples                                                12
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.      Appendix C. Reporting Problems and Obtaining Updates
  852.  
  853.  
  854.      C.1  Reporting Problems
  855.  
  856.  
  857.      If you encounter a reproducable problem with FETool and wish to report
  858.      it to me by netmail, please do the following - after making  sure  you
  859.      are using the latest version of FETool:
  860.  
  861.      ■   in your FETOOL.CFG file, specify "LogLevel=Debug".  If you do  not
  862.          use a configuration file for FETOOL, create a new file  FETOOL.CFG
  863.          and include the above LogLevel statement or  SET  FETOOL=DEBUG  in
  864.          the DOS environment.
  865.      ■   run FETOOL with the command that gives you the problem.  Make sure
  866.          you use the same optional parameters as you  did  when  you  first
  867.          discovered the problem.
  868.      ■   run FETOOL DIAG
  869.  
  870.      Please include the logfile extract produced by the previous  TWO  runs
  871.      of FETOOL and  your  FETOOL.CFG  with  your  problem  report  netmail.
  872.      Obviously, feel free to include  any  other  files  you  feel  may  be
  873.      helpful in diagnosing/reproducing the problem.
  874.  
  875.  
  876.      C.2  Obtaining Updates
  877.  
  878.  
  879.      Obviously, you can always f'request the latest version from my  system
  880.      using the following magic filenames:
  881.  
  882.      ■   FETOOL for the latest publicly released version.
  883.      ■   FETOOLB for the  latest  and  greatest  beta  version.   The  file
  884.          obtained via this magic name may actually be updated several times
  885.          a day.
  886.  
  887.      To make sure you are always using the latest  version,  here  is  some
  888.      information on how FETool is distributed via file echos:
  889.  
  890.      ■   New releases are hatched into the FASTECHO file echo.   This  file
  891.          echo is rather widely spread, so you should be able  to  find  the
  892.          latest FETool wherever you found the latest FastEcho.
  893.  
  894.      ■   Major beta versions are hatched into the appropriate FastEcho beta
  895.          file echo.  Therefore, FastEcho beta sites should also have  major
  896.          FETool beta versions.
  897.  
  898.      ■   There is also a rather private file echo, FETOOLB,  that  you  may
  899.          link into if you are a registered user.   To  link  into  FETOOLB,
  900.          contact me via netmail.
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.      Appendix C. Reporting Problems and Obtaining Updates                13
  908.  
  909.