home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / AVAILIST.ZIP / AVAILIST.DOC < prev    next >
Encoding:
Text File  |  1993-01-04  |  17.7 KB  |  403 lines

  1.      ╒════════════════════════════════════════════════════════════════════╕
  2.      │                                                                    │
  3.      │                      AvaiList Revision 1.10                        │
  4.      │            'A Master Files and New Files List Generator'           │
  5.      │                    Compiled: February 6, 1989                      │
  6.      │                                                                    │
  7.      │                               By:                                  │
  8.      │                         Andrew D. Farmer                           │
  9.      │              FidoNet 1:163/115 - AlterNet 7:483/1.0                │
  10.      │                                                                    │
  11.      │                                                                    │
  12.      │         AvaiList is Copyright (c) 1989 by Andrew D. Farmer         │
  13.      │                   All rights strictly reserved.                    │
  14.      │                                                                    │
  15.      ╘════════════════════════════════════════════════════════════════════╛
  16.       
  17.      ╒════════════════════╕
  18.      │ THE LEGAL BUSINESS │
  19.      ╘════════════════════╛
  20.  
  21.      AvaiList  is guaranteed to do nothing  except take up disk space.  Use 
  22.      it  at your own risk.  No warranty is stated or implied.   The  author 
  23.      shall  not  be responsible for any damages resulting  from  it's  use, 
  24.      directly or indirectly.
  25.  
  26.      AvaiList is distributed as a Freely Available Copyrighted Program,  no 
  27.      fee  may be charged for distribution and the distribution  archive  is
  28.      not to be tampered with or altered in ANY way.
  29.  
  30.      AvaiList cannot be distributed in a modified form of any sort.
  31.  
  32.      Modified  Source  code, likewise, may NOT be distributed. If  you  are 
  33.      planning on porting the code to another operating system, or have code 
  34.      changes that you think are highly beneficial, then please contact  the 
  35.      author directly for assistance or guidance.
  36.  
  37.      While AvaiList is freely available for use in  non-corporate environs,
  38.      donations to the author will always be gratefully accepted.
  39.  
  40.      The  Author may be contacted at the 2 Network Addresses listed on  the 
  41.      Mast Head, or by surface mail as follows:
  42.  
  43.                             Andrew D. Farmer
  44.                             P.O.Box 11087 Station H
  45.                             Nepean, Ontario
  46.                             K2H 7T8  CANADA
  47.  
  48.  
  49.      ╒═════════════════════════════════════════╕
  50.      │ THE DISTRIBUTION ARCHIVE (ALST_110.ZOO) │
  51.      ╘═════════════════════════════════════════╛
  52.  
  53.      This archive should have included the following files:
  54.  
  55.      AVAILIST.DOC  -  The Documentation, formated for reading on screen.
  56.      AVAILIST.PRN  -  The Documentation, formated for printing.
  57.      AVAILIST.CFG  -  Sample Configuration File.
  58.      AVAILIST.EXE  -  The Executable Program.
  59.      ALST_SRC.ZOO  -  The Complete Source Code Archive.
  60.  
  61.  
  62.      ╒══════════════╕
  63.      │ WHAT IT DOES │
  64.      ╘══════════════╛
  65.  
  66.      AvaiList  is a program to generate 'Master' file lists and 'New'  file 
  67.      lists. It creates the lists based on information it finds in the files 
  68.      DIR.BBS and FILES.BBS in each of the file sub-directories.
  69.  
  70.      AvaiList DOES NOT need to be made aware of Opus style area numbers, it 
  71.      only  requires the paths to the file directories to be listed  in  the 
  72.      Configuration file (AVAILIST.CFG by default) and the presence of the 2
  73.      .BBS files.  AvaiList can, however, read the Opus System files  if you
  74.      desire.
  75.  
  76.      You may additionally have a 'Header' and 'Extra Info' file to be added 
  77.      to  the Master List, please refer to the Sections "Support Files"  and
  78.      "Command Line Syntax" for more information.
  79.  
  80.      AvaiList's  Screen  output is in the form of  Opus/Binkley  Style  Log 
  81.      Entries,  output may be redirected to a file to create a Log File  for 
  82.      later perusal, or to Nul to keep the screen clean.
  83.  
  84.      AvaiList needs about 64K of available memory, plus enough room to load
  85.      your selected Archiving utility, if you are using the Archive switch.
  86.  
  87.  
  88.      ╒════════════════════════════════════════════════╕
  89.      │ THE CONFIGURATION FILE (DEFAULT: AVAILIST.CFG) │
  90.      ╘════════════════════════════════════════════════╛
  91.  
  92.      The AVAILIST.CFG is totally optional if you use the Opus System Files,
  93.      otherwise, it must only contain the paths to the file directories.  In
  94.      addition you may place within this file commands that replace/simulate
  95.      command line options. Every single option in the AvaiList.Cfg file may
  96.      also be  placed on the command line (except the Area Paths) and if  an
  97.      identical  option is placed BOTH in the file and on the  command line,
  98.      then the value on the command line will be used.
  99.  
  100.      The presence and usage of this file simply allows you to  pre-set your
  101.      command  line options in advance,  thus allowing you to avoid  90 mile
  102.      long command lines.
  103.      
  104.      If  you use  an AvaiList.Cfg  in conjunction  with a -R as  the  first
  105.      command  line switch,  AvaiList will ignore  the command line and  run
  106.      from pre-set Configuration only.
  107.  
  108.      You  may additionally select a  different name for your  Configuration
  109.      file by using the -R command line switch. Please Note: If you select a
  110.      different config file using -R ALL OTHER COMMAND LINE SWITCHES WILL BE
  111.      IGNORED.
  112.     
  113.      See the sample AvaiList.Cfg file for more information on its usage.
  114.  
  115.  
  116.      ╒═══════════════╕
  117.      │ SUPPORT FILES │
  118.      ╘═══════════════╛
  119.  
  120.      ■ DIR.BBS
  121.        
  122.        AvaiList  will search for this  file in each of  the specified  File
  123.        Area Sub-Directories.  The first line DIR.BBS is used for the Header
  124.        fo r that block  of Files.  If the DIR.BBS file  is not found in the
  125.        directory, then the Drive:\Path is used as the title.
  126.  
  127.  
  128.      ■ FILES.BBS
  129.      
  130.        AvaiList  will search for this  file in each of  the specified  File
  131.        Area Sub-Directories.  The FILES.BBS is used as the list of Files to
  132.        place into the Master List.  If a FILES.BBS file is not found in the
  133.        directory, then 'No Files' is placed into the Master List.
  134.   
  135.        Each  Line  of  the Files.Bbs file is analyzed  separately,  if  the 
  136.        character in Column one (1) is a Hyphen (-) or  a Space ( ), and you
  137.        have NOT  used the -C command  line switch, then the  line is simply
  138.        copied wholesale into the Master List.  Otherwise the 1st contiguous
  139.        block  of characters is assumed to be the  File Name and the Rest of
  140.        the line is assumed to be the Description.  The lines will be Output
  141.        to the Master List in the form:
  142.  
  143.        FileName  Size-in-bytes  File-Date-Stamp  Description
  144.  
  145.        You  can  disable  the listing of File-Date-Stamp by  using  the  -D 
  146.        command line switch, see the section "Command Line Syntax" for  more 
  147.        information.
  148.  
  149.        If  the FileName does not exist in the directory, then  STORED  will 
  150.        appear  in  the Size-in-bytes area and OFF-LINE will appear  in  the 
  151.        File-Date-Stamp area. If you are using -D to suppress the File-Date-
  152.        Stamp, then non-existent files will be listed with the word  OFFLINE 
  153.        in the Size-in-bytes area.
  154.  
  155.        I  have also coded support for those that like to use  wildcards  in 
  156.        Files.Bbs files. If more than one file in the directory matches  the 
  157.        FileName  listed  in Files.Bbs, then the Master  List  will  contain 
  158.        separate  entries, including FileSize and DateStamp, for  each  file 
  159.        matching  the FileSpec. The single Description will be used for  ALL 
  160.        the matching entries.
  161.  
  162.  
  163.      ■ AVAILIST.HDR
  164.      
  165.        AvaiList  will  search for this file in the  default  directory.  If 
  166.        found, the entire contents of the file will be placed at the Top  of 
  167.        the Master and NewFile Lists.
  168.  
  169.        You may select a different name (or directory) for the file by using
  170.        the H command line switch, or the HEADER Configuration keyword.
  171.  
  172.      ■ AVAILIST.EXI
  173.  
  174.        AvaiList  will  search for this file in the  default  directory.  If 
  175.        found,  the  entire  contents of the file will be  placed  into  the 
  176.        Master  List  between  the  the  AvaiList.Hdr  Information  and  the 
  177.        Directory-by-Directory Listings.
  178.  
  179.        This  file can be extremely handy for listing such things  as  magic 
  180.        file names or password restrictions.
  181.  
  182.        You may select a different name (or directory) for the file by using
  183.        the E command line switch, or the EXTRA Configuration keyword.
  184.  
  185.        Please note that this file WILL NOT be placed into NewFile Lists.
  186.      
  187.  
  188.      ╒═════════════════════╕
  189.      │ COMMAND LINE SYNTAX │
  190.      ╘═════════════════════╛
  191.  
  192.      Usage: AvaiList <-R> or <-Ooutfile plus Optional Switches>
  193.  
  194.      The  command Line switches may be placed in any order as long as  they 
  195.      are  prefixed with either a / or a - symbol. Switches Listed in  angle 
  196.      brackets are optional. If no switches are used, a Syntax Summary  will 
  197.      be  presented to you.  Any Switch,  except -R,  may be pre-set  in the
  198.      Configuration File.
  199.  
  200.      Switches:
  201.  
  202.         ■  -A<arc_cmd>
  203.     
  204.            This  turns Archive Mode On, it will cause the  finished  Master 
  205.            List,  and NewFile list if selected, to be Archived into an  Arc 
  206.            file  using  the  same trunk name as the Master  File,  and  the 
  207.            Extention of the Archiver Used.
  208.  
  209.            The modifier 'arc_cmd' is one of the following: ARC, DWC, PKARC,
  210.            PKPAK, PAK or ZOO. If no 'arc_cmd' modifier is specified it will
  211.            default to using ZOO.
  212.  
  213.         ■  -B
  214.  
  215.            Allows you to selct what sort of Box will be used in the  Output
  216.            lists. BoxType's 1 through 4 use IBM-PC characters, therefore to
  217.            disable the use of the IBM Extended Character set you must use a
  218.            BoxType of 0. The default BoxType is 4.
  219.  
  220.            BoxTypes are:
  221.  
  222.              0    1    2    3    4        0 = Hatches (Non-IBM)
  223.             ---  ┌─┐  ╔═╗  ╓─╖  ╒═╕       1 = Single Rule
  224.                  │ │  ║ ║  ║ ║  │ │       2 = Double Rule
  225.             ---  └─┘  ╚═╝  ╙─╜  ╘═╛       3 = Single Top, Double Sides
  226.                                           4 = Double Top, Single Sides
  227.  
  228.         ■  -C 
  229.  
  230.            Comment Control Switch. If this switch is used,  then all of the
  231.            comments in Files.Bbs will NOT be copied to the Master List, but
  232.            instead will simply be ignored.  Note: Comments lines will NEVER
  233.            be included in the New File List.
  234.  
  235.         ■  -D
  236.  
  237.            This switch turns OFF the listing of the Date for each file.  If 
  238.            this switch is not used, then the DOS Date for the file will  be 
  239.            automatically  placed in the Master and NewFile Lists. Use  this 
  240.            switch to disable that automatic addition. 
  241.  
  242.         ■  -Efilespec
  243.    
  244.            Allows you to override the default 'Extra Info' File Name.
  245.  
  246.         ■  -F<days>
  247.  
  248.            This  switch turns NewFile flagging on. If this switch is  used, 
  249.            all  files less than 7 days old will have an asterix (*)  placed 
  250.            beside its entry in the Master List.
  251.  
  252.            If  you plan on using the -N switch to create an output list  of 
  253.            New  Files, it should be noted that this (-F) switch is  a  pre-
  254.            requisite for use of the -N switch.
  255.  
  256.            The Optional modifier 'days' can be any number between 1 and 99. 
  257.            This sets the maximum number of days old a file can be and still 
  258.            get  flagged  as new. As stated above, the default  value  is  7 
  259.            days, use this modifier to change that default.
  260.  
  261.         ■  -Hfilespec
  262.    
  263.            Allows you to override the default 'Header' File Name.
  264.  
  265.         ■  -K
  266.  
  267.            By default,  any files that are listed in the Files.Bbs,  but do 
  268.            not reside in the directory are listed in the list  along with a
  269.            comment  that they are off-line.  If this switch is used,  those
  270.            'missing' files will simply be ignored, and not placed  into the
  271.            list in any form.
  272.  
  273.         ■  -M
  274.  
  275.            When this switch is used in conjunction with the -A command,  it 
  276.            will  cause the finished Master List to be Moved to the  Archive 
  277.            instead  of  simply being added. In other words it  deletes  the 
  278.            original after Arcing.
  279.  
  280.         ■  -Noutfile
  281.  
  282.            When  this switch is used in conjunction with the -F switch,  it 
  283.            causes an Output List of New Files to be created along with  the 
  284.            Master  List.  If this  Switch  is used,  the  'outfile'  is NOT
  285.            optional and must be provided for execution to occur.
  286.  
  287.            The  modifier  'outfile' can be either a simple  filename  or  a 
  288.            [drive:]\path\filename.
  289.  
  290.         ■  -Ooutfile
  291.  
  292.            This  is the name of the file to use for generating  the  Master 
  293.            List.  This  Switch  is NOT optional and must  be  provided  for 
  294.            execution to occur.
  295.  
  296.            The  modifier  'outfile' can be either a simple  filename  or  a 
  297.            [drive:]\path + filename.
  298.  
  299.         ■  -Q
  300.  
  301.            Causes  AvaiList to shut-up and be quiet.  If used, the 'Runtime
  302.            Configuartion' screen will NOT be presented to you.
  303.  
  304.         ■  -R<config>
  305.  
  306.            Causes  AvaiList to  ignore the  command line  and run  based on
  307.            Configuarion File information only. If used, this switch MUST be
  308.            the first command line switch &  ALL OTHER COMMAND SWITCHES WILL
  309.            BE IGNORED.
  310.  
  311.            By  default AvaiList will search for AvaiList.Cfg in the default
  312.            directory,  you may over-ride this by selecting a  Configuration
  313.            File directly following the R switch.
  314.  
  315.         ■  -S
  316.  
  317.            Causes AvaiList to search the Opus System.Bbs Files for the Path
  318.            Information.  It will use ALL the areas it finds.  AvaiList will 
  319.            NEVER read Area 0, and will only search through the System files
  320.            until it detects a gap in the files (ie:  it will only  read the
  321.            System files one by one until it hits a number that doesn't have
  322.            a corresponding System??.Bbs file), this allows you to 'Hide' an
  323.            area, by placing a 'dead' area before it.
  324.  
  325.            NOTE:  The use of this switch will over-ride any 'Area' keywords
  326.            in the Configuration file.
  327.  
  328.            WARNING: This feature only suports Opus 1.03 style System files,
  329.            it should also support Opus 1.10 'decimal' system files. It will
  330.            NOT support Opus 1.10 Hexadecimal System Files.
  331.  
  332.         ■  -T
  333.  
  334.            Causes  the total number of Files & Bytes in each area NOT to be
  335.            reported at  the end of that  area's listing in the Master List.
  336.            Default action WILL report these totals.
  337.    
  338.            This switch has no effect on any NewFile list being produced.
  339.  
  340.         ■  -Z
  341.  
  342.            Allows  you to select what  identification character to  use for
  343.            flaging of NEW files. Default action is to use an asterix (*).
  344.  
  345.  
  346.      ╒══════════════════╕     │ EXIT ERRORLEVELS │
  347.      ╘══════════════════╛
  348.  
  349.      There are 6 possible ErrorLevels that AvaiList can return to DOS  upon 
  350.      program completion or abortion. They are:
  351.  
  352.         ■  ErrorLevel 5    -  Can't Open the Opus System Files
  353.         ■  ErrorLevel 4    -  Unable to Write to NewFile Output File.
  354.         ■  ErrorLevel 3    -  Unable to Write to Master Output File.
  355.         ■  ErrorLevel 2    -  No File Area Paths were Specified.
  356.         ■  ErrorLevel 1    -  Bad Command Line/Config File Syntax usage.
  357.         ■  ErrorLevel 0    -  Successful Completion of AvailList.
  358.  
  359.  
  360.      ╒═════════════════════════════╕
  361.      │ CREDIT, WHERE CREDIT IS DUE │
  362.      ╘═════════════════════════════╛
  363.  
  364.      I would like to thank my Beta Team for AvaiList, they offered up thier
  365.      Hard Disks as sacrifice to this software!  Alphabetically they are:
  366.  
  367.            Scott Dudley ....... Kingston, Ontario ........ 1:148/314
  368.            Stephen Hendricks .. Perry Hall, Maryland ..... 1:261/1049
  369.            Tom Hendricks ...... Lutherville, Maryland .... 1:261/662
  370.            Bruce Miller ....... Ottawa, Ontario .......... 1:163/201
  371.            Dan Thomson ........ Ottawa, Ontario .......... 7:483/103
  372.            Ken Wilson ......... Ottawa, Ontario .......... 1:163/211
  373.  
  374.      A  special thanks to Dan "Sam" Thomson for all his timely reports  and 
  375.      ideas  on all my projects, they always came when I was ready to  throw 
  376.      in the towel.  Thanks, Sam ... for everything.
  377.  
  378.  
  379.      ╒════════════════╕
  380.      │ CLOSING NATTER │
  381.      ╘════════════════╛
  382.  
  383.      I believe I have outlined everything in this documentation. I may have 
  384.      left  something  out,  and probably have. I expect  I'll  remember  an 
  385.      important one as soon as this release is on it's way through  Software 
  386.      Distribution ;-).
  387.  
  388.      If  you have any problems you can't fix or questions you can't  answer 
  389.      then  please contact me via NetMail or surface mail. I will always  do 
  390.      my best to support my software, but it is, by definition un-supported. 
  391.      I will answer queries as time allows, please be patient when  awaiting 
  392.      a reply.
  393.  
  394.      Thank You......and congratulations for reading all the way through the
  395.      documentation <Grin>.
  396.      
  397.      Andrew D. Farmer
  398.      Ottawa, Ontario, Canada
  399.      February 6, 1989
  400.  
  401.      ╒════════════════════════════════════════════════════════════════════╕
  402.      ╘════════════════════════════════════════════════════════════════════╛
  403.