home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- =====( TAF V1.10 )================================================
-
-
- Trion 'Allfiles' Utility.
-
- (c) Copyright Paul Spijkerman, '94-'98. All rights reserved.
-
- Written for use with the Trion BBS package.
-
-
- ===================================================================
-
- This is the Trion allfiles generator, it is basically a programm
- that makes file lists of groups of selected file sections, archives
- them and add them to the file catalogue.
-
- It can make a number of different allfiles with one configuration file.
- Each list can be of the "Allfiles" or "Newfiles" type.
- Only validated files are listed.
- Only sections which contain files or newfiles are listed.
-
-
- The allfiles programm uses a configuration file called
- "trion:cfg/allfiles.cfg".
- In the configuration file you can define a number of allfiles.
- Each allfiles definition consists of a number of lines with
- the information needed to create an allfiles and is ended
- with an END line.
- The information consist of file list methode (alphabetically
- or chronologically), the file section it is added too, the
- file sections a list is made of, and the names and description
- of the file in the BBS and information needed to archive the list.
-
-
- When the allfiles programm is started it get's the definitions
- of the allfiles one at a time.
- Then it removes the old allfiles from the file catalogue, it
- makes a new list in the temporary directory (default RAM:)
- Archives it and adds it to the file catalogue.
- When an allfiles is added to the file catalogue it is validated
- and has a 'FreeDownload' flag.
-
-
- The file list code has 2 modes, the normal one, and one with
- preformatted descriptions.
-
- The normal list mode occurs when there are no returns in a
- description. The description is listed by means of wordwrap
- at the end of a line, and skipping spaces at the start of
- lines.
-
- The other list mode concerns preformatted descriptions, those
- are basically descriptions with returns in them, wich come
- from description files like FileID.DIZ files.
- These are treated a little different because leading spaces
- at the start of a line are not skipt, and that returns are
- used to decide when to go to the next line over the
- wordwrap methode.
-
-
- Here is an example of an allfiles configuration file:
-
-
-
-
- ;====( Tron AllFiles Configuration File )=====
-
-
-
- ;; methode of sorting the list , can be 'ALPHA' or 'CHRONO'
-
- SORT ALPHA
-
- ;; type ALLFILES or NEWFILES
-
- TYPE ALLFILES
-
- ;; number of days scanning back with newfiles
-
- DAYS 14
-
- ;; Area to Add this AllFiles to
-
- AREA 5
-
- ;; Description in the BBS filecatalog
-
- DESC "AllFiles of this BBS"
-
- ;; filename and archive name of the allfiles
-
- NAME "ALLFILES.TXT"
- ARC "ALLFILES.LHA"
-
- ;; Temporary directory to make file and archive
-
- TEMP "RAM:"
-
- ;; How to archive this allfiles
- ;; %a = archive , %t = allfiles text
-
- ARCHIVER "Lha -q -N -m a %a %t"
-
- ;; Wich sections to Add to this AllFiles
-
- SECTIONS 3-5 , 12-14 , 20-35
- SECTIONS 60-73
-
- ;; End of this allfiles
-
- END
-
-
-
-
-
-
-
- ;; methode of sorting the list , can be 'ALPHA' or 'CHRONO'
-
- SORT ALPHA
-
- ;; type ALLFILES or NEWFILES
-
- TYPE NEWFILES
-
- ;; number of days scanning back with newfiles
-
- DAYS 14
-
- ;; Area to Add this AllFiles to
-
- AREA 5
-
- ;; Description in the BBS filecatalog
-
- DESC "newfiles of the last 14 days of this BBS"
-
- ;; filename and archive name of the allfiles
-
- NAME "NEWFILES.TXT"
- ARC "NEWFILES.LHA"
-
- ;; Temporary directory to make file and archive
-
- TEMP "RAM:"
-
- ;; How to archive this allfiles
- ;; %a = archive , %t = allfiles text
-
- ARCHIVER "Lha -q -N -m a %a %t"
-
- ;; Wich sections to Add to this AllFiles
-
- SECTIONS 3-5 , 12-14 , 20-35
- SECTIONS 60-73
-
- ;; End of this allfiles
-
- END
-
-
-
-
-
-
-
- ;; methode of sorting the list , can be 'ALPHA' or 'CHRONO'
-
- SORT ALPHA
-
- ;; type ALLFILES or NEWFILES
-
- TYPE ALLFILES
-
- ;; number of days scanning back with newfiles
-
- DAYS 14
-
- ;; Area to Add this AllFiles to
-
- AREA 9
-
- ;; Description in the BBS filecatalog
-
- DESC "AllFiles of TRION files"
-
- ;; First part of filename of this Allfiles
-
- NAME TALLFILES.TXT
- ARC TALLFILES.LHA
-
- ;; Temporary directory to make file and archive
-
- TEMP "RAM:"
-
- ;; How to archive this allfiles
- ;; %a = archive , %t = allfiles text
-
- ARCHIVER "Lha -q -N -m a %a %t"
-
- ;; Wich sections to Add to this AllFiles
-
- SECTIONS 9
-
- ;; End of this allfiles
-
- END
-
-