home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / bbs / DOOR / AMU / AMU.DOC < prev    next >
Encoding:
Text File  |  1976-11-24  |  116.3 KB  |  2,500 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                ┌╦═════════╦┐┌╦════╦════╦┐┌╦┐       ┌╦┐
  27.                │║         ║││║    ║    ║││║         ║│
  28.                │║         ║││║    ║    ║││║         ║│
  29.                │╠═════════╣││║   └╩┘   ║││║         ║│
  30.                │║         ║││║         ║││║         ║│
  31.                │║         ║││║         ║││║         ║│
  32.                │║         ║││║         ║││║         ║│   3.10
  33.                └╩┘       └╩┘└╩┘       └╩┘└╩═════════╩┘
  34.  
  35.  
  36.  
  37.                                     The Automated Maintenance Utility
  38.                                                    by David L. Hickey
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                              Table of Contents
  56.  
  57.     1  Introduction
  58.       1.1    What is AMU? . . . . . . . . . . . . . . . . . . .  1
  59.       1.2    Hardware and software requirements . . . . . . . .  2
  60.       1.3    Features . . . . . . . . . . . . . . . . . . . . .  3
  61.       1.4    License and disclaimer . . . . . . . . . . . . . .  5
  62.  
  63.     2  AMUCFG.EXE
  64.       2.1    Installation . . . . . . . . . . . . . . . . . . .  7
  65.       2.2    System Data  . . . . . . . . . . . . . . . . . . .  8
  66.       2.3    File Manager . . . . . . . . . . . . . . . . . . .  14
  67.       2.4    User/Msg Manager . . . . . . . . . . . . . . . . .  27
  68.       2.5    Bulletin Manager . . . . . . . . . . . . . . . . .  34
  69.       2.6    File List Manager  . . . . . . . . . . . . . . . .  41
  70.       2.7    External Utilities . . . . . . . . . . . . . . . .  44
  71.       2.8    Archives . . . . . . . . . . . . . . . . . . . . .  45
  72.       2.9    Maintenance  . . . . . . . . . . . . . . . . . . .  48
  73.       2.10   Edit Files . . . . . . . . . . . . . . . . . . . .  50
  74.       2.11   Command Line Parameters  . . . . . . . . . . . . .  51
  75.  
  76.     3  AMU.EXE
  77.       3.1    Operation  . . . . . . . . . . . . . . . . . . . .  52
  78.       3.2    Command Line Parameters  . . . . . . . . . . . . .  53
  79.  
  80.     4  Registration . . . . . . . . . . . . . . . . . . . . . .  57
  81.  
  82.     5  Credits  . . . . . . . . . . . . . . . . . . . . . . . .  58
  83.  
  84.     6  Technical notes  . . . . . . . . . . . . . . . . . . . .  59
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.     AMU               Automated Maintenance Utility          Page   1
  107.  
  108.  
  109.                   1 - Introduction
  110.  
  111.     1.1 - What is AMU?
  112.  
  113.  
  114.     AMU is designed to incorporate many popular options into a single
  115.     program, thus eliminating the need to use several small utilities.
  116.     AMU's predecessor was  RAMAN  ( RemoteAccess Manager )  which was
  117.     first released on 02 January 1991.  Many things were learned from
  118.     RAMAN's life, and these things were reflected in what is now AMU.
  119.     AMU v3.10 is available in 16bit DOS, 32bit DPMI, 32bit OS/2,
  120.     and 32bit Windows versions.  The DOS and DPMI versions are
  121.     distributed together as AMU310D.ZIP, the OS/2 version as
  122.     AMU310P.ZIP, and the Windows version as AMU310W.ZIP.
  123.  
  124.     Each archive has been compressed using Pkzip 2.04g with
  125.     authenticity verification.  When you unzip your copy, if you did
  126.     NOT see:
  127.  
  128.            Authentic files verified!  #MJO229  DAVID HICKEY
  129.  
  130.     the archive may have been  tampered with.  You may NOT change the
  131.     contents of or change the format of the original distribution ZIP
  132.     archive.
  133.  
  134.  
  135.  
  136.     AMU               Automated Maintenance Utility          Page   2
  137.  
  138.  
  139.     1.2 - Hardware and software requirements
  140.  
  141.  
  142.     AMU supports the following BBS packages:
  143.  
  144.                      * Concord 0.01
  145.                      * LoraBBS 2.40
  146.                      * Maximus 2.02 - 3.01
  147.                      * ProBoard 2.15
  148.                      * QuickBBS 2.76a, 2.81
  149.                      * RemoteAccess 1.11 - 2.50
  150.                      * SuperBBS 1.17-3
  151.  
  152.     AMU will also recognize the log file formats of D'Bridge,  Portal
  153.     of Power,  InterMail,  BinkleyTerm, FrontDoor,  MainDoor, Bluewave,
  154.     McMail, Xenia, JC-QWK, Silver Xpress, and OLMS.  As far as
  155.     hardware is concerned, if you are running any of the mentioned
  156.     packages, you already have the proper hardware to run AMU.  AMU
  157.     requires a minimum of 300k of RAM to run.  The DOS version will
  158.     require more depending upon how large each of your file areas are.
  159.     For example, if your largest file area is roughly 100k, AMU will
  160.     require 400k total to execute properly. There are some external
  161.     programs that are called by AMU as needed. They are (de)compression
  162.     utilities for the following archive formats: ARC, ARJ, LZH, PAK,
  163.     SQZ, HAP, RAR, UC2, ZIP, and ZOO.  Also up to five (5) virus
  164.     scanners may be used.  One or more of these may be required
  165.     depending on the options you enable.
  166.  
  167.  
  168.  
  169.     AMU               Automated Maintenance Utility          Page   3
  170.  
  171.  
  172.     1.3 - Features
  173.  
  174.  
  175.           * Sort file listings alphabetically
  176.           * Add headers to file listings
  177.           * Update download counters for BBS and Mailer logs
  178.           * Pack the file database (RemoteAccess & Concord only)
  179.           * Adopt missing files
  180.           * Remove orphaned file entries from file listings
  181.           * Create FILE_ID.DIZ or DESC.SDI file descriptions for the
  182.             files in your download areas.
  183.           * Backup file listings
  184.           * Rearchive files
  185.           * Scan files for virus infection (notifies Sysop if virus
  186.             found)
  187.           * Add comments to ARJ, RAR, and ZIP files
  188.           * Compress text files found in the file areas
  189.           * Move files with no description
  190.           * Move or delete files older than X days
  191.           * Perform maintenance on a Daily, Weekly, Monthly, or
  192.             Interval basis via control files
  193.           * Post messages to new users
  194.           * Post messages to users who upload
  195.           * Post messages to users who drop carrier
  196.           * Post messages to users on their birthday
  197.           * Post messages to users when their subscription is
  198.             about to expire
  199.           * Inform users when their credit is low
  200.           * Pick random menus/textfiles
  201.           * Clean user records
  202.           * Generate top user bulletins
  203.           * Generate file area overview bulletin
  204.           * Generate Message base overview bulletin
  205.           * Generate Daily Upload and Download activity bulletin
  206.           * Generate Doors Usage overview bulletin
  207.           * Generate a Today's Birthdays bulletin
  208.           * Generate a bulletin with a list of subscription expirations
  209.           * Generate a Today's Callers bulletin
  210.           * Generate a User List bulletin
  211.           * All bulletins are fully configurable
  212.           * Create Allfiles listings
  213.           * Create Newfiles listings
  214.           * Create dated archives
  215.           * Trim files to a certain number of bytes
  216.           * Promote/Demote users based on the number of files/kbs
  217.             downloaded, uploaded, number of calls  and posts,
  218.             upload:download ratios, and Post:Call ratios, and
  219.             subscription expiration.
  220.  
  221.     AMU               Automated Maintenance Utility          Page   4
  222.  
  223.  
  224.           * Support for the  Hudson, GoldBase, JAM, *.MSG, and Squish
  225.             message base formats
  226.           * Create list of requestable directories
  227.           * Message base locking for operation in a multi-node
  228.             environment
  229.  
  230.     AMU               Automated Maintenance Utility          Page   5
  231.  
  232.  
  233.     1.4 - License and Disclaimer
  234.  
  235.     The Automated Maintenance Utility consists of all files contained
  236.     within the  distribution archive and is hereafter referred to as
  237.     AMU. Before running AMU, you must read and agree to the following
  238.     conditions.  If you do not or can not agree to and accept all of
  239.     the following conditions, you are prohibited from using AMU.
  240.  
  241.  
  242.          * AMU  is copyrighted  material by  David L. Hickey  and may
  243.            only be used  in accordance  with the conditions set forth
  244.            in this license agreement.
  245.  
  246.          * AMU  is being distributed under the " Shareware " concept.
  247.            You may evaluate  AMU  for a period  not to  exceed thirty
  248.            (30) calendar days.  After thirty (30) calender days,  you
  249.            MUST either register AMU  or stop using it.  To register    
  250.            AMU, refer to Section 4 of this document.
  251.  
  252.          * All care has been taken to  ensure that AMU does what this
  253.            document states.  However, AMU is provided as-is,  without
  254.            any warranties or guarantees of any kind, either expressed
  255.            or implied.
  256.  
  257.          * In no event shall David L. Hickey be liable to you or to
  258.            anyone else for any type of damages or costs incurred from
  259.            the use of or inability to use AMU.
  260.  
  261.          * David L. Hickey is not obligated in any way to provide any
  262.            future versions of or support for AMU. 
  263.     
  264.          * In the event future versions of AMU are released, David L.
  265.            Hickey reserves  the rights not to  release them under the
  266.            shareware concept,  and to charge a nominal upgrade charge
  267.            should it be deemed appropriate.  
  268.  
  269.          * AMU may not be used by, and/or distributed by any persons,
  270.            organizations,  or associations involved  with/in any type
  271.            of illegal activities including,  but not limited to,  the
  272.            promoting or committing of software piracy.
  273.                          
  274.          * AMU may only be used by, distributed by, and registered by
  275.            physical persons and organizations who are not engaged in
  276.            any type of illegal activity.  The use of AMU in an
  277.            environment where illegal activity is taking place is
  278.            strictly prohibited.
  279.  
  280.  
  281.     AMU               Automated Maintenance Utility          Page   6
  282.  
  283.  
  284.          * No compensation for the distribution of AMU may be charged
  285.            or accepted without prior written permission from David L.
  286.            Hickey.
  287.  
  288.          * AMU may not be altered, reverse engineered, or modified in
  289.            any way.  Only the original, unaltered AMU archive may be
  290.           distributed.
  291.  
  292.  
  293.     AMU               Automated Maintenance Utility          Page   7
  294.  
  295.  
  296.                               2 - AMUCFG.EXE
  297.  
  298.     2.1 - Installation
  299.  
  300.  
  301.     If you are reading this file, the installation program has already
  302.     installed the AMU executables to the proper directory. If you plan
  303.     on running AMU from a directory other than the system directory,
  304.     you should set the AMU environment variable to allow AMU to find
  305.     it's data files.  As an example,  you would place the following
  306.     line in your AUTOEXEC.BAT or CONFIG.SYS file:
  307.  
  308.                              SET AMU=C:\AMU
  309.  
  310.     In addition, you must have your COMSPEC environment variable set to
  311.     specify the location of your operating system's command processor.
  312.     Examples for DOS, 4DOS, and OS/2 follow respecitively:
  313.  
  314.                         SET COMSPEC=C:\COMMAND.COM
  315.                         SET COMSPEC=C:\4DOS.COM
  316.                         SET COMSPEC=C:\OS2\CMD.EXE
  317.  
  318.     If you are running AMUCFG under DESQview, you should have 'Writes
  319.     directly to the screen' set to Yes in the window you will be
  320.     running AMUCFG from.  If you do not do this,  it could cause some
  321.     problems.  Experimentation has also shown that running in Stealth
  322.     mode under QEMM can cause sporadic problems.
  323.  
  324.     Each option is described in the order you will encounter them in
  325.     AMUCFG.  It is suggested that you print this document before
  326.     setting up AMU so you can follow along.
  327.  
  328.  
  329.     AMU               Automated Maintenance Utility          Page   8
  330.  
  331.  
  332.     2.2 - Configuration (System Data)
  333.  
  334.     Information pertaining to the type of software you are using, where
  335.     various things are located, and other system information are
  336.     defined in this section.
  337.  
  338.  
  339.     2.2.1 - System
  340.  
  341.     Sysop name      Your real name.  Your registration key will be
  342.                     generated according to what you define in this
  343.                     field.  The key will be case sensitive which means
  344.                     that DAVID HICKEY is different than David Hickey.
  345.  
  346.     Sysop alias     If you have an alias on your system, define it
  347.                     here. Otherwise, just enter your real name again.
  348.  
  349.     BBS name        The name of your BBS.  This field is not used to
  350.                     generate your keyfile.
  351.  
  352.     Date format     The date format AMU should use in it's bulletins   
  353.                     for your system.  You may define a format of
  354.                     MM-DD-YY, MM-YY-DD, DD-MM-YY, DD-YY-MM, YY-DD-MM,
  355.                     or YY-MM-DD where 'MM' is the month, 'DD' is the
  356.                     day, and 'YY' is the year minus 1900.
  357.  
  358.     Swapping        The method AMU should use to swap itself out of
  359.                     memory to execute an external program.  Valid
  360.                     choices, in order of priority, are XMS/EMS/DISK,
  361.                     XMS/EMS, and DISK.  This is applicable only for the
  362.                     16bit DOS version.
  363.  
  364.     BBS Software    Here you define the BBS software you are running.
  365.  
  366.     Mailer Software Here you define the type of mailer you are running,
  367.                     or 'None' if you are not running a mailer.
  368.  
  369.     Alias System    If you run an Alias-Only system and do not want    
  370.                     users' real names to appear in any bulletins or
  371.                     messages, set this option to Yes.
  372.  
  373.     Post Log        If this is set to Yes, AMU will post a copy of the
  374.                     logfile for the current run to you in the Sysop
  375.                     message area.
  376.  
  377.     Post Errors     If this is set to Yes, and AMU encountered any
  378.                     errors during it's run, it will post a list of 
  379.                     those errors to you.
  380.  
  381.    AMU               Automated Maintenance Utility          Page   9
  382.  
  383.  
  384.     Post Area       Message area where AMU can post messages to the
  385.                     sysop.  Messages that would go into this area
  386.                     include the messages from the Post Log and Post
  387.                     Errors entries above as well as notification if a
  388.                     file fails a virus scan.
  389.  
  390.     Switch          This option allows you to rotate your menus,
  391.                     textfiles, or just about any other file on your
  392.                     system on a random basis.  The control information
  393.                     is found in SWITCH.CTL which is an ASCII text file
  394.                     in the AMU system directory of the following
  395.                     format:
  396.  
  397.                         -<target1 name>
  398.                          <choice1>
  399.                          <choice2>
  400.                          <choice3>
  401.                              ...
  402.                          <choice50>
  403.                         -<target2 name>
  404.                          <choice1>
  405.                              ...
  406.                          <choice50>
  407.                         -
  408.  
  409.  
  410.     This may seem a bit complex, so first is an explanation and then an
  411.     example.  The first line begins with a hyphen followed by the full
  412.     path/filename of the file which is to be rotated.  Next, you may
  413.     define up to 50 possible files that this can be replaced by.  You
  414.     repeat this for as many target files as you'd like.  The .CTL file
  415.     is then terminated by one line with a hyphen in the first column. 
  416.     For example:
  417.  
  418.  
  419.                   -C:\RA\TXTFILES\NEWS.ANS
  420.                    C:\RA\TXTFILES\MAIN.ANS
  421.                    C:\RA\TXTFILES\LOGO.ANS
  422.                   -C:\RA\TXTFILES\NEWS.ASC
  423.                    C:\RA\TXTFILES\MAIN.ASC
  424.                    C:\RA\TXTFILES\LOGO.ASC
  425.                   -
  426.  
  427.     The file C:\RA\TXTFILES\NEWS.ANS may be replaced by either the
  428.     MAIN.ANS or the LOGO.ANS file. (picked at random)  The file
  429.     C:\RA\TXTFILES\NEWS.ASC may be replaced by MAIN.ASC or LOGO.ASC,
  430.     again, picked at random.  The final hyphen denotes the end of the
  431.     file.
  432.  
  433.    AMU               Automated Maintenance Utility          Page   10
  434.  
  435.  
  436.     Clean           If this is set to Yes, AMU will attempt to tidy up
  437.                     your user files a bit in the location field.  For
  438.                     example, if a user entered aNNAPOLIS, mD as their
  439.                     location, AMU would change this to Annapolis, Md. 
  440.  
  441.     Log level       Here you specify the amount of detail you want AMU
  442.                     to log to it's logfile.  Minimal means that only
  443.                     errors are reported, Normal means that errors are
  444.                     reported as well as a report of which set of
  445.                     options are being executed, and Extensive includes
  446.                     a little more than Normal which can be helpful for
  447.                     debugging purposes.
  448.  
  449.     Old Config      When AMU starts up, if it detects that your BBS
  450.                     configuration is different than the last time it
  451.                     ran, you can set it to Abort, Use the Old Data, or
  452.                     Import the New Data.
  453.  
  454.     Password        Password required to access AMUCFG.
  455.  
  456.     Date Sep.       The character you want AMU to use to separate
  457.                     portions of a date.  For example, if today is
  458.                     January 26 1997 and you specify this to be a '-',
  459.                     AMU will display the date as 01-26-97.
  460.  
  461.  
  462.    AMU               Automated Maintenance Utility          Page   11
  463.  
  464.  
  465.     2.2.2 - Pathnames
  466.  
  467.     AMU Path        Directory where your AMU configuration files are
  468.                     located.  Your AMU.KEY file will also go to this
  469.                     directory when you register. <hint, hint>
  470.  
  471.     BBS Path        Directory to the message & file area configuration
  472.                     files for your BBS software.
  473.  
  474.     Work Path       Directory where AMU can decompress archives.  This
  475.                     should be located on a drive with plenty of free
  476.                     space.  A RAM drive is not recommended.
  477.  
  478.     User Path       Directory where your user files are located.
  479.  
  480.     HMB Path        Directory to where your Hudson message base is
  481.                     located.  If you are using the QuickBBS 2.80
  482.                     GoldBase format, enter the path here to your
  483.                     GoldBase files.
  484.  
  485.     FDB Path        If you are running RemoteAccess 2.xx or using
  486.                     Concord's file database, this is the directory
  487.                     where your filebase is located.
  488.  
  489.     CDROM List      For RemoteAccess 1.11 systems, this is the
  490.                     directory where your FILES.nnn lists are located
  491.                     for your CD-ROM areas.
  492.  
  493.  
  494.  
  495.    AMU               Automated Maintenance Utility          Page   12
  496.  
  497.  
  498.     2.2.3 - Filenames
  499.  
  500.  
  501.     AMU Log         Path/filename for your AMU logfile.
  502.  
  503.     Freq Dirs       Path/filename for the file which will contain a
  504.                     list of requestable directories. (described later)
  505.  
  506.     DOS Editor      Path/filename of the external text editor you would
  507.                     like to use to edit your text/control files for
  508.                     AMU. The DOS version of AMUCFG will call the editor
  509.                     in this field.
  510.  
  511.     OS/2 Editor     Path/filename of the external text editor you would
  512.                     like to use to edit your text/control files for
  513.                     AMU.  The OS/2 version of AMUCFG will call the
  514.                     editor in this field, although it is not required
  515.                     that this be a native OS/2 editor.
  516.  
  517.  
  518.  
  519.    AMU               Automated Maintenance Utility          Page   13
  520.  
  521.  
  522.     2.2.4 - Logfiles
  523.  
  524.     In this section you can define up to 32,000 logfiles for AMU to
  525.     look at.  Several of AMU's options gather information from your
  526.     system logfiles, and this is where you define each one that
  527.     AMU should access.  AMU will not know where your logfiles are
  528.     located unless you enter them here!
  529.  
  530.  
  531.     Filename        Full path and filename of this logfile.
  532.  
  533.     Type            What type of logfile is this - RemoteAccess,
  534.                     QuickBBS, ProBoard, etc.
  535.  
  536.     Enabled         Whether or not AMU should use information from this
  537.                     logfile.
  538.  
  539.  
  540.  
  541.    AMU               Automated Maintenance Utility          Page   14
  542.  
  543.  
  544.     2.3 - Configuration (File Manager)
  545.  
  546.     On this menu you will set up the way AMU handles your file areas.
  547.     There are two steps to this: first you define global settings which
  548.     will affect all file areas, then you customize each individual
  549.     area.
  550.  
  551.  
  552.     2.3.1 - Global Options
  553.  
  554.     On this menu you will define those options which affect all file
  555.     areas you have AMU maintain.
  556.  
  557.     Missing Desc    This is the default description to be used for
  558.                     files AMU's Adopt function adopts.
  559.  
  560.     Ext. Char       For FILES.BBS based systems, it is necessary to use
  561.                     characters which indicate which lines are part of
  562.                     long descriptions as opposed to just extraneous
  563.                     comments.  Here you may define up to 10 such
  564.                     characters.  If you have AMU set up to import
  565.                     FILE_ID.DIZ type descriptions, it will use the
  566.                     first character you define here as it's default.
  567.  
  568.     Semicolon Ok?   This is related to the above field.  If you set
  569.                     this to Yes, AMU will treat the semicolon as a 
  570.                     valid extended description delimiter.  Ordinarily,
  571.                     lines which begin with a semicolon are treated as
  572.                     comment lines.
  573.  
  574.     Ext. Offset     This is related to the above two fields.  This is
  575.                     the column in which extended descriptions begin. 
  576.                     When AMU reads the file entry it does not matter
  577.                     which column the extended descriptions are found
  578.                     in.  However, when AMU rewrites the FILES.BBS, this
  579.                     is the column in which it will place the extended
  580.                     descriptions.
  581.  
  582.     Left Bracket    This is the character used as the left delimiter
  583.                     for your download counters.  The default is a '['.
  584.            
  585.     Right Bracket   This is the character used as the right delimiter
  586.                     for your download counters.  The default is a ']'.
  587.     
  588.  
  589.    AMU               Automated Maintenance Utility          Page   15
  590.  
  591.  
  592.     Counter Width   If this is non-zero, AMU will pad your download
  593.                     counters to have at least this many digits.  If 
  594.                     you have this set to two and the file has been
  595.                     downloaded 100 times, AMU will automatically expand
  596.                     the width for that file to three places rather than
  597.                     truncate it.  If you set this to zero, it will
  598.                     disable download counters from being added.  In
  599.                     fact, it will tell AMU to strip the download
  600.                     counters from your file listings.
  601.  
  602.     Max DIZ Lines   This is the maximum number of lines you want AMU to
  603.                     import from FILE_ID.DIZ type files.  If you set
  604.                     this to zero, AMU will import the entire
  605.                     description.
  606.  
  607.     Max DIZ Width   This is the maximum width of each line imported
  608.                     from FILE_ID.DIZ type files.  If this is non-zero
  609.                     and a line exceeds the specified value, that line
  610.                     will be truncated to the proper width.  If you set
  611.                     this to zero, AMU will not care how long each line
  612.                     is.
  613.  
  614.     Mult Desc Lines If this is set to Yes, when AMU imports FILE_ID.DIZ
  615.                     type files it will import it line by line.  If you
  616.                     set this to No, AMU will import the description as
  617.                     one long, continuous line.  Some BBS packages such
  618.                     as Maximus require the description to be all on one
  619.                     line.
  620.  
  621.     Max Single Line If you have the above option set to No (which tells
  622.                     AMU to import FILE_ID.DIZ on one line), this is the
  623.                     maximum length of that line.  Again, some packages
  624.                     have an upper limit of 255 or 1024 characters for
  625.                     their description lines.
  626.  
  627.  
  628.    AMU               Automated Maintenance Utility          Page   16
  629.  
  630.  
  631.     Kill Bad Arcs   This is a very powerful and potentially dangerous
  632.                     switch.  If this is set to Yes, when an external
  633.                     decompression utility returns a non-zero errorlevel
  634.                     after attempting to decompress a file, AMU will
  635.                     assume that this means the archive is bad and will
  636.                     delete it.  Use this with extreme caution!  It is
  637.                     designed to aid Sysops in removing corrupted
  638.                     archives but if for some reason your decompression
  639.                     utilities are configured incorrectly and report
  640.                     that a file is bad when it is not, this could
  641.                     cause you to lose many files.  If you are
  642.                     interested in using this option to clean out your
  643.                     file areas, I strongly recommend that you first run
  644.                     AMU with this turned Off so you can make sure the
  645.                     decompression utilities are not returning invalid
  646.                     errorlevels.  Use this with caution!!
  647.  
  648.     Change Uploader This option is available only for RemoteAccess
  649.                     2.02, RemoteAccess 2.50, and Concord 0.01 systems
  650.                     which are using the file database.  If this option
  651.                     is turned On, AMU will insert the Sysop's name as
  652.                     the uploader for any file which has either no
  653.                     uploader specified or which has 'AMU' defined as
  654.                     the uploader.
  655.  
  656.     Skip Nested Arc If this option is set to Yes, AMU will not attempt
  657.                     to rearchive or perform a virus scan on nested
  658.                     archives.  The default is to check and convert
  659.                     nested archives.
  660.  
  661.     Create File Lists  If this option is set to Yes AMU will create
  662.                        the FILES.BBS or FDB for any area without one.
  663.  
  664.  
  665.    AMU               Automated Maintenance Utility          Page   17
  666.  
  667.  
  668.     2.3.2 - File Area Manager
  669.  
  670.     This menu represents the heart of AMU - the actual file area
  671.     maintenance options.  Previous versions of AMU will perform each
  672.     option one at a time on each file area which caused AMU to read,
  673.     process, and rewrite each file area many times.  Needless to say,
  674.     this was not efficient.  This version of AMU handles this in a
  675.     "one pass" mode - when it starts, the first file area which has
  676.     at least one option turned On is read into memory.  From there, all
  677.     option you have enabled for that file area are performed in memory,
  678.     then the area is written back to disk.  AMU then will move on to
  679.     the next area.  While the advantage to this is obvious, there is
  680.     one significant disadvantage: Memory usage.  If you have large file
  681.     areas, it could take quite a bit of memory to read the entire
  682.     area's information.  This is, of course, not a concern for those
  683.     using the DPMI, OS/2, or Windows version.  However it can be a
  684.     problem for those using the 16bit DOS version.  For that reason, if
  685.     you experience memory problems with the 16bit version and you have
  686.     at least a 386 CPU, try running the DPMI version to solve this
  687.     problem.  Also, unlike previous versions, AMUCFG stores the file
  688.     area information from your BBS configuration in CONFIG.AMU for
  689.     optimal performance.  If you change your BBS file area
  690.     configuration, you must also run AMUCFG so it can update it's
  691.     internal database.  You will NOT lose any of your settings when
  692.     AMUCFG re-imports the new file area information.  To aid in
  693.     configuring each file area, there are several function keys
  694.     available which may be used:
  695.  
  696.     F2  -  This will let you make Global changes to the file area
  697.            settings.
  698.     F3  -  This will copy the settings of the current area to those you
  699.            select.
  700.     F4  -  This will jump to a specified file area
  701.  
  702.     In addition, AMU does not support multi-volume archives.  As such, if
  703.     it encounters a multi-volume ARJ or RAR archive and you have turned on
  704.     any option which would ordinarily cause the archive to be modified,
  705.     those options will not be performed for the multi-volume archives.
  706.  
  707.     With that out of the way, here are the options available for each
  708.     file area:
  709.  
  710.  
  711.    AMU               Automated Maintenance Utility          Page   18
  712.  
  713.  
  714.     Storage Type    This tells AMU how the current file area is stored.
  715.                     Valid choices are: FILES.BBS, RemoteAccess FDB, and
  716.                     Concord FDB.  When AMU imports the file area
  717.                     information from your BBS configuration, it will
  718.                     automatically set this to the proper value.  The
  719.                     option to change the storage type is offered for
  720.                     those who, for example, run a FILES.BBS based
  721.                     system but use an external door which allows them
  722.                     to utilize the RemoteAccess or Concord file
  723.                     database format.
  724.  
  725.     CD-ROM area     This tells AMU whether or not the current file area
  726.                     is located on a CD-ROM.  For those BBS packages
  727.                     which have a setting for this in their file area
  728.                     configuration,  AMU will take care of setting this
  729.                     for you.  However, some of the older software does
  730.                     not have such a setting and you will need to set
  731.                     this manually for your CD areas.  Just use the
  732.                     Global Change option (F2) to easily make this
  733.                     change.
  734.  
  735.     Format          This is related to the above option.  If the
  736.                     current area is a CD-ROM area, there are three
  737.                     different formats it's FILES.BBS may be in. (if you
  738.                     are using the RA FDB or Concord FDB storage type,
  739.                     skip this option)  Here you choose whether the
  740.                     format is in:
  741.  
  742.                     <filename> <description>,
  743.                     <filename> <filesize> <description>,
  744.                     <filename> <date> <description>,
  745.                     <filename> <filesize> <date> <description>,
  746.                                  or
  747.                     <filename> <date> <filesize> <description>
  748.  
  749.     Sort            If this enabled, AMU will sort the file entries of
  750.                     the current file area in one of six methods which
  751.                     you choose below.
  752.  
  753.  
  754.    AMU               Automated Maintenance Utility          Page   19
  755.  
  756.  
  757.     Sort Type       Here you define the method in which you want AMU to
  758.                     sort this file area.  Valid choices are:
  759.  
  760.  
  761.                     Normal             -  Alphabetical order (A-Z)
  762.                     Reverse            -  Reverse alphabetical order
  763.                                           (Z-A)
  764.                     Normal, new first  -  A-Z order with newer files
  765.                                           at the top
  766.                     Normal, old first  -  A-Z order with older files at
  767.                                           the top
  768.                     Reverse, new first  - Z-A order with newer files at
  769.                                           the top
  770.                     Reverse, old first  - Z-A order with older files at
  771.                                           the top
  772.  
  773.     Headers         This option allows AMU to add a header to the top
  774.                     of your file listings.  The text for the header is
  775.                     found, by default, in the file AMU.HDR.  You may,
  776.                     however, have unique headers for various file
  777.                     areas.  For example, if you create a file called
  778.                     AMU23.HDR, the text in AMU23.HDR will be added for
  779.                     area #23 instead of the default text in AMU.HDR.
  780.                     There are several macros available for use in the
  781.                     .HDR files. The format of a macro is best described
  782.                     by example:
  783.  
  784.                                 @SYSOP<<<<<<<<<<<<@
  785.  
  786.  
  787.                     This will be replaced by the name of the Sysop.
  788.                     The '<' tells AMU to left-justify the name, and the
  789.                     name will occupy 17 spaces (5 spaces taken up by
  790.                     'SYSOP', and the additional 12 denoted by the extra
  791.                     '<'s.  You can also use a '>' to tell it to be
  792.                     right justified, or a pipe ('|') to tell it to
  793.                     center the macro.  If you do not want any formatting
  794.                     to take place, simply use the macro as-is, i.g. just
  795.                     put @SYSOP@ where you want the Sysop's name to appear
  796.                     Following is a list of valid macros:
  797.  
  798.    AMU               Automated Maintenance Utility          Page   20
  799.  
  800.  
  801.                     @PRODUCT_ID@  -  Replaced by the version of AMU you
  802.                                      are running.  For example, this
  803.                                      version will replace this macro
  804.                                      with "AMU 3.10" (no quotes)
  805.                     @SYSOP@       - Replaced by the Sysop's real name.
  806.                     @ALIAS@       - Replaced by the Sysop's alias.
  807.                     @BBSNAME@     - Replaced by the BBS name.
  808.                     @FILES@       - Replaced by the number of files in
  809.                                     the current file area.
  810.                     @BYTES@       - Replaced by the number of bytes in
  811.                                     the current file area.
  812.                     @BYTESK@      - Replaced by the number of kilobytes
  813.                                     in the current file area (bytes /
  814.                                     1024).
  815.                     @DLS@         - Replaced by the number of downloads
  816.                                     in the current file area.
  817.                     @TOPFILE@     - Replaced by the filename of the
  818.                                     file that has been downloaded the
  819.                                     most from the current area.
  820.                     @TOPDLS@      - Replaced by the number of times
  821.                                     that @TOPFILE@ has been downloaded.
  822.                     @TOPSIZEB@    - Replaced by the number of bytes in
  823.                                     @TOPFILE@
  824.                     @TOPSIZEK@    - Replaced by the number of kilobytes
  825.                                     in @TOPFILE@
  826.                     @AREANUM@     - Replaced by the number of the
  827.                                     current area.
  828.                     @AREANAME@    - Replaced by the name of the current
  829.                                     area.
  830.                     @DATE@        - Replaced by the date on which AMU
  831.                                     added this header.
  832.                     @TIME@        - Replaced by the time at which AMU
  833.                                     added this header.
  834.                     @YEAR@        - Replaced by the current year
  835.                                     (i.g. 1997)
  836.                     @MONTHNUM@    - Replaced by the number of the
  837.                                     current month. (i.g. 6 for June)
  838.                     @MONTHNAME@   - Replaced by the name of the current
  839.                                     month. (i.g. October)
  840.                     @DAYNUM@      - Replaced by the current day of the
  841.                                     month.
  842.                     @DAYNAME@     - Replaced by the name of the current
  843.                                     day. (i.g. Wednesday)
  844.  
  845.    AMU               Automated Maintenance Utility          Page   21
  846.  
  847.  
  848.     Old             This option will take files that are older than a
  849.                     certain age and either move them to another
  850.                     file area or delete them.  For RemoteAccess systems
  851.                     using the RA Filebase, if a file entry is marked
  852.                     as Locked, AMU will not move or delete it.  In
  853.                     addition, this option looks for a text file called
  854.                     LOCKED.CTL in the AMU System Directory.  Any file
  855.                     found in LOCKED.CTL will not be moved or deleted
  856.                     under any circumstances.  If you are using the RA
  857.                     Filebase and have a LOCKED.CTL, AMU will set the
  858.                     Locked bit for the corresponding filebase entry
  859.                     of any file found in LOCKED.CTL.  This file is a
  860.                     straight ASCII text file, one filename per line.
  861.                     Wildcards are not valid. See the next three options
  862.                     for additional settings for the Old option.
  863.  
  864.     Delete/Move     Specifies whether the Old option should Delete old
  865.                     files or Move them to another file area.
  866.  
  867.     Days Old        Specifies the number of days old a file must be
  868.                     for the Old option to process it.
  869.  
  870.     UL Date         For RemoteAccess 2.xx systems, if this is set to Yes
  871.                     AMU will use the Upload Date in the FDB instead of
  872.                     the actual timestamp on the file to calculate the
  873.                     age of a file.
  874.  
  875.     New Area        If you have configured the Old option to Move files
  876.                     to another file area, this is the file area to
  877.                     which they will be moved.  This cannot be a CD-ROM
  878.                     area, obviously.
  879.  
  880.     Adopt           If a file is found in a file area directory but is
  881.                     not listed in your file listing for that area, this
  882.                     option will "adopt" it.  AMU looks for a file
  883.                     called NOADOPT.CTL while it is running.  In this
  884.                     file you  can define the names of files which you
  885.                     do NOT want AMU to adopt such as FILES.BBS,
  886.                     FILES.BAK, etc.  The default description for
  887.                     adopted files is defined in the previous section
  888.                     (Global Options, section 2.3.1).
  889.  
  890.     Orphan          If a file has an entry in the file listing but does
  891.                     not actually exist on disk, this option will remove
  892.                     it's entry from the listing.
  893.  
  894.  
  895.    AMU               Automated Maintenance Utility          Page   22
  896.  
  897.  
  898.     BBS D/L's       This option will update the download counters for
  899.                     any file downloaded from your BBS.  This
  900.                     information is gathered from your BBS logfile.  If
  901.                     a file was downloaded but does not have a download
  902.                     counter, AMU will add one for it.  If you are
  903.                     running a RemoteAccess 2.xx system, it is not
  904.                     recommended that you enable this option if RA is
  905.                     updating the counters for you already.  But if you do,
  906.                     RemoteAccess systems, the field in the FDB which
  907.                     records the date of the last time a file was
  908.                     downloaded will be updated as well.
  909.  
  910.     Mailer D/L's    This option will look at your mailer's logfile(s)
  911.                     and update the download counters for any file which
  912.                     was sent from your system.  Some files such as mail
  913.                     archives, .TIC files, .FLO files, etc are skipped
  914.                     since they are not really files on your BBS.  For
  915.                     RemoteAccess systems, the field in the FDB which
  916.                     records the date of the last time a file was
  917.                     downloaded will be updated as well.
  918.  
  919.     Backup          This option will create a backup of your file
  920.                     listings.
  921.  
  922.     Pack            If you are running a BBS type which uses a file
  923.                     database as opposed to the standard FILES.BBS, this
  924.                     option will 'Pack' the file database.  If you
  925.                     delete a file from your database, it will most
  926.                     likely only be marked for deletion.  This option
  927.                     will physically remove any entries marked for
  928.                     deletion.
  929.  
  930.  
  931.    AMU               Automated Maintenance Utility          Page   23
  932.  
  933.  
  934.     Rearchive       This option will rearchive files into the archive
  935.                     format of your choice.  While running, AMU looks
  936.                     for three files, if they exist:
  937.  
  938.                     1) NOREARC.CTL  - You can specify the filenames of
  939.                                       files which AMU should NOT
  940.                                       convert in this file.
  941.  
  942.                     2) TRASH.CTL   -  You can specify the filenames of
  943.                                       unwanted files in this file. 
  944.                                       After AMU has decompressed a
  945.                                       file, it will check this .CTL
  946.                                       file. Any file from the archive
  947.                                       which is present in this .CTL
  948.                                       file will be deleted prior to
  949.                                       being recompressed. This
  950.                                       effectively allows you to remove
  951.                                       files such as BBS ads 'on the
  952.                                       fly'.  Since this alters the
  953.                                       original archive, you should
  954.                                       think hard before enabling this -
  955.                                       most authors do not want their
  956.                                       archives to be tampered with, and
  957.                                       that includes ME!
  958.  
  959.                     3) ADD.CTL      - This is the inverse of the
  960.                                       TRASH.CTL file.  Any file entered
  961.                                       in ADD.CTL will be added to an
  962.                                       archive when AMU recompresses it.
  963.                                       The same warning applies here as
  964.                                       for TRASH.CTL above.
  965.  
  966.                     After AMU has converted an archive, it will update
  967.                     the extension and the filesize (if applicable) in
  968.                     the file listing.  AMU will also convert 'nested
  969.                     archives', that is, archives within an archive.
  970.  
  971.     Format          If the Rearchive option is enabled, this is the
  972.                     compression format you want the files recompressed
  973.                     into.  Currently ARC, ARJ, LZH, HAP, PAK, SQZ, UC2,
  974.                     RAR, ZIP, and ZOO are supported.
  975.  
  976.     Force Rearchive If this option is set to Yes, AMU's Rearchive
  977.                     option will re-compress archives even if they are
  978.                     in the proper format.  For example, if your
  979.                     Rearchive Format is set to ZIP and this switch is
  980.                     turned On, AMU will recompress all ZIP files in
  981.                     addition to rearchiving files in other formats.
  982.                     This recompression will only occur one time for
  983.                     each file.
  984.    AMU               Automated Maintenance Utility          Page   24
  985.  
  986.  
  987.     Honor -AV       If this is set to Yes, AMU will not modify any
  988.                     ZIP, ARJ, or RAR file which has a valid security
  989.                     envelope.
  990.  
  991.     Comments        This option allows you to add file comments to ZIP,
  992.                     ARJ, and RAR files.  The text for the comment is
  993.                     defined in COMMENT.TXT which should be located in
  994.                     the AMU directory.  Note: If you use the OS/2
  995.                     version, you MUST use a native OS/2 ZIP utility,
  996.                     otherwise AMU will not be able to add comments to
  997.                     ZIP files.  The DOS ARJ program will work fine for
  998.                     ARJ files.  You may also define a different comment
  999.                     file for each area.  If, for example, AMU finds a
  1000.                     file called COMMENT.34, that will be used as the
  1001.                     comment for area #34 instead of the default text
  1002.                     in COMMENT.TXT.  The same macros which you can use
  1003.                     in the AMU.HDR type files are available for use
  1004.                     in the COMMENT.TXT type file as well.  See the
  1005.                     section on Headers for more information.
  1006.  
  1007.     Virus           This option will scan files for a virus using up to
  1008.                     five (5) different virus scanners. (you configure
  1009.                     these in a later section)  If one or more of these
  1010.                     scanners returns an errorlevel indicating the
  1011.                     presence of a virus (also configured later), AMU
  1012.                     will post a message to the Sysop and make an
  1013.                     entry to the logfile about this.
  1014.  
  1015.     Import DIZ      This option will check archives for the presence of
  1016.                     a FILE_ID.DIZ and/or DESC.SDI description file.  If
  1017.                     present, the description in that file will be
  1018.                     imported as the description for the file in the
  1019.                     file listing.
  1020.  
  1021.     Filter Graphics If this is set to Yes, AMU will strip high-ascii
  1022.                     characters from FILE_ID.DIZ files when it imports
  1023.                     them.
  1024.  
  1025.     Import GIF Info If this is set to Yes, the Import Description
  1026.                     option (defined later) will import the resolution
  1027.                     of GIF files as part of each GIF file's
  1028.                     description.
  1029.  
  1030.     Export DIZ      This option will take a file's current description,
  1031.                     create a FILE_ID.DIZ using it, and add it to the
  1032.                     archive for a file.
  1033.  
  1034.  
  1035.    AMU               Automated Maintenance Utility          Page   25
  1036.  
  1037.  
  1038.     Import FILES.BBS
  1039.                     If this option is set and you are running either a
  1040.                     RemoteAccess filebase or a Concord filebase, this
  1041.                     will import the data from a FILES.BBS into the
  1042.                     filebase.  This is a destructive import - all
  1043.                     data currently in the filebase for the current area
  1044.                     is replaced by what is contained in FILES.BBS.
  1045.  
  1046.     Export FILES.BBS
  1047.                     This option is the inverse of the above.  If you
  1048.                     set this option and are running a RemoteAccess or
  1049.                     Concord filebase, AMU will export the data from
  1050.                     the filebase for the current area to a FILES.BBS
  1051.                     for that area.
  1052.  
  1053.     Move Blank      This option will cause any file which has no description
  1054.                     or which has the 'Missing Description' string specified
  1055.                     on the File Manager -> Global menu as it's description
  1056.                     to another file area.
  1057.  
  1058.     New Area        If the Move Blank option is enabled, this is the file
  1059.                     area to which the file will be moved.
  1060.  
  1061.     Comp. Text      If this option is enabled AMU will compress any file
  1062.                     in the the current file area whose file extension you
  1063.                     have defined as being a text file.  The definition for
  1064.                     this is made in a text file called ZIPTEXT.CTL in the
  1065.                     AMU directory.  For example, if you have TXT listed in
  1066.                     your ZIPTEXT.CTL file and AMU encounters a file called
  1067.                     BBSLIST.TXT in the file area, and you have the format
  1068.                     set to ZIP, AMU will do the following: compress the
  1069.                     BBSLIST.TXT file into BBSLIST.ZIP, change the entry
  1070.                     in the file area listing, and then remove the
  1071.                     BBSLIST.TXT file.
  1072.  
  1073.     Format          If the Comp Text option is enabled, this is the archive
  1074.                     format that will be used to compress the text files.
  1075.  
  1076.  
  1077.    AMU               Automated Maintenance Utility          Page   26
  1078.  
  1079.  
  1080.     2.3.3 - Mark Areas
  1081.  
  1082.     The options which add comments to files, import and export
  1083.     FILE_ID.DIZ description files, perform virus scans, and rearchive
  1084.     files (if you have the 'Force Rearchive option enabled') are
  1085.     options which you only want performed on each file one time.  To
  1086.     accomplish this, AMU stores the CRC-32 signature of each file along
  1087.     with the options it has performed on that file in a file called
  1088.     TRACKING.AMU in the AMU system directory.  This file is maintained
  1089.     by AMU as it runs.  However, sometimes you may find that you want
  1090.     AMU to, for example, import the FILE_ID.DIZ files in a certain
  1091.     area, but you do not want it to waste time re-importing the
  1092.     descriptions of files already in your file areas. You can use this
  1093.     option to mark all of the files in selected areas as having already
  1094.     been commented, scanned, rearchived, imported, or exported.
  1095.  
  1096.  
  1097.     2.3.4 - Unmark Areas
  1098.  
  1099.     This is the inverse of the above option.  You can use this to
  1100.     unmark all files in selected areas which will cause AMU to
  1101.     reprocess those areas.
  1102.  
  1103.  
  1104.  
  1105.    AMU               Automated Maintenance Utility          Page   27
  1106.  
  1107.  
  1108.     2.4 - Configuration (User/Msg Manager)
  1109.  
  1110.     Information pertaining to options which post messages to your users
  1111.     and enforce various types of ratios are described in this section.
  1112.     You may suppress the posting of messages to certain users by
  1113.     placing their name into a file called NOPOST.CTL.  Any user listed
  1114.     in here will not be posted to under any conditions.  For all of the
  1115.     messages in the next two sections, there are a number of macros
  1116.     you can insert into the text files which are posted to the
  1117.     Sysop and to the user.  The format of and the way the macros are
  1118.     used is identical to that of the File Headers which is described
  1119.     in section 2.3.2.  Following is a list of valid macros available
  1120.     for the user messages:
  1121.  
  1122.                   @SYSOP@         - Real name of the sysop
  1123.                   @ALIAS@         - Sysop's alias
  1124.                   @BBSNAME@       - BBS name
  1125.                   @PRODUCT_ID@    - The string 'AMU' followed by the
  1126.                                     version number
  1127.                   @DATE@          - Today's date
  1128.                   @TIME@          - Current time
  1129.                   @YEAR@          - Replaced by the current year
  1130.                   @MONTHNUM@      - Replaced by the number of the
  1131.                                     current month. (i.g. 6 for June)
  1132.                   @MONTHNAME@     - Replaced by the name of the current
  1133.                                     month. (i.g. October)
  1134.                   @DAYNUM@        - Replaced by the current day of the
  1135.                                     month.
  1136.                   @DAYNAME@       - Replaced by the name of the current
  1137.                                     day. (i.g. Wednesday)
  1138.                   @USER_NAME@     - User's full real name
  1139.                   @USER_FIRST@    - User's first name (real)
  1140.                   @USER_LAST@     - User's last name (real)
  1141.                   @USER_ALIAS@    - User's alias
  1142.                   @USER_CITY@     - User's city (location)
  1143.                   @USER_DLS@      - Number of downloads
  1144.                   @USER_DLKB@     - Kilobytes downloaded
  1145.                   @USER_ULS@      - Number of uploads
  1146.                   @USER_ULKB@     - Kilobytes uploaded
  1147.                   @USER_CALLS@    - Number of calls
  1148.                   @USER_POSTS@    - Number of posts
  1149.                   @USER_BDATE@    - User's birthdate
  1150.                   @USER_SUBDATE@  - User's subscription expiration date
  1151.                   @USER_SECURITY@ - User's security level at the time
  1152.                                     of the post 
  1153.                   @USER_CREDIT@   - Number of credits the user has
  1154.                                     remaining
  1155.  
  1156.  
  1157.    AMU               Automated Maintenance Utility          Page   28
  1158.  
  1159.  
  1160.     2.4.1 - Enforce
  1161.  
  1162.     This is a very powerful set of options which allow you to
  1163.     automatically upgrade/downgrade users' security levels based upon a
  1164.     wide range of criteria.  You may define up to 32,000 different
  1165.     records for this option.  Use the INSert key to add a record and
  1166.     the DELete key to remove a record.  You can use F3 to create a new
  1167.     record which has the current record's settings.
  1168.  
  1169.     Type            There are eight different methods you can use to
  1170.                     upgrade/downgrade users' security:
  1171.  
  1172.                     1) Uploads - Action will be based upon the total
  1173.                                  number of files uploaded for each
  1174.                                  user.  This is not available for
  1175.                                  Maximus 2.02 systems since
  1176.                                  Maximus 2.02 does not store this
  1177.                                  information in the user file.
  1178.  
  1179.                     2) Downloads - Action will be based upon the total
  1180.                                    number of files downloaded for each
  1181.                                    user.  This is not available for
  1182.                                    Maximus 2.02 systems.
  1183.  
  1184.                     3) Posts - Action will be based upon the total
  1185.                                number of messages each user has posted.
  1186.  
  1187.                     4) Calls - Action will be based upon the total
  1188.                                number of times each user has called
  1189.                                your system.
  1190.  
  1191.                     5) UL:DL (Files) - Action will be based upon the
  1192.                                        upload:download ratio for number
  1193.                                        of files uploaded/downloaded for
  1194.                                        each user.  This is not
  1195.                                        available for Maximus 2.02.
  1196.  
  1197.                     6) UL:DL (KB) - Action will be based upon the
  1198.                                     upload:download ratio for the
  1199.                                     number of kilobytes
  1200.                                     uploaded/downloaded for each
  1201.                                     user.
  1202.  
  1203.                     7) Post:Call - Action will be based upon the
  1204.                                    post:call ratio for each user.
  1205.  
  1206.                     8) Subscription - Action will be taken only when a
  1207.                                       user's subscription has expired.
  1208.  
  1209.  
  1210.    AMU               Automated Maintenance Utility          Page   29
  1211.  
  1212.  
  1213.     How many        The meaning of this setting varies depending upon
  1214.                     the Type selected above.  If you are using types
  1215.                     1, 2, 3, or 4, this is the point of comparison.  If
  1216.                     you are using types 5, 6, or 7, this is the ratio.
  1217.                     If you are using type 8, this option is not
  1218.                     available.  This is a bit vague, but it will become
  1219.                     clear when you see the example at the end of this
  1220.                     section.
  1221.  
  1222.     Comparison      This is the logical operator (greater than or
  1223.                     less than) to be applied to the above
  1224.                     setting.  It is not available for Type 8.  Again,
  1225.                     this is a bit vague, but it will become clear when
  1226.                     you see the example following.
  1227.  
  1228.     Days Forward    This is specific to Type 8 (Subscriptions) and
  1229.                     allows you to give users a grace period before
  1230.                     affecting their security.  To make use of this
  1231.                     option, you will need to define two Type 8 records.
  1232.                     An example of how this is used follows at the end
  1233.                     of this section. 
  1234.  
  1235.     Current Level   Only users with a security level equal to this will
  1236.                     be processed.
  1237.  
  1238.     Next Level      If a user meets all of the criteria listed above,
  1239.                     this is the security level he/she will be changed
  1240.                     to.
  1241.  
  1242.     User Msg Area   Message area where messages to the user will be
  1243.                     posted.
  1244.  
  1245.     User Msg Name   If a user's security is changed, this is the file
  1246.                     AMU will post to them in a message.  If this field
  1247.                     is left blank, no message will be posted.
  1248.  
  1249.     Sysop Msg Area  Message area where messages to the Sysop will be
  1250.                     posted.  You can use this to have AMU notify you as
  1251.                     well as the user whose security is being adjusted.
  1252.  
  1253.    Sysop Msg Name  If a user's security is changed, this is the file
  1254.                     AMU will post to them in a message.  If this field
  1255.                     is left blank, no message will be posted.
  1256.  
  1257.     Enabled         If this is set to Yes, this record will be
  1258.                     processed by AMU when it runs.  Otherwise it will
  1259.                     be skipped.
  1260.  
  1261.  
  1262.    AMU               Automated Maintenance Utility          Page   30
  1263.  
  1264.  
  1265.     Example 1
  1266.     ~~~~~~~~~
  1267.     Type          : Calls
  1268.     How Many      : 250
  1269.     Comparison    : Greater Than
  1270.     Days Forward  : N/A
  1271.     Current       : 10
  1272.     Next          : 20
  1273.     User msg area : 120
  1274.     User msg name : C:\AMU\TO20.USR
  1275.     Sysop msg area: 2
  1276.     Sysop msg name: C:\AMU\TO20.SYS
  1277.     Enabled       : Yes
  1278.  
  1279.     In this example, all users who currently have a security level of
  1280.     10 and have called the system at least 250 times will have their
  1281.     security level raised to level 20.  The text in C:\AMU\TO20.USR
  1282.     will be posted to each user affected in area #120, and the text in
  1283.     C:\AMU\TO20.SYS will go to the Sysop in area #2 for each user
  1284.     changed.
  1285.  
  1286.     Example 2
  1287.     ~~~~~~~~~
  1288.     Type          : Upload:Download
  1289.     Ratio         : 1:10
  1290.     Comparison    : Greater Than
  1291.     Days Forward  : N/A
  1292.     Current       : 10
  1293.     Next          : 20
  1294.     User msg area : 120
  1295.     User msg name : C:\AMU\TO20.USR
  1296.     Sysop msg area: 2
  1297.     Sysop msg name: C:\AMU\TO20.SYS
  1298.     Enabled       : Yes
  1299.  
  1300.     In this example, all users with a security level of 10 and have an
  1301.     Upload:Download ratio of at least 1 upload for every download will
  1302.     have their level raised to level 20. The text in C:\AMU\TO20.USR
  1303.     will be posted to each user affected in area #120, and the text in
  1304.     C:\AMU\TO20.SYS will go to the Sysop in area #2 for each user
  1305.     changed.
  1306.  
  1307.  
  1308.    AMU               Automated Maintenance Utility          Page   31
  1309.  
  1310.  
  1311.     Example 3
  1312.     ~~~~~~~~~
  1313.     Type          : Subscription
  1314.     How Many      : N/A
  1315.     Comparison    : N/A
  1316.     Days Forward  : 14
  1317.     Current       : 10
  1318.     Next          : 5
  1319.     User msg area : 120
  1320.     User msg name : C:\AMU\TO5.USR
  1321.     Sysop msg area: 2
  1322.     Sysop msg name: C:\AMU\TO5.SYS
  1323.     Enabled       : Yes
  1324.  
  1325.  
  1326.     In this example, all users who currently have security level 10
  1327.     and whose subscription has expired will be lowered to level 5.
  1328.     The text in C:\AMU\TO5.USR will be posted to each user affected in
  1329.     area #120, and C:\AMU\TO5.SYS to the Sysop in area #2. However, the
  1330.     subscription expiration for each user affected will be advanced by
  1331.     14 days.  This can be very useful if you wish to give users a
  1332.     "grace period" to pay their subscription.
  1333.  
  1334.  
  1335.  
  1336.    AMU               Automated Maintenance Utility          Page   32
  1337.  
  1338.  
  1339.     2.4.2 - User Messages
  1340.  
  1341.     This is a very powerful set of options which allow you to
  1342.     automatically upgrade/downgrade users' security levels based upon a
  1343.     wide range of criteria.  You may define up to 32,000 different
  1344.     records for this option.  Use the INSert key to add a record and
  1345.     the DELete key to remove a record.  You can use F3 to create a new
  1346.     record which has the current record's settings.
  1347.  
  1348.     Type            There are six different types of messages you can
  1349.                     have AMU post to your users:
  1350.  
  1351.                     1) Newuser - posted to new users on your system. 
  1352.                        The information about who is new is taken       
  1353.                        from your BBS logfile.  Note - if you run 
  1354.                        ProBoard and use Nutlog by Eddie van.loon,
  1355.                        see the LOGNU11.ZIP archive distributed
  1356.                        with AMU to make this option work properly.
  1357.  
  1358.                     2) Uploaders - posted to users who have uploaded to
  1359.                        your system.  This information is taken from
  1360.                        your BBS logfile.  If a user has uploaded more
  1361.                        than one file during the day, AMU will only send
  1362.                        one message to that user instead of messages for
  1363.                        each file uploaded.
  1364.  
  1365.                     3) Carrier - posted to users who have dropped
  1366.                        carrier instead of logging off properly.  Again,
  1367.                        this information is taken from the BBS logfile.
  1368.                        Since some doors allow a user to log off from
  1369.                        within a door, you most likely will not want
  1370.                        AMU to post them a Lost Carrier message.  To
  1371.                        accomplish this, you can create a file called
  1372.                        CARRIER.CTL in your AMU directory.  This is an
  1373.                        ASCII text file that contains a list of strings
  1374.                        that would indicate the user possibly logged off
  1375.                        in a door even if the BBS thinks they dropped
  1376.                        carrier.  The line just prior to the Lost 
  1377.                        Carrier entry in the BBS logfile will be looked
  1378.                        at to determine this.  For example, on my system
  1379.                        users may enter the QWK door and log off from
  1380.                        there.  The batch file I use to load the door is
  1381.                        XP.BAT.  By entering XP.BAT in the CARRIER.CTL
  1382.                        file, that will tell AMU to look at the line in
  1383.                        the BBS log just prior to the Lost Carrier
  1384.                        string, and if it contains XP.BAT, consider it
  1385.                        to be a valid logoff.  You will need to check
  1386.                        your BBS logfile to determine what string(s)
  1387.                        to enter in your CARRIER.CTL file. 
  1388.  
  1389.    AMU               Automated Maintenance Utility          Page   33
  1390.  
  1391.  
  1392.                     4) Sub. Exp. - posted to users whose subscription
  1393.                        will expire in XX days (defined later in this
  1394.                        section).  This does not perform any of the
  1395.                        security level changes that are performed by
  1396.                        the Subscription option in the Enforcement
  1397.                        types in section 2.4.1.  Rather, this is just
  1398.                        an option to notify users that their
  1399.                        subscription will expire soon.
  1400.  
  1401.                     5) Birthday - posted to users on their birthday.
  1402.  
  1403.                     6) Low Credit - posted to users whose credit has
  1404.                        dropped below XX credits (defined later in this
  1405.                        section).
  1406.  
  1407.     Minimum Credits If you have set this record to be a Low Credit
  1408.                     message, this is the minimum number of credits a
  1409.                     user must have before they have a message posted to
  1410.                     them.  All users who have less than this number of
  1411.                     credits will be posted to.
  1412.  
  1413.     Post For Zero   This is related to the above for the Low Credit
  1414.                     message.  If this is set to No, users who have
  1415.                     zero credits will NOT have a message posted to
  1416.                     them.  This is useful if you have some users who
  1417.                     do not need credits since they will most likely
  1418.                     have zero credits and you do not want to have AMU
  1419.                     posting warning messages to them constantly.
  1420.  
  1421.     Days Before Exp If you have the current record set up to be a
  1422.                     Subscription Notification, this is the number of
  1423.                     days before expiration that AMU will post a message
  1424.                     to a user.
  1425.  
  1426.     User Msg Area   This is the message area where messages to the user
  1427.                     will be posted.
  1428.  
  1429.     User Msg Name   This is the full path/filename of the file which
  1430.                     will be posted to the users.
  1431.  
  1432.      Sysop Msg Area  This is the message area where messages to the
  1433.                      Sysop will be posted.
  1434.  
  1435.     Sysop Msg Name  This is the full path/filename of the file which
  1436.                     will be posted to the Sysop.
  1437.  
  1438.     Enabled         If this is set to Yes, this record will be
  1439.                     processed by AMU when it runs.  Otherwise it will
  1440.                     be skipped.
  1441.  
  1442.    AMU               Automated Maintenance Utility          Page   34
  1443.  
  1444.  
  1445.     2.5 - Configuration (Bulletin Manager)
  1446.  
  1447.     Information pertaining to various bulletins AMU is capable of
  1448.     generating for your system is configured in this section.  You
  1449.     can have AMU create as many as you need, just press INSert to add
  1450.     a new bulletin, DELete to remove one, or F3 to create a new one
  1451.     with the current record's settings.
  1452.  
  1453.  
  1454.     Type            Here you define which type of bulletin to create.
  1455.                     There are 15 choices:
  1456.  
  1457.                     1) Top Uploaders - creates a bulletin of users who
  1458.                        have uploaded the most files to your system.
  1459.  
  1460.                     2) Top Uploaders (K) - creates a bulletin of users
  1461.                        who have uploaded the most kilobytes to your
  1462.                        system.
  1463.  
  1464.                     3) Top Downloaders - creates a bulletin of users
  1465.                        who have downloaded the most files to your
  1466.                        system.
  1467.  
  1468.                     4) Top Downloaders (K) - creates a bulletin of
  1469.                        users who have downloaded the most kilobytes to
  1470.                        your system.
  1471.  
  1472.                     5) Top Upload:Download - creates a bulletin of
  1473.                        users who have the best upload:download ratio.
  1474.  
  1475.                     6) Top Upload:Download (K) - creates a bulletin of
  1476.                        users who have the best upload:download ratio
  1477.                        based on kilobytes uploaded and downloaded.
  1478.  
  1479.                     7) Top Posters - creates a bulletin of users who
  1480.                        have posted the highest number of messages on
  1481.                        your system.
  1482.  
  1483.                     8) Top Callers - creates a bulletin of users who
  1484.                        have called your system the most.
  1485.  
  1486.                     9) Top Post:Call - creates a bulletin of users who
  1487.                        have the best Post:Call ratio on your system.
  1488.  
  1489.                     10) Top Files - creates a bulletin of which files
  1490.                         have  been downloaded the most frequently
  1491.                         on your system.  You select which file areas
  1492.                         AMU should look at later in this section.
  1493.  
  1494.  
  1495.    AMU               Automated Maintenance Utility          Page   35
  1496.  
  1497.  
  1498.                     11) File Area Overview - creates a summary of the
  1499.                         total number of files, kilobytes, and downloads
  1500.                         in each of the file areas you select later in
  1501.                         this section.
  1502.  
  1503.                     12) Message Area Overview - creates summary of the
  1504.                         total number of times message areas have been
  1505.                         read, how many posts made, and the total
  1506.                         number of messages in each area.  You select
  1507.                         the message areas AMU should look at later in
  1508.                         this section.
  1509.  
  1510.                     13) Door Overview - creates a report of the total
  1511.                         number of times doors on your system have been
  1512.                         accessed by your users.  Later in this section
  1513.                         you will tell AMU which doors to include in
  1514.                         this report.
  1515.  
  1516.                     14) Daily Downloads - creates a report of which
  1517.                         files have been downloaded from your system and
  1518.                         who downloaded them.  This only includes files
  1519.                         which are entered the logfile, so if you want
  1520.                         this to truly reflect "Daily" downloads, you
  1521.                         need to have your BBS logfile deleted at the
  1522.                         end of each day.  You can use AMU's option to
  1523.                         create dated archives to accomplish this.
  1524.                         (defined later)
  1525.  
  1526.                     15) Daily Uploads - same as #14 but this works for
  1527.                         files uploaded instead of downloaded.  The same
  1528.                         restriction applies to this bulletin as well as
  1529.                         that in #14.
  1530.  
  1531.                     16) User List - creates a listing of all the users
  1532.                         on your system.  Any user whose profile is set to
  1533.                         be "Hidden" will not be shown.
  1534.  
  1535.                     17) Today's Calls - creates a listing of all users
  1536.                         who have called your system based on the information
  1537.                         in your system logfile.  Note that if you only
  1538.                         delete your logfile once a week instead of having it
  1539.                         archived by AMU every night, this bulletin will
  1540.                         contain a list of all users who have called for the
  1541.                         week, etc.
  1542.  
  1543.                     18) Today's Birthdays - creates a listing of all users
  1544.                         whose birthday falls on the current date.
  1545.  
  1546.    AMU               Automated Maintenance Utility          Page   36
  1547.  
  1548.  
  1549.                     19) Today's Subscription Expirations - creates a listing
  1550.                         of all users whose subscription expires on the
  1551.                         current date.
  1552.  
  1553.     Filename        This is the full path/filename for the bulletin to
  1554.                     be created.  You do not need to append an extension
  1555.                     to this filename as AMU will use the .ASC, .ANS, and
  1556.                     .AVT extensions as appropriate.
  1557.  
  1558.     Template        This is the full path/filename for the template file
  1559.                     for this bulletin.  This is the core of the bulletin
  1560.                     options, the template file contains all of the
  1561.                     information to actually create the bulletin.  Sample
  1562.                     templates are provided in the SAMPLE.ZIP file, they
  1563.                     are the files which end in .TPL.  The following
  1564.                     macros are available for use in the template files.
  1565.                     As always, you may use the '|', '<', and '>' formatting
  1566.                     characters to pad and/or center the macros.  See the
  1567.                     section on the Headers option in section 2.3.2 for more
  1568.                     information. Just by reading this section, this is going
  1569.                     to sound complex, but it really is not.  If you have
  1570.                     a copy of this file printed out and can take a look at
  1571.                     some of the sample .TPL files as you read, it will make
  1572.                     much more sense.  You define colors in the templates by
  1573.                     using the following type of macro:
  1574.  
  1575.                     @<background><foreground>@
  1576.  
  1577.                     Where <background> is the hex code for the background color
  1578.                     and <foreground> is the hex code for the foreground color.
  1579.                     For example, @1F@ would give you text with a background
  1580.                     color of Blue and a foreground color of White. The
  1581.                     following is a chart of the hex codes:
  1582.  
  1583.                           0 - Black              8 - Dark Gray
  1584.                           1 - Blue               9 - Light Blue
  1585.                           2 - Green              A - Light Green
  1586.                           3 - Cyan               B - Light Cyan
  1587.                           4 - Red                C - Light Red
  1588.                           5 - Magenta            D - Light Magenta
  1589.                           6 - Brown              E - Yellow
  1590.                           7 - Light Gray         F - White
  1591.  
  1592.                     The colors 0 thru 7 may be used for background colors.
  1593.                     The colors 0 thru F may be used for foreground colors.
  1594.  
  1595.  
  1596.    AMU               Automated Maintenance Utility          Page   37
  1597.  
  1598.  
  1599.                     In addition, as you might expect, we now have an entire
  1600.                     boatload of macros available.  Some macros are not
  1601.                     available for all bulletin types.  For example, if the
  1602.                     template file for your Most Downloaded Files bulletin
  1603.                     contains the macro for the total number of messages on
  1604.                     your system, it's value will be zero since that
  1605.                     information is not calculated for that type of bulletin.
  1606.                     The macros are as follows, and the same rules concerning
  1607.                     formatting apply to these macros as to all the other
  1608.                     macros AMU uses, and for brevity I will leave out the
  1609.                     beginning and trailing '@' marks.  So if you see
  1610.                     AVGCALLS, the macro you would really use is @AVGCALLS@
  1611.                     in the template file.  One important note regarding the
  1612.                     macros which report a total number of something.  If you
  1613.                     use a macro in your Top Uploaders bulletin which reports
  1614.                     the total number of uploads, for example, the total is
  1615.                     that of ALL users on your system, not the total of just
  1616.                     those listed on the bulletin.  Consequently, the macros
  1617.                     which report averages are based on the average of ALL
  1618.                     users on your system and not just those listed on the
  1619.                     bulletin.  A similar situation prevails for the file and
  1620.                     message area totals/averages.
  1621.  
  1622.                     CLS         - Used to clear the screen in the ANSI and
  1623.                                   AVATAR bulletins
  1624.                     AREANAME    - Name of the current file/message area
  1625.                     AREANUM     - Number of the current file/message area
  1626.                     RANK        - Which entry in the bulletin this is
  1627.                                   (1, 2, 3, etc)
  1628.                     BPS         - BPS Rate at which this file was downloaded
  1629.                                   (Daily Ul/Dl)
  1630.                     LOWBPS      - Lowest BPS rate (Daily Ul/Dl)
  1631.                     HIGHBPS     - Highest BPS rate (Daily Ul/Dl)
  1632.                     NUMFXER     - Number of files transferred (Daily Ul/Dl)
  1633.                     USERNAME    - User's real name
  1634.                     USERALIAS   - User's alias
  1635.                     USER_CITY   - User's city (location)
  1636.                     FILENAME    - Filename
  1637.                     DOORNAME    - Name of the door (from the DOORS.CTL type
  1638.                                   file)
  1639.                     GRAPH       - Horizontal bar graph of the use the current
  1640.                                   entry has versus the rest of the system
  1641.                     FILESIZE    - File size in bytes
  1642.                     FILESIZEK   - File size in kilobytes
  1643.                     FDLS        - Number of times file was downloaded
  1644.                     TOTALFILES  - Number of files in all areas selected for
  1645.                                   this bulletin
  1646.                     TOTALFSIZE  - Number of bytes in the files in all areas
  1647.                                   selected for this bulletin
  1648.  
  1649.    AMU               Automated Maintenance Utility          Page   38
  1650.  
  1651.  
  1652.                     TOTALFSIZEK - Number of kilobytes in the fileas for all
  1653.                                   areas selected for this bulletin
  1654.                     TOTALFDLS   - Number of downloads in all areas selected
  1655.                                   for this bulletin
  1656.                     AVGFDLS     - Average number of downloads for each file
  1657.                                   on your system
  1658.                     AREAFILES   - Number of files in the current area
  1659.                     AREASIZE    - Number of bytes in the current area
  1660.                     AREASIZEK   - Number of kilobytes in the current area
  1661.                     AREADLS     - Number of downloads in the current area
  1662.                     POSTS       - Number of messages posted to the current
  1663.                                   area
  1664.                     READS       - Number of messages read in the current area
  1665.                     MSGS        - Number of messages in the current area
  1666.                     TOTALPOSTS  - Total number of messages posted by users on
  1667.                                   your system as read from the BBS logfiles
  1668.                                   if this is a Message Base Overview bulletin,
  1669.                                   or the total number of posts by users as read
  1670.                                   from the user file if this is a Top User
  1671.                                   bulletin.
  1672.                     TOTALREADS  - Total number of messages read by users on
  1673.                                   your system.
  1674.                     TOTALMSGS   - Total number of messages on your system.
  1675.                     ACCESS      - Number of times the current door was accessed
  1676.                     TOTALACCESS - Total number of door accesses
  1677.                     AVGACCESS   - Average number of times each door was
  1678.                                   accessed
  1679.                     ULS         - Number of files the current user has uploaded
  1680.                     ULSK        - Number of kilobytes the current user has
  1681.                                   uploaded
  1682.                     DLS         - Number of files the current user has
  1683.                                   downloaded
  1684.                     DLSK        - Number of kilobytes the current user has
  1685.                                   downloaded
  1686.                     CALLS       - Number of times the current user has called
  1687.                     ULDL        - User's Upload:Download ratio (based on files)
  1688.                     ULDLK       - User's Upload:Download ratio (based on
  1689.                                   kilobytes)
  1690.                     POSTCALL    - User's Post:Call ratio
  1691.                     TOTALULS    - Total number of files uploaded by all users
  1692.                     TOTALULSK   - Total number of kilobytes uploaded by all
  1693.                                   users
  1694.                     TOTALDLS    - Total number of files downloaded by all users
  1695.                     TOTALDLSK   - Total number of kilobytes downloaded by all
  1696.                                   users
  1697.                     TOTALCALLS  - Total number of calls by all users
  1698.                     TOTALPOSTS  - Total number of posts by all users
  1699.                     TOTALULDL   - Upload:Download ratio on your system (files)
  1700.                     TOTALULDLK  - Upload:Download ratio on your system
  1701.                                   (kilobytes)
  1702.    AMU               Automated Maintenance Utility          Page   39
  1703.  
  1704.  
  1705.                     TOTALPOSTCALL - Post:Call ratio on your system
  1706.                     AVGULS      - Average uploads per user (files)
  1707.                     AVGULSK     - Average uploads per user (kilobytes)
  1708.                     AVGDLS      - Average downloads per user (files)
  1709.                     AVGDLSK     - Average downloads per user (kilobytes)
  1710.                     AVGCALLS    - Average calls per user
  1711.                     AVGPOSTS    - Average posts per user
  1712.                     AVGULDL     - Average Upload:Download ratio per user
  1713.                                   (files)
  1714.                     AVGULDLK    - Average Upload:Download ratio per user
  1715.                                   (kilobytes)
  1716.                     AVGPOSTCALL - Average Post:Call ratio per user
  1717.  
  1718.                     As I said earlier, this probably sounds very complex.  The
  1719.                     best advice is to use the sample .TPL files provided and
  1720.                     then modify them until you get the hang of this.  It will
  1721.                     not seem so bad once you look at it, trust me. ;-)
  1722.  
  1723.     Data Filename   For the Message Area Overview and the Door Usage
  1724.                     bulletin, AMU needs to keep track of the number of
  1725.                     times a door has been accessed, the accesses for
  1726.                     the message areas, etc.  Here you tell AMU the
  1727.                     file it can use to keep track of this.  You only
  1728.                     specify the root filename, AMU will append a .AMU
  1729.                     extension and place the file in the AMU System
  1730.                     Directory.  For example, if your AMU Directory is
  1731.                     C:\AMU\ and you define this to be MSGOVR, AMU will
  1732.                     use C:\AMU\MSGOVR.AMU to keep track of the message
  1733.                     base history.  If you have more than one Message
  1734.                     Overview or more than one Door Usage report
  1735.                     configured, this must be a unique name so AMU
  1736.                     can keep separate information for each bulletin
  1737.                     In addition, if this is for a Door Usage bulletin,
  1738.                     you need to tell AMU about the doors you want
  1739.                     reported.  For simplicity, AMU uses this field
  1740.                     as well for that.  For example, if you defined
  1741.                     DOORS in this field, AMU will store it's door
  1742.                     information tracking in C:\AMU\DOORS.AMU and
  1743.                     it will look in C:\AMU\DOORS.CTL for a list of
  1744.                     doors you want included in the report.  This .CTL
  1745.                     file is an ASCII text file in the following format:
  1746.  
  1747.                     <search string> <description>
  1748.                     <search string> <description>
  1749.                     ...
  1750.  
  1751.  
  1752.    AMU               Automated Maintenance Utility          Page   40
  1753.  
  1754.  
  1755.                     For example:
  1756.  
  1757.                     TRADE.BAT TradeWars 2002
  1758.                     OOII.BAT Operation Overkill ][
  1759.                     Errorlevel_15 Baron Realms Elite
  1760.  
  1761.                     In this example, AMU would look for the following
  1762.                     strings in your BBS logfile:  TRADE.BAT, OOII.BAT,
  1763.                     and Errorlevel 15.  Note that if the search string
  1764.                     has a space in it, you must replace the space with
  1765.                     an underscore in the .CTL file.
  1766.  
  1767.     Max Entries     This tells AMU how many entries should be made on
  1768.                     the current bulletin.  For example, if you set
  1769.                     this to 20 for a Top Uploaders bulletin, only the
  1770.                     top 20 users on your system will be listed.  This
  1771.                     is not applicable to the File Area Overview,
  1772.                     Message Area Overview, Daily Downloads, Daily
  1773.                     Uploads, or Door Usage bulletins.  These bulletins
  1774.                     use a different mechanism (defined in this section)
  1775.                     to determine what appears on the bulletin.
  1776.  
  1777.     Include Sysop   If this is set to Yes, the Sysop will be treated as
  1778.                     a normal user on your system and will appear in the
  1779.                     Top user bulletins.  If set to No, the Sysop will
  1780.                     be ignored when creating these bulletins.
  1781.  
  1782.     Areas           For the File Area Overview, Top Files, and Message
  1783.                     Area Overview bulletins, here you select which
  1784.                     file/message areas AMU should look at when creating
  1785.                     the bulletin.
  1786.  
  1787.     ASCII Version   If enabled, an ASCII version (.ASC) version of this
  1788.                     bulletin will be created.
  1789.  
  1790.     ANSI Version    If enabled, an ANSI version (.ANS) version of this
  1791.                     bulletin will be created.
  1792.  
  1793.     Avatar Version  If enabled, an Avatar version (.AVT) version of this
  1794.                     bulletin will be created.
  1795.  
  1796.     Enabled         If this is set to Yes, this record will be
  1797.                     processed by AMU when it runs.  Otherwise it will
  1798.                     be skipped.
  1799.  
  1800.  
  1801.  
  1802.    AMU               Automated Maintenance Utility          Page   41
  1803.  
  1804.  
  1805.     2.6 - Configuration (File Listings)
  1806.  
  1807.     In this section you can define up to 32,000 Allfiles and Newfiles
  1808.     listings for AMU to create.  Use the INSert key to add another
  1809.     record, the DELete key to remove one, and F3 to create a new
  1810.     list with the current record's settings.  For the header and
  1811.     footer files, the same macros are available as are for the
  1812.     Headers option.  For more information, refer to section 2.3.2.
  1813.  
  1814.     Listing Type    If this is an Allfiles or Newfiles record.
  1815.  
  1816.     Text Version    Full path/filename for the text version of the
  1817.                     listing.
  1818.  
  1819.     Archive Version Full path/filename for the compressed version of
  1820.                     this listing.  This must be different from the
  1821.                     Text Version for obvious reasons.
  1822.  
  1823.     Main Header     Path/filename for a text file which you would like
  1824.                     added to the top of the listing.
  1825.  
  1826.     Main Footer     Path/filename for a text file which you would like
  1827.                     added to the bottom of the listing.  There are a
  1828.                     few extra macros available only for this file as
  1829.                     follows:
  1830.  
  1831.                     @TOTALFILES@   - Total files on the system
  1832.                     @TOTALBYTES@   - Total bytes of all files
  1833.                     @TOTALBYTESK@  - Total kilobytes
  1834.                     @TOTALDLS@     - Total downloads
  1835.  
  1836.                     The totals for these macros refer to the total of
  1837.                     all the areas which are displayed in the current
  1838.                     Allfiles/Newfiles listing.
  1839.  
  1840.     Area Header     Path/filename for the text file which is added
  1841.                     at the beginning of each file area included in
  1842.                     the current listing.
  1843.  
  1844.     Area Footer     Path/filename for the text file which is added
  1845.                     at the end of each file area included in the
  1846.                     current listing.
  1847.  
  1848.  
  1849.    AMU               Automated Maintenance Utility          Page   42
  1850.  
  1851.  
  1852.     List Format     Here you tell AMU how each line in the listing
  1853.                     should be formatted.  To do this, you use the
  1854.                     following macros:
  1855.  
  1856.                     @FILENAME@  - Filename
  1857.                     @DATE@      - File date
  1858.                     @SIZE@      - File size (in bytes)
  1859.                     @SIZEK@     - File size (kilobytes)
  1860.                     @DLS@       - Number of downloads - right & left
  1861.                                   download brackets are included
  1862.                     @DESC@      - Description
  1863.                     @DESCDL@    - Description + approximate download time
  1864.                                   for 2400, 14400, and 28800
  1865.  
  1866.                     Note - unlike versions of AMU prior to v3.10, you
  1867.                     need the second '@' symbol and you may also use the
  1868.                     '<', '>', and '|' formatting characters.
  1869.  
  1870.     Include Comment If this is set to Yes, AMU will include comment
  1871.                     lines that may appear in your filebase or FILES.BBS
  1872.                     in addition to the actual file entries.  Note that
  1873.                     if you are using AMU's option to add headers to the
  1874.                     top of each file listing (see section 2.3.2), those
  1875.                     headers will NOT be included in the
  1876.                     Allfiles/Newfiles list regardless of this setting. 
  1877.                     The reason is quite simple - you already have a
  1878.                     mechanism to add this.  See the section on 'Area
  1879.                     Headers' above.
  1880.  
  1881.     Compress        If you would like the text version of this list
  1882.                     compressed. (filename will be what you specify for
  1883.                     the Archive Version above)
  1884.  
  1885.     Format          Archive format for the compressed version.
  1886.  
  1887.     Delete          If you are creating an archive version but do not
  1888.                     want the text version online, setting this to Yes
  1889.                     will tell AMU to delete the text version after it
  1890.                     has been archived.
  1891.  
  1892.     Age             For Newfiles listings, only files newer than this
  1893.                     many days will be included.
  1894.  
  1895.     Date To Use     If you are running a RemoteAccess 2.xx system, it
  1896.                     stores the file's timestamp and the date it was
  1897.                     uploaded to your system in its filebase.  This
  1898.                     setting will allow you to pick which to use for the
  1899.                     Newfiles listing's age calculations.
  1900.  
  1901.  
  1902.    AMU               Automated Maintenance Utility          Page   43
  1903.  
  1904.  
  1905.     Areas           On this menu you define the file areas to include
  1906.                     in this listing.  Note that if this is a Newfiles
  1907.                     listing and an area has no new files in it, that
  1908.                     area will not appear in the Newfiles listing even
  1909.                     if you have selected it here.  This is to prevent
  1910.                     your Newfiles list from containing a lot of blank
  1911.                     areas.
  1912.  
  1913.     Enabled         If this record should be performed when AMU runs.
  1914.  
  1915.  
  1916.  
  1917.  
  1918.    AMU               Automated Maintenance Utility          Page   44
  1919.  
  1920.  
  1921.     2.7 - Configuration (External Utilities)
  1922.  
  1923.     In this section, you define the names of various (de)compression
  1924.     utility programs as well as virus scanners.  You may also define
  1925.     the parameters to be used for each, however it is recommended that
  1926.     you use the default parameters unless you know what you are doing.
  1927.     For each there are separate slots for DOS and OS/2 versions of the
  1928.     programs.  The DOS, DPMI, and Windows versions of AMU will use what
  1929.     you have defined in the DOS slot, and the OS/2 version will use
  1930.     what you defined in the OS/2 slot.  Makes a certain amount of
  1931.     sense, doesn't it?  When AMU goes to execute an external program,
  1932.     it searches for the program in the directories listed in your PATH
  1933.     statement.  If you do not have a PATH statement defined in your
  1934.     CONFIG.SYS or AUTOEXEC.BAT, check your operating system's manual
  1935.     to set one up.  The settings for the (de)compression utilities are
  1936.     self-explanatory.  For the virus scanners, you will notice that you
  1937.     may define up to five (5) scanners.  In addition to the filename
  1938.     of the scanner and the parameters passed to it, you must define
  1939.     two other fields as well.  The first is the directory in which this
  1940.     scanner is located.  The second thing is that you need to define
  1941.     the errorlevel which denotes the presence of a virus.  If the
  1942.     scanner returns this errorlevel, AMU will assume that a virus has
  1943.     been found and will notify you of this.
  1944.  
  1945.     Note - if you use PKUNZIP and/or PKZIP and are running in a network
  1946.     environment, it is highly recommended that you disable the network
  1947.     support by adding '-~' on the command line for PKZIP and PKUNZIP.
  1948.  
  1949.  
  1950.    AMU               Automated Maintenance Utility          Page   45
  1951.  
  1952.  
  1953.     2.8 - Configuration (Archives)
  1954.  
  1955.     In this section you can define up to 32,000 logfiles for AMU to
  1956.     archive.  Actually, you can do more than just archive logfiles, it
  1957.     is possible to back up user files and things of that nature as
  1958.     well.  Use your imagination!  Press INSert to add a new record,
  1959.     DELete to remove one, and F3 to create a new record with the
  1960.     current record's settings.
  1961.  
  1962.     Type            This is the type of archive AMU should create:
  1963.  
  1964.                     Normal           -  The archive will be named with
  1965.                                         the following convention:
  1966.                                         xxMMDDYY.arc where 'xx' are
  1967.                                         two letters you choose (these
  1968.                                         are defined later), MMDDYY is
  1969.                                         the date, and 'arc' is the
  1970.                                         archive format.  For example,
  1971.                                         if the first letters are PB,
  1972.                                         today is July 4, 1995, and the
  1973.                                         archive format is ZIP, the name
  1974.                                         will be PB070495.ZIP.  Note
  1975.                                         that you may change the format
  1976.                                         of the date a little later in
  1977.                                         this section.
  1978.  
  1979.                     Julian Rename    -  The logfile will be renamed
  1980.                                         with the Julian date as it's
  1981.                                         extension.  For example, if
  1982.                                         RA.LOG is on January 1, the
  1983.                                         file will be renamed to RA.001.
  1984.  
  1985.                     Julian Compress  -  This is similar to the 'Normal'
  1986.                                         type except that the date used
  1987.                                         will be the Julian date
  1988.                                         instead.  For example, a
  1989.                                         logfile for May 25 (145th day
  1990.                                         of the year) with the first 
  1991.                                         letters of RA and an archive
  1992.                                         format of ARJ will be
  1993.                                         compressed, and the name of the
  1994.                                         archive will be RA-145.ARJ.
  1995.  
  1996.  
  1997.    AMU               Automated Maintenance Utility          Page   46
  1998.  
  1999.  
  2000.                     Size             -  This isn't an archive, but it
  2001.                                         does fit in which the general
  2002.                                         idea of this section.  This
  2003.                                         type will let you keep a file
  2004.                                         trimmed to a certain size.
  2005.                                         For example, on my system I 
  2006.                                         don't want to keep daily
  2007.                                         archives of my mail tosser's
  2008.                                         log on disk, but I also don't
  2009.                                         want the log to grow forever.
  2010.                                         The solution was to set up an
  2011.                                         entry in here of this type to
  2012.                                         keep it trimmed down to 150k
  2013.  
  2014.     Filename        This is the file to be archived/renamed. (depending
  2015.                     on the setting above)  Wildcards are fully
  2016.                     supported, and so is a list file.  If you have a
  2017.                     number of different files you'd like compressed
  2018.                     into the same archive, list them in an ASCII text
  2019.                     file then define it here.  For example, if the list
  2020.                     file is LIST.FIL, you would enter it as @LIST.FIL
  2021.                     in this field - the '@' symbol tells AMU that it
  2022.                     should read the contents of the file that follows
  2023.                     for a list of all files to be included.  This
  2024.                     makes it possible to backup your user files or just
  2025.                     about anything else you can think of, and is what
  2026.                     makes this option much more than a simple logfile
  2027.                     archiver!  If you are using this as a Size entry,
  2028.                     then you may not use the '@' feature and you may
  2029.                     not use wildcards. You must enter a full
  2030.                     path/filename only.  Note - In order for AMU to
  2031.                     work properly, it must have exclusive access the
  2032.                     file(s) it is archiving.  This means if you are,
  2033.                     for example, archiving your mailer's logfile, the
  2034.                     mailer must be shutdown so AMU has access to it's
  2035.                     log.  Failure to allow AMU exclusive access
  2036.                     will result in a failed operation for that log.
  2037.  
  2038.     Path            This is the directory where the archive should be
  2039.                     placed.  This is not applicable for the Size type
  2040.  
  2041.     First Letters   This is the first two letters of the archive name.
  2042.                     This is not applicable for the Size type.
  2043.  
  2044.     Format          Compression format to use for this archive.
  2045.                     This is not applicable for the Size type.
  2046.  
  2047.     Date Format     For the 'Normal' type, this is the date format to
  2048.                     be used in the filename.
  2049.  
  2050.    AMU               Automated Maintenance Utility          Page   47
  2051.  
  2052.  
  2053.     Erase           If set to Yes, the original file(s) will be deleted
  2054.                     after they have been archived/renamed.  This is
  2055.                     not applicable for the Size type.
  2056.  
  2057.     Monthly         If set to Yes, after AMU has performed the archive/
  2058.                     rename procedure, it will then add that resulting
  2059.                     file to a 'monthly' archive.  If the first two
  2060.                     letters are PB, the archive format is ZIP, the
  2061.                     month is May, and the year is 1995, all archives
  2062.                     created for this record during the month of may
  2063.                     will be placed into an archive called PB-0595.ZIP. 
  2064.                     This way you'd have only 12 archives per year
  2065.                     instead of 365!  This is not applicable for the
  2066.                     Size type.
  2067.  
  2068.     Erase Daily     If you have enabled the Monthly option and set this
  2069.                     to Yes, the original archive will be deleted after
  2070.                     it has been added to the Monthly archive.  This is
  2071.                     not applicable for the Size type.
  2072.  
  2073.     Day             Here you define the day this record should be
  2074.                     processed.  You may pick any day of the week if you
  2075.                     just want it run once a week (great for user file
  2076.                     backups) or select 'Everyday' and it will be run
  2077.                     everyday.
  2078.  
  2079.     Max Size (K)    For the Size type, this is the size, in kilobytes,
  2080.                     you would like the defined file to be kept at.
  2081.  
  2082.     Enabled         Whether or not this record should be processed when
  2083.                     AMU runs.
  2084.  
  2085.  
  2086.  
  2087.    AMU               Automated Maintenance Utility          Page   48
  2088.  
  2089.  
  2090.     2.9 - Configuration (Maintenance)
  2091.  
  2092.     This contains options relating to AMU's ability to run other
  2093.     programs in your daily maintenance.  Instead of having multiple
  2094.     lines in your batch file to run things such as door maintenance
  2095.     utilities, you can tell AMU to run them.  The advantage of this is
  2096.     that AMU will trap and report the error code the programs return
  2097.     (if nonzero) and thus allow you to check up on these programs in
  2098.     case they are not behaving as expected for some reason.  To add
  2099.     a new record, press INSert, press DELete to remove one, or press
  2100.     F3 to create a new record with the current record's settings.
  2101.  
  2102.     Type            Here you select which type of maintenance file
  2103.                     this is.  There are four types:
  2104.  
  2105.                     Daily    - Executed every day.
  2106.                     Weekly   - Executed once per week on the day you
  2107.                                select.
  2108.                     Monthly  - Executed once each month on the day you
  2109.                                select.
  2110.                     Interval - Executed every X days, where 'X' is
  2111.                                defined later in this section.
  2112.  
  2113.     Interval (days) If this is an Interval entry, here you enter how
  2114.                     often you want this executed.  For example,
  2115.                     entering 15 here will cause this to be executed
  2116.                     every 15 days.
  2117.  
  2118.     Day of week     If this is a Weekly entry, here you define which
  2119.                     day of the week to execute this entry.
  2120.  
  2121.     Day of month    If this is a Monthly entry, here you define the day
  2122.                     of the month on which this is executed.
  2123.  
  2124.     Maint Filename  Here you define the name of the file which contains
  2125.                     the commands you want executed.  The file is an
  2126.                     ASCII text file of the following format:
  2127.  
  2128.                     <directory> <program/parameters>
  2129.                     <directory> <program/parameters>
  2130.                      ...
  2131.  
  2132.  
  2133.    AMU               Automated Maintenance Utility          Page   49
  2134.  
  2135.  
  2136.                     For example, I have AMU run the following:
  2137.  
  2138.                     ; Daily.Ctl file for The North Star
  2139.                     ; Maintenance performed every night
  2140.                     C:\ALLFIX Allfix File
  2141.                     C:\ALLFIX Allfix Announce
  2142.                     C:\RA rauser -p -s -d180
  2143.                     C:\GECHO GEcho Scan -Force -IgnoreMark
  2144.                     C:\GECHO GEcho Toss Pack
  2145.                     C:\GECHO MButil Purge
  2146.                     C:\GECHO MButil Pack -Renumber -Link -Delete
  2147.  
  2148.                     As you can see, any line starting with a semi-colon
  2149.                     will be ignored and treated as a comment.  When
  2150.                     executing, AMU will first change to the appropriate
  2151.                     drive/directory, then execute the program with it's
  2152.                     parameters.  This is done because some programs
  2153.                     require that their configuration files be in the
  2154.                     directory they are executed from.
  2155.  
  2156.     Enabled         Whether or not this record should be processed when
  2157.                     AMU runs.
  2158.  
  2159.  
  2160.    AMU               Automated Maintenance Utility          Page   50
  2161.  
  2162.  
  2163.     2.10 - Configuration (Edit Files)
  2164.  
  2165.     Now that you've configured AMU, you can see that there are quite
  2166.     a few external files which you may need to create in order to
  2167.     customize it to suit your system.  If you go to this menu, you will
  2168.     see a list of all the text files that may need to be created.  All
  2169.     you need to do is select the one you want to edit and AMUCFG will
  2170.     load it into the editor you defined (see section 2.2.2).  If you
  2171.     need to edit something that is not in this list, select the 'Other'
  2172.     option and you will be prompted for the file to edit.
  2173.  
  2174.  
  2175.    AMU               Automated Maintenance Utility          Page   51
  2176.  
  2177.  
  2178.     2.11 - Command Line Parameters
  2179.  
  2180.     There are a few command line parameters available for use by
  2181.     AMUCFG as follows.  A similar list can be displayed by running
  2182.     AMUCFG ? at the command prompt.
  2183.  
  2184.          Parameter        Function
  2185.          ------------     -------------------------------------------
  2186.          UPGRADE          Upgrade your configuration from a previous
  2187.                           version of AMU.
  2188.          RESTORE          Restore default values for the external
  2189.                           programs.
  2190.          IMPORTFILES      Import BBS file area configuration into the
  2191.                           internal database in CONFIG.AMU.
  2192.          IMPORTMSGS       Import BBS message area configuration into the
  2193.                           internal database in CONFIG.AMU.
  2194.          MONO             Run AMUCFG in monochrome mode.
  2195.  
  2196.  
  2197.  
  2198.  
  2199.    AMU               Automated Maintenance Utility          Page   52
  2200.  
  2201.  
  2202.                                 3 - AMU.EXE
  2203.  
  2204.     3.1 - Operation
  2205.     
  2206.                                                                           
  2207.     For those running AMU under DESQview, you should have 'Writes directly
  2208.     to the screen' set to Yes in the window you  will be running  AMU  from.
  2209.     This applies to AMUCFG as well.  If you do not do this,  you may lock
  2210.     the computer up.
  2211.  
  2212.     AMU.EXE may be run in one of two ways. The first is by typing AMU
  2213.     at the command prompt  and then pressing enter.  When run  like this,
  2214.     AMU will perform all options you have enabled in AMUCFG.  This is
  2215.     probably the way that you will run  AMU in your  system's nightly
  2216.     maintenance. The second way is with command line parameters.  
  2217.  
  2218.  
  2219.  
  2220.    AMU               Automated Maintenance Utility          Page   53
  2221.  
  2222.  
  2223.     3.2 - Command Line Parameters
  2224.  
  2225.     Each of AMU's options may be  executed itself ( or in conjunction
  2226.     with others ) via  command line switches.  The format for running
  2227.     like this is:
  2228.  
  2229.                    AMU <parameter1> <parameter2> etc
  2230.  
  2231.     The parameters passed to AMU may be preceded by a  '-' or a  '/'.
  2232.     Or you may  just pass the  actual parameter  with a space between
  2233.     each one, and the parameters are not case sensitive. For example, 
  2234.     
  2235.                      AMU -sort carrier_msg /newuser_msg
  2236.     
  2237.     are all valid command line options.  By default, AMU will work on only
  2238.     those areas you've defined in AMUCFG for each option, however you may
  2239.     override this on the command line.  For example, the following will run
  2240.     only the Sort option on areas 1,3,5, 15 through 20, and 56, and will
  2241.     run the Pack option on all areas defined in AMUCFG:
  2242.  
  2243.     AMU Sort[1,3,5,15-20,56] Pack
  2244.  
  2245.     Notice that the list of areas to be operated on is a part of the
  2246.     Sort parameter and is NOT separated by a space.  If you put a space
  2247.     between Sort and the [1,3,5,15-20,56], AMU will ignore the file
  2248.     area list and will perform the Sort option on all areas defined in
  2249.     AMUCFG.
  2250.  
  2251.     Following is a list of parameters available.  Running  AMU ? will also
  2252.     get you a similar list.
  2253.  
  2254.  
  2255.    AMU               Automated Maintenance Utility          Page   54
  2256.  
  2257.  
  2258.          Parameter        Function
  2259.          ------------     -------------------------------------------
  2260.          ADOPT            Adopt missing files
  2261.          BACKUP           Create backups of the file listings
  2262.          BBSDLS           Update Download counters - BBS's logfile
  2263.          COMMENT          Add comments to ARJ and ZIP files
  2264.          EXPORTBBS        Export the filebase to FILES.BBS
  2265.          EXPORTDIZ        Export FILE_ID.DIZ file to archives
  2266.          HEADERS          Add headers to the file listings
  2267.          IMPORTBBS        Import FILES.BBS into the filebase
  2268.          IMPORTDIZ        Import FILE_ID.DIZ/DESC.SDI files
  2269.          MAILERDLS        Update Download counters - Mailer's logfile
  2270.          OLD              Move/Delete old files
  2271.          ORPHAN           Remove orphaned entries from file listings
  2272.          PACK             Pack file database
  2273.          REARC            Rearchive files
  2274.          SCAN             Scan files for virus
  2275.          SORT             Sort file listings
  2276.          LISTS            Create the allfiles/Newfiles listings
  2277.          BDAY_MSG         Post messages to users on their birthday
  2278.          CARRIER_MSG      Post messages to users who drop carrier
  2279.          CREDIT_MSG       Post messages to users whose credit is low
  2280.          NEWUSER_MSG      Post messages to new users
  2281.          SUBEXP_MSG       Post messages for subscription expirations
  2282.          UPLOADS_MSG      Post messages to users who upload
  2283.          ENFORCE          Enforce User Promotions/Demotions, etc.
  2284.          BDAYLIST         Create the Today's Birthdays bulletin
  2285.          DAILYDL          Daily Downloads bulletins
  2286.          DAILYUL          Daily Uploads bulletins
  2287.          DOORS            Door usage bulletins
  2288.          FILEOVR          File area overview report
  2289.          MSGOVR           Message base overview bulletin
  2290.          SUBLIST          Subscription Expiration bulletin
  2291.          TODAYCALL        "Today's" Callers bulletin
  2292.          TOPFILE          Create most popular files bulletin
  2293.          TOPUSERS         Create the top user bulletins
  2294.          USERLIST         User listing bulletin
  2295.  
  2296.    AMU               Automated Maintenance Utility          Page   55
  2297.  
  2298.  
  2299.          Parameter        Function
  2300.          ------------     -------------------------------------------
  2301.          ARCHIVES         Create dated archives
  2302.          CLEAN            Clean user records
  2303.          DAILY_MAINT      Execute daily maintenance files
  2304.          INTERVAL_MAINT   Execute interval maintenance files
  2305.          MONTHLY_MAINT    Execute monthly maintenance files
  2306.          WEEKLY_MAINT     Execute weekly maintenance files
  2307.          SWITCH           Pick random menus/textfiles
  2308.          OKFILExxxxx      Creates a list of directories available for
  2309.                           file-request in the file defined in AMUCFG on
  2310.                           the System -> Filenames menu. Only file areas
  2311.                           with a security level less than or equal to
  2312.                           xxxxx will be included in this file. This option
  2313.                           is not yet active for Maximus or Lora systems.  *
  2314.  
  2315.     * These options are only available via the command line.
  2316.  
  2317.     There is a certain order in which AMU's options are executed, and they
  2318.     execute in the same order regardless of whether you are using command
  2319.     line parameters or not.  You cannot force AMU to execute in a different
  2320.     order.  The order is as follows:
  2321.  
  2322.         1) AMU will scan your logfiles and gather information from
  2323.            them that may be needed during it's run.  If it is not needed,
  2324.            AMU saves this information in the AMU Directory to be used for
  2325.            a later run which may need that information.
  2326.  
  2327.         2) AMU will read your user file and perform the options which post
  2328.            messages to users and the Enforce options.  If you have
  2329.            configured AMU to Clean the user file, this is done as the user
  2330.            file is read into memory, and the updates are written back to
  2331.            disk at the end of the message posting and Enforce section.
  2332.  
  2333.         3) The file area options are performed in the following order:
  2334.  
  2335.              a) Import FILES.BBS
  2336.              b) Backup
  2337.              c) Adopt
  2338.              d) Orphan
  2339.              e) Old
  2340.              f) Pack
  2341.              g) Rearchive/Scan/ImportDIZ/ExportDIZ/Comment
  2342.              h) Sort
  2343.              i) Update download counters
  2344.              j) Move files with no description
  2345.              k) Compress Text Files
  2346.              l) Headers
  2347.              m) Export FILES.BBS
  2348.  
  2349.    AMU               Automated Maintenance Utility          Page   56
  2350.  
  2351.  
  2352.            The Allfiles/Newfiles listings are created as AMU cycles through
  2353.            each file area.  A temporary copy of the list is made in the
  2354.            Work Directory, and at the end of the file area options, AMU
  2355.            will copy this to the file defined in AMUCFG for each list and
  2356.            archive it (if so configured).
  2357.  
  2358.         4) Bulletins created.
  2359.  
  2360.         5) Maintenance files executed.
  2361.  
  2362.         6) Archives
  2363.  
  2364.         7) The menu/txtfile switching
  2365.  
  2366.  
  2367.     As explained in section 2.3.2, AMU now maintains an internal
  2368.     database of your file and message areas.  Before AMU runs any
  2369.     of the file area maintenance options, it will check to make sure
  2370.     your BBS configuration has not changed since the last time you
  2371.     ran AMUCFG.  If it has, it will refuse to do any file area
  2372.     maintenance until you have run AMUCFG to update the internal
  2373.     database.  This is done to ensure that your file area information
  2374.     is valid so it isn't chasing after file areas that no longer
  2375.     exist, were moved, etc.  An entry to the logfile will be made if
  2376.     AMU aborts something due to the database being out of date.
  2377.  
  2378.     If you are running in a multitasking environment, you may wish to have
  2379.     your BBS taken offline while AMU runs.  In fact, it is strongly
  2380.     recommended that you do so!  Some BBS and mailer software will look for
  2381.     semaphore files to do just this, and AMU has a feature to help deal
  2382.     with this.  When AMU starts running, it looks for a file called
  2383.     SEMAPHOR.CTL in the AMU directory.  In this file you can tell AMU
  2384.     which semaphore files to create to take your BBS offline, and at the
  2385.     end of it's run, AMU will remove the semaphore files to put the BBS
  2386.     back online.  If you decide to use this feature, you need to consult
  2387.     the documentation for your software to determine the appropriate
  2388.     semaphore files to be created.  For example, in order to take
  2389.     InterMail offline, you could enter the following line in this .CTL
  2390.     file:
  2391.  
  2392.     C:\IM\SEMA\IMSLEEP.NOW
  2393.  
  2394.  
  2395.  
  2396.    AMU               Automated Maintenance Utility          Page   57
  2397.  
  2398.  
  2399.                            4  -  Registration
  2400.  
  2401.  
  2402.     As outlined in the license agreement, registration is required if
  2403.     you are going to use  AMU  past the thirty day evaluation period.
  2404.     Use of AMU  beyond the evaluation period  is strictly prohibited
  2405.     and is in violation of the license agreement. To register,  you may
  2406.     send the fee to one of the four registration sites:
  2407.  
  2408.     1) Australia                - REGISTER.AUS
  2409.     2) France                   - REGISTER.FRA
  2410.     3) Other European countries - REGISTER.EUR
  2411.     4) U.S. and all others      - REGISTER.FRM
  2412.  
  2413.     Do not send cash!  Checks must be drawn on a bank located in the
  2414.     country in which you are sending the registration.  For example, if
  2415.     you live in Spain and are sending your registration to the site in
  2416.     REGISTER.FRM, the check must be drawn on a U.S. bank.
  2417.  
  2418.     If you have a FidoNet address your keyfile will be sent to you via
  2419.     Netmail file attach. If you do not have a FidoNet node address,
  2420.     you will need to  log onto the  BBS of the site you are registering
  2421.     with, and download your keyfile. If this is the case, you will need
  2422.     to provide a name AND a password on your form so an account can be
  2423.     set up for you.
  2424.  
  2425.     If you need to contact me, my FidoNet address is 1:261/1108.0 and
  2426.     my BBS number is 1-410-974-9305. Any questions or comments should be
  2427.     directed there.  I am also reachable via the AMU_HELP echo which is on
  2428.     the Fidonet backbone, and on the Internet at davidh@smart.net.  The
  2429.     preferred method of reaching me is via the AMU_HELP echo or via the
  2430.     Internet.  If you prefer to send Fidonet netmail, you will need to poll
  2431.     my system for the reply within about 24 - 48 hours.
  2432.  
  2433.  
  2434.  
  2435.     AMU               Automated Maintenance Utility          Page   58
  2436.  
  2437.  
  2438.                            5  -  Credits
  2439.  
  2440.  
  2441.     A lot of the  credit has to  go to the  members of the Beta team.
  2442.     Without their  suggestions and  extensive  testing,  AMU would be
  2443.     little  more  than  a third-rate  piece  of junk.  The names  and
  2444.     FidoNet addresses of each of these  fine individuals is listed in
  2445.     the file, BETATEAM.310.  Thanks guys!
  2446.  
  2447.     AMUCFG  uses the user interface originally designed by Joaquim H.
  2448.     Homrighausen and is used with permission.
  2449.  
  2450.     The routines to swap to XMS/EMS/DISK were written by and released
  2451.     into the public domain by Ralf Brown.
  2452.  
  2453.     Squish is a trademark of Scott J. Dudley.
  2454.  
  2455.     JAM(mbp) - Copyright 1993 Joaquim Homrighausen, Andrew Milner
  2456.                               Mats Birch, Mats Wallin.
  2457.                               ALL RIGHTS RESERVED. 
  2458.  
  2459.     GEcho is copyrighted by Gerard J. van der Land
  2460.  
  2461.     PKzip and PKunzip are copyright by PKWare, Inc. and Phil Katz
  2462.  
  2463.  
  2464.     AMU               Automated Maintenance Utility          Page  59
  2465.  
  2466.  
  2467.                           6  -  Technical notes
  2468.  
  2469.     * AMU and AMUCFG were written in C++ and compiled under Borland
  2470.       C++ 4.52 and Turbo Assembler v3.2 using the Large memory
  2471.       model.  The OS/2 version is compiled under Borland C++ for OS/2
  2472.       v2.00.  The DPMI and Windows version are compiled under the
  2473.       Watcom 10.0a compiler.
  2474.  
  2475.     * When accessing the  various message bases,  AMU performs all of
  2476.       the required file locking/sharing for complete compatibility in
  2477.       a multi-tasking environment.
  2478.  
  2479.     * The GoldBase, Hudson, *.MSG, and JAM message bases  are accessed via
  2480.       proprietary routines.
  2481.  
  2482.     * The DOS versions of AMU and AMUCFG use direct screen writes for
  2483.       displaying to the screen.
  2484.  
  2485.     * AMU will return the  following errorlevels  to indicate various
  2486.       conditions which may occur during run-time:
  2487.  
  2488.               0  -  No error
  2489.               1  -  Error with the configuration file (not found usually)
  2490.               2  -  AMU and/or COMSPEC environment variable not set
  2491.               3  -  One or more parameters passed on the command line were
  2492.                     not valid
  2493.  
  2494.     * When decompressing archives,  AMU will first verify  that there
  2495.       is adequate free diskspace to complete the task, ( a minimum of
  2496.       three times that of the archive ).
  2497.  
  2498.  
  2499. End of File - AMU.DOC
  2500.