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