home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
dwnsrt62.zip
/
DOWNSORT.CFG
< prev
next >
Wrap
Text File
|
1995-11-05
|
27KB
|
499 lines
;
; ██▐███ █▐███ ██ ██ ██▐███ ██▐████ █▐███ ██▐███ ██▐████
; ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ▐██
; ██ ██ ██ ██ ██ █ ██ ██ ██ ██▐████ ██ ██ ██▐███ ▐██
; ██ ██ ██ ██ ██ █ ██ ██ ██ ██ ██ ██ ██ █ ▐██
; ██▐███ █▐███ █▐███ ██ ██ ██▐████ █▐███ ██ ██ ▐██
; (font 2)
;
;
; ▄▀▀▀▄ ▄▀▀▀▄ █▄ █ █▀▀▀▀ ▀█▀ ▄▀▀▀▄ █ █ █▀▀▀▄ ▄▀▀▀▄ ▀▀█▀▀ ▀█▀ ▄▀▀▀▄ █▄ █
; █ █ █ █▀█▄█ █▄▄ █ █ ▄▄ █ █ █▄▄▄▀ █▄▄▄█ █ █ █ █ █ ▀▄█
; ▀▄▄▄▀ ▀▄▄▄▀ █ ▀█ █ ▄█▄ ▀▄▄▄▀ ▀▄▄▄▀ █ ▀▄▄ █ █ █ ▄█▄ ▀▄▄▄▀ █ █
; (font 1)
;
;
; █▀▀▀▀▀▀ █ █ █▀▀▀▀▀▀
; █▄▄▄▄▄▄ █▄ █▄ █▄▄▄▄▄▄
; ██ ██ ██ ██
; ██ ██ ██▄▄▄▄▄ ██▄▄▄▄▄
; (font 3)
; (font 4 is reverse video of 3)
;
;
; ┌╦══╦┐ ┌╦ ╦┐ ┌╦══╦┐ ┌╦═╦═╦┐ ┌╦══╦┐ ┌╦══╦┐ ┌╦ ┌╦╦╦┐ ┌╦══╦┐ ┌╦══╦┐
; │╠═╦╩┘ ┌┐ │╠══╣│ │╠══╣│ │║ ║ ║│ │╠═ │╠═╦╩┘ │║ ║ │║ ║│ │║ ═╦┐
; └╩ ╚═┘ └┘ └╩ ╩┘ └╩ ╩┘ └╩ ╩┘ └╩══╩┘ └╩ ╚═┘ └╩═╩┘ └╩╩╩┘ └╩ ╩┘ └╩══╩┘
; (font 5)
;
; ┌──────────────────────────────────────────────────────────────────────┐
; │ Sample Configuration File for DOWNSORT by Rob Hamerling │
; └──────────────────────────────────────────────────────────────────────┘
;
; Downsort is designed to make many lists in almost any combination
; in a single run with several areagroup selections.
;
; Downsort can be invoked with a commandline parameter specifying another
; than the default configuration filename ('Downsort.Cfg'), for example:
;
; DOWNSORT @SPECIAL.CFG
;
; (the '@' prefix denotes that a configuration filespec is following)
;
;
; Rules for parameter specifications in the a configuration file:
; ===========================================================
; - Leading blanks and empty lines are skipped.
; - Lines with '%', '*' or ';' as first non-blank character are
; considered to contain comments only and are skipped.
; - Lines with a valid keyword but without any parameters, are
; considered to be comment lines and are skipped.
; - All parameters for a specific keyword should be on a single line.
; - Of mutually exclusive values only the last will take effect.
; - Invalid or not-recognised parameters may be ignored without notice.
; ───────────────────────────────────────────────────────────────────────
;6.2 RegName The name for which you registered, enclosed in double quotes.
;6.2 ------ Unregistered use of Downsort is allowed up to 30 days.
;6.2 See the file 'Register.Txt' for how to register.
RegName "Rob Hamerling"
; ───────────────────────────────────────────────────────────────────────
; First the specifications for the data collection phase
; ───────────────────────────────────────────────────────────────────────
;
; Farea: Complete file-specification of your 'FAREA.DAT' file.
; ----- FAREA.DAT is built by MAX's SILT[P] (-a, -af or -x option).
FareaDat d:\maximus\farea.dat
; FareaDat d:\c\falist\farea.dat
; FileEXclude Select FILES to be excluded from ALL(!) lists.
; ----------- By default all files in all (selected) areas will be
; included, unless you use this keyword.
; Specify 8.3 filename.ext type of strings, wildcards are
; allowed and honored, don't use quotes.
; The selection is case-insensitive and is independent of area.
; You may specify multiple filespecs on a line, separated
; by one or more blanks, and as many lines as needed.
FileExclude FILES.* *.BAK SYSTEM*.?BS DIR.?BS
FileExclude 00INDEX.* WILDCAT.TXT DESCRIPT.ION TEST
; AreaGroup Defines a logical name for a group of fileareas.
; --------- AreaGroups are used to build lists for groups of fileareas.
; With AreaINclude and or AreaEXclude keywords following this
; AreaGroup keyword, the collection of areas for this group
; is defined. The groups are independent: areas may be member
; of more than one group, other areas may not be in any group.
; A new AreaGroup keyword closes the previous.
;6.2 During data collection only the required areas are scanned.
;6.2 WARNING: If at least one list doesn't specify an areagroup,
;6.2 file info of ALL area's is collected, which may
;6.2 significantly downgrade the performance of Downsort,
;6.2 especially when CDROM drives are involved!
;6.2 NOTE: Areagroups are only meaningful in combination with a
;6.2 '-S' specification on an xxxFileList line (see below)!
; AreaINclude Select areas to be INCLUDED in the group.
; AreaEXclude Select areas to be EXCLUDED from the group.
; ----------- Character strings define which filedivisions and/or
;6.2 fileareas have to be INcluded in or EXcluded from the group.
;6.2 The strings are used as PREFIX. All areanames that start with
;6.2 the specified string are considered 'matching' the
;6.2 specification. The FULLY QUALIFIED areanames (including
;6.2 Division prefixes!) are considered.
;6.2 You may specify multiple strings on a line, separated by one
;6.2 or more blanks, and as many lines as needed. AreaINclude
;6.2 and AreaEXclude keywords may appear in any sequence, in
;6.2 Downsort.cfg. All comparisons are case-INsensitive.
; The following rules determine which areas will be member of
; an AreaGroup:
;6.2 - If only areaINclude is specified for a group, then ONLY
;6.2 the areas of which the name matches with any areaINclude
;6.2 string will be member of this group.
;6.2 - If only areaEXclude is used for a group then ALL(!) areas
;6.2 will be included EXCEPT those areas of which the name
;6.2 matches with any areaEXclude string.
;6.2 - If both areaINclude and areaEXclude are specified for a
;6.2 group, then all areaINcludes precede any areaEXclude.
;6.2 - If neither areaINclude nor areaEXclude is specified
;6.2 then the group is empty.
; Hints for the use of AreaGroups:
;6.2 - If you don't use areaINclude, you probably want to
;6.2 areaEXclude 'Sysop', 'Upload', 'Inbound', etc.
;6.2 More genarally: remember to areaEXclude those areas that
;6.2 you normally won't show to all of your users!
; - You would normally use one of both keywords. Using them
; both is only meaningful if the areaEXclude strings are
; more restrictive (longer) then the areaINclude strings.
; See for an example the AreaGroup 'HOB' below:
; Suppose you have fileareas named HC000 to HC999
; in a filedivision Hob (denoting the HOBBES CDROM),
; then the group HOB would select the files from
; areas HC000 to HC039, but NOT those ending with a '9'.
AreaGroup OS2
AreaINclude OS2. FW.
AreaGroup nonOS2
AreaEXclude OS2. FW. SYSOP. UPLOAD INBOUND
AreaGroup HOB
AreaINclude Hob.hc00 Hob.hc01 Hob.hc02 Hob.hc03
AreaEXclude Hob.hc009 Hob.hc019 Hob.hc029 Hob.hc039
; ───────────────────────────────────────────────────────────────────────
; Above parameters involve the data collection (selection) process,
; below follow the report specifications.
; Firstly the common parameters that apply to all lists (if applicable).
; ───────────────────────────────────────────────────────────────────────
; Title: Short string that will be displayed in BLOCK-characters
;6.2 --- on top of NEW, TOP, IPF, IPN, GBL and ALL, but not in
;6.2 BBS, ORP, DUP, USR and FILES.BBS.
; An unlimited number of 'Title'-lines may be specified.
; If Title isn't specified, no blocktitles will appear.
; The following characters are supported in block-fonts:
; UPPER case A..Z
; LOWER case a..z (but will be presented in UPPER case)
; Digits 0..9
;6.2 _ * | . : [ ] ( ) / \ - and space
; Not-supported characters are displayed as blank.
; The '`'-character (reverse quote) is translated into a half
; width space, the '~'-character into a full width space.
Title ~DownSort~
Title ~~~from~~~~
Title ~Holland~~
; PreTitle Lines to be displayed immediately before the BLOCK-title.
; -------- The lines will be copied as is. However leading blanks will
; be skipped, no wrapping or truncation will be applied for
; 'long' lines. '~' (tilde) characters are translated to
; blanks. You may specify an unlimited number of PreTitle lines.
; Empty PreTitle lines are ignored. There is no default PreTitle.
; To create empty lines in your header specify a PreTitle
; with a tilde.
PreTitle ~
PreTitle ~~~~~~~<═════:═════ p r e - t i t l e ═════:═════>
PreTitle ~
; SubTitle Lines to be displayed below the BLOCK-title.
; -------- Exactly the same rules apply as for PreTitle.
; If an include file is specified on the xxxFileList line, then
; this is inserted between block title and subtitle!
SubTitle ~
SubTitle ~~~~~~~<═════&═════ s u b - t i t l e ═════&═════>
SubTitle ~ Overview of downloadable files on this magnificent Board
SubTitle ~ Node number 9.999/99, modemspeeds: V.99/V.99bis
SubTitle ~~~~~~~<═════════════════════════════════════════>
SubTitle ~
; BottomLine Lines to be displayed at the end of the filelist.
; ---------- Exactly the same rules apply as for PreTitle and Subtitle.
;
BottomLine ~
BottomLine ~~~~~~~<═══════ b o t t o m : t i t l e ═════════>
BottomLine ~
BottomLine ~~~~~~~<═══ How do you like DOWNSORT, folks? ════>
BottomLine ~
; DupNameSize Indicates the number of characters of the fileNAME that are
; ----------- maximally to be compared to consider a name 'duplicate'.
; Allows version numbers to be detected, for example:
; with "DupNameSize 6" DWNSRT61.ZIP and DWNSRT62.ZIP will
; appear as duplicates in the DupFileList report.
; Default: 8
DupNameSize 8
; NonDupEXT Suppress reporting as 'duplicate' if 2 files with equal
; --------- filenames but unequal extensions are defined as 'pair'.
; The example specification below has the effect that files of
; any pair "xyz.SDA" and "xyz.SDN" ("xyz": any filename) will
; not be listed in DupFileList.
; - Files with equal filename AND equal extension will
; still be reported as duplicate even when the extension
; is one of a 'NonDupEXT' pair!
; - Multiple extensions must be specified in as many pairs
; as can be formed (3 extension 3 pairs; 4 ext. 6 pairs;
; etc, e.g: for Nodelists: DAT EXT DAT IDX EXT IDX).
; You may specify multiple extension-pairs on a line
; (separate the extensions with blanks), and as many lines
; as needed.
; Default: no suppression
NonDupEXT SDN SDA
; OrphanDesc Description text of 'orphan' (file without entry in FILES.BBS)
; NotFoundDesc Description text of files without description in FILES.BBS.
; ------------ The description will replace the default hard-coded text.
; Up to 45 characters may be specified.
; The '~' (tilde) character will not be translated here!
OrphanDesc ~~~~~ Orphelin!!!! ~~~~~
NotFoundDesc ~~~ Ce fichier défie toute description!
; OfflineDesc When a filespecification is found in FILES.BBS but the file
; ----------- is not found in the corresponding download directory, this
; text replaces the filesize and date (right aligned).
; Up to 14 characters are accepted.
OfflineDesc -- archived --
; AVAstrip You may wish to strip off AVATAR graphics characters from
; -------- the contents of your FILES.BBS files.
; Specify 'No' to deactivate stripping (default is 'Yes').
; ==> Works ONLY for COMMENT LINES in ALL- and IPF-lists, and
; remember: comments are only listed with KEEPSEQ (no sort).
AVAstrip Yes
; AreaOrder Order in which areas have to be sorted in the lists.
; Selection can be: A[lpha] - Alphabetic order of areaname
;6.2 G[roup] - Group (FileDivision) order
; I[nclude] - order of areaINclude
; K[eep] - Keep order of FAREA.DAT
; Specify one of these type (first letter is sufficient).
;6.2 Where areanames are involved in sorts, the sequence will be
;6.2 according to AreaOrder. With 'Group' the areas will be sorted
;6.2 alphabetically in sequence of the fully qualified areaname,
;6.2 (including division prefixes), with 'Alpha' areas will be
;6.2 in sequence of the unqualified areaname (ignoring divisions).
;6.2 'Group' and 'Keep' will make division boundaries visible.
;6.2 Note: 'Include' uses the AreaInclude specifications, which
;6.2 are prefixes. Areas matching the same AreaInclude string
;6.2 will be sorted in 'Keep' sequence.
; Default: Group
AreaOrder Group
; ──────────────────────────────────────────────────────────────────────
; Above were the parameters common to most lists.
; Below follow list-specific parameters, which might override some of
; the settings of the common parameters.
; Keep this sequence: first common, then specific parameters!
; ──────────────────────────────────────────────────────────────────────
;
; xxxFileList: Create a File lists of type 'xxx' (1 list per keyword)
;
; xxx ───┐ ┌── Specification of output
; │
; ┌── BBS │ ┌── Additional options for
; ┌── ALL │ │ each list individually:
; ┌── GBL │ │
; ┌── NEW │ │ -A Alphabetic sort on filename
; ┌── IPF │ │ -Cn Continuation-line indent
;6.2 ┌── IPN │ │ -D Date sort (descending)
;6.2 ┌── TOP │ │ -F# Font number for BLOCK title (1..5)
; ┌── USR │ │ -G Group (division) sort
; ┌── ORP │ │ -If Imbed filespec
; ┌── OK │ │ -K Keep original FILES.BBS sequence
; ┌── DUP │ │ -L Long line type (+filesize+date)
; │ │ │ -O Orphans to be reported / adopted
; │ │ │ -R Remove 'not-found' file descriptions
; │ │ │ -Sg Select areagroup 'g'
; │ │ │ -T Truncate file descriptions
; │ │ │ -Um USRmodel logical name selection
; │ │ │ -W Wrap file descriptions
; │ │ │ -X eXclude display of ACS in headers
; │ │ │ nnn[P] entries limit: number or period
; │ │ │ ('P' = Days | Weeks | Months)
;
; ═══─═══════ ════════ ════════════════════════════════
; xxxFileList PathSpec Option-1 Option-2 . . . Option-n
;
;6.2 Maximus' PRIVILEGE and USERLOCK/KEYS are NOT SUPPORTED anymore.
;
;6.2 The output 'PathSpec' for each list MUST be specified.
;
; The following options may be specified (in any sequence):
; -A Sort files Alphabetically on filename
; -D Sort files on Date/time of the files
; -G Sort files on Group (division) name
; -K Keep sequence of files as they appear in FILES.BBS.
; Note: not all sorts apply to all list types (but most do)
;
; -Cn Continuation Indentation of description: relative position
; of description on second and following lines if wrapped
; descriptions are used. 'n' will normally be the width of
; a download counter field.
; May be specified negative for left-indentation (e.d. -C-16)!
;
;6.2 -F# BLOCK title font. Choose for '#' a number from 1 to 5.
; Valid numbers: 1 .. Simple font (5x6 pattern)
; 2 .. Pseudo-Stencil Font (7x10 pattern)
; 3 .. ROBoComputer Font (7x8 pattern)
; 4 .. Reversed Video RoboComp (7x8 pattern)
;6.2 5 .. Wide open font (7x6 pattern)
; See some samples of the fonts in the top of this file.
;6.2 Default font is 3, which is hard coded in some parts of the lists.
;6.2 By specification of '-F' or 'F0', you may suppress block titles
;6.2 (maybe also on places where you still want 'm, experiment!).
;
; -If Imbed userfile ('f' is file-spec) immediately following the
; block-title (if any). The contents of the file is included without
; any translation, so beware of special characters and effects like
;6.2 formatting (word-wrap) especially in the IPF- and IPN-list!
; NOTEs: - does not apply to lists of 'Sysop'-type (like DUP and ORP)
; - BBSFileList imbeds always DOWNSORT.HDR and DOWNSORT.TRL
;
; -L Long list format for some selected list types:
; - FILFilePath: see (almost) at the end of this file.
;
;6.2 -O Orphans to be reported in xxxFileList or adopted in FILES.BBS.
;6.2 Orphans are files in the download directory that have no entry
;6.2 in the corresponding FILES.BBS. The entries will get the
;6.2 'OrphanDesc' and will be reported in any xxxFileList when the
;6.2 flag -O is specified. But it has effect only when also an
;6.2 ORPFileList is requested!
;6.2 Default: orphans will NOT be listed or adopted.
;
; -R Remove 'offline' file-entries.
; 'Offline' files have an entry in Files.Bbs, but are not in the
; download directory of this area.
; These files will be listed with 'offline' in the size/date field.
; When you specify '-R' the file will not appear in the list, and
; when specified on xxxFilePath, it will be removed from Files.Bbs.
;6.2 Default: list and do not remove 'offline' file entries.
;
; -Sg Select AreaGroup for the list ('g' should be a name defined with
; AreaGroup keyword). The list will only contain areas of the
;6.2 of the specified group.
;6.2 If the specified group is not defined the list will be empty.
;6.2 If no group is selected the list will contain ALL areas.
; Default: All areas will be included.
;
; -T Causes Truncation of long descriptions (to about 50 characters)
; so that each file-entry takes not more than a single line.
; -W Causes Wrapping of long descriptions: the report will contain
; as many lines as needed for the complete file description.
;
; -Um USRmodel-name to be selected for USRFileList.
; 'm' should be the name of one of the specified USRmodel statements.
;6.2 Default: nothing (no list generated)
;
;6.2 -X eXclude ACS reporting the list-headers.
;
; nnn[P] Limit the number of file-entries to a maximum of 'nnn'.
; If followed by Period-indicator ('D', 'W' or 'M') the list is
; limited not by number, but by file-AGE in Days, Weeks or Months.
; NOTEs: - the Period-letter does not apply to IPF-lists
; - 'nnn' denotes maximum number of files on a VIEW-page.
; - ALL-lists can only be limited by period (not number).
AllFileList list\Allfiles.all -a -W -f5 -IDownsort.Inc
AllFileList list\Allfiles.new 2m -a -w -f5 -x -IDownsort.Inc
AllFileList list\Allfiles.hob -k -W -sHOB -IDownsort.Inc
AllFileList list\Allfiles.dos -k -W -snonOS2 -IDownsort.Inc
BBSFileList list\Bulletin.bbs 3w -d -w -x
GblFileList list\GblFiles.psq -a -w -c6 -IDownsort.Inc
IpfFileList list\Allfiles.Ipf 200 -k -w -sOS2
IpnFileList list\Newfiles.Ipf 6w -g -f1 -sOS2
NewFileList list\Newfiles.psq 2m -g -w -f2 -x
TopFileList list\TOPfiles.psq 30 -a -w
DupFileList list\Dupfiles.psq
OKFileList list\Okfile.psq -iDownsort.mag
OrpFileList list\Orphans.psq -g
; NOTE: The IPF-list has the format of an INPUT-file for the
; Information Presentation Facility Compiler (IPFC).
; It should be compiled with: "IPFC Allfiles.IPF /INF"
; This will produce a file called Allfiles.INF, which is ready
; to be viewed with the command: VIEW Allfiles
; Note: The IPFC compiler is not distributed with DOWNSORT,
; but could be obtained for the IBM program development
; toolkit for OS/2 2.0+, or is part of a compiler package.
; ──────────────────────────────────────────────────────────────────────
; USRFileList Builds a list of 'user format' lines with file information.
; ----------- It is designed to build batch-files for file maintenance.
; The format of each line is a variable string. It is given a
; name with the USRmodel keyword. The corresponding format is
; the line immediately following he name (use no space-lines!).
; The format-string may contain symbolic variables that will be
; replaced by the actual value of file- or area-information
; as follows:
;6.2 %$ - ACS (Access Control String) of area
; %2 - duplicate file flag: '2' if duplicate file, '1' if not.
;6.2 %A - Areaname (fully qualified with division prefixes).
; %C - file Creation date (fixed 8 characters)
; %D - most recent of lastwrite and creation Date of file
; %F - Filename.ext
; %H - File-age in days
; %N - Download count (from [nnn] in FILES.BBS file-desc)
; %P - Path specification of the file's download directory
; %S - file Size
;6.2 %U - Unqualified areaname (without division prefix)
; %W - file lastWrite date
; %Z - file lastAccess date
; Notes: - unknown symbolic variables are copied asis.
; - to obtain '%' on the outputline specify: '%%'
;
; A number of example statements as suggestions:
; - The first USRmodel builds a batch file (REXX) to move
; Fernwood files from their original directory to a directory
; with areaname as the subdirectory-name of G:\Fernwood\.
; - The second model will erase files older than 2 years but
; only when downloaded not more than 5 times
; - The third model is a specification for a 'long' OKfile.
; - The fourth model contains all symbolic variables
; supported by Downsort for USRFileList.
USRmodel move
move '%P%F G:\Fernwood\%U\'
USRmodel old
if %H > 730 & %N < 5 then erase '%P%F' /* filedate: %D */
USRmodel ok
@%F %P%F
USRmodel all
%%$=%$ %%2=%2 %%A=%A %%C=%C %%D=%D %%F=%F %%H=%H %%N=%N %%P=%P %%S=%S %%U=%U %%W=%W %%Z=%Z
USRFileList list\usrlist1.cmd -G -UFW -sOS2 -Idownsort.rex
USRFileList list\usrlist2.cmd -G -Uold -Idownsort.rex
USRFileList list\usrlist3.OK -a -Uok
USRFileList list\usrlist4.all -G -Uall -sOS2
; ──────────────────────────────────────────────────────────────────────
; Below follow the specifications for manipulating/rebuilding FILES.BBS
; ──────────────────────────────────────────────────────────────────────
; FILFilePath - First parameter is [optional] specification of
; ----------- destination directory of newly generated 'FILES.BBS' files.
; Use the format: drive:\path\
; If 'pathspec' is specified the output-files will be called
;6.2 "areaname.BBS" (filedivision prefix removed). Long
;6.2 areanames will be truncated to the first 8 characters.
; If not specified the MAXIMUS path specification will be
; used (FileList parameter if used in Maximus' FAREA.CTL, or
; otherwise the Download directory).
; - Many but not all flags as defined for the other lists
; apply to the FILES.BBS-output of Downsort, for example:
;6.2 - File-descriptions will be wrapped or truncated to
;6.2 lines with a maximum length of 1024 characters.
;6.2 Default: Wrap
; - Title specifications are ignored.
; - Entries can be sorted, but then you will loose your
; comments: -K (Keep sequence and comments) is default.
; - -L (LONG) means: include file size and file date.
; Do not run Downsort more than one time with this option!
; - Avatar codes will not be touched.
; - When using group selection ('-Sg') and multiple FILFilePaths,
; beware not to overwrite previous output (e.g. define and
; use mutually exclusive groups, such as the OS2 and nonOS2
; example above).
FILFilePath list1\ -a -R
FILFilePath -a -R
; ────────────────────────────────────────────────────────────────────────
;
; End of sample Downsort.Cfg as provided with the orginal Downsort package.
;