home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
FLMD124.ZIP
/
FLM.DOC
< prev
next >
Wrap
Text File
|
1993-09-04
|
13KB
|
532 lines
******************************************************************************
* *
* *
* ******* **** ** ** *
* ** * ** *** *** *
* ** * ** ******* *
* **** ** ******* *
* ** * ** * ** * ** *
* ** ** ** ** ** *
* **** ******* ** ** *
* *
* *
* A flexible File List Manager for Maximus *
* *
* *
******************************************************************************
* *
* (C) Copyright 1992-1993 by Alberto Pasquale *
* *
* A L L R I G H T S R E S E R V E D *
* *
******************************************************************************
* *
* FLM is fully copyrighted, however you are granted to use and distribute *
* it in unmodified form, provided you do not make money from such use or *
* distribution. Otherwise you are required to contact the author to *
* reach an agreement for a written permission. *
* *
******************************************************************************
* *
* How to contact the author: Alberto Pasquale *
* Viale Verdi 106 *
* 41100 Modena *
* Italy *
* *
* 2:332/524@fidonet.org +39-59-581127 V32/HST, Mail Only (No BBS) *
* 2:332/504@fidonet.org +39-59-450600 V32bis *
* 2:332/511@fidonet.org +39-59-450643 V22bis *
* *
******************************************************************************
File List Manager ver. 1.24
DISCLAIMER
There is absolutely no warranty of any kind on this product.
The user of this program bears all risk as to its quality and
performance.
LICENSE
FLM (File List Manager)
Copyright 1992-1993 by Alberto Pasquale, Modena, Italy
All rights reserved. Commercial distribution and/or use
prohibited without written permission of the author.
You may copy and distribute verbatim copies of the original
distribution archive of FLM, providing you don't charge
any fee exceeding your actual costs.
Files in the original archive:
FLM.Exe Executable program
FLM.Cfg Sample configuration
FLM.Doc Documentation
NewHead.Txt Sample new-list header
AllHead.Txt Sample full-list header
OkHead.Lst Sample OkFile header
Magic.Lst Sample Magic-list
WhatsNew.Txt Changes and additions
Page 1
Main characteristics:
- To be used with Maximus 2.0 by Scott J. Dudley.
- One-Pass generation of multiple file lists.
- Selective Adoption of Orphans
- Selective description deletion for missing files.
- Minimum configuration effort required.
- Okfile generation.
- Okfile support for a fixed header and variable Magics.
- Okfile support for Maxfiles.Idx (Binkley 2.55 or greater).
Page 2
INSTALLATION
1) Edit flm.cfg
2) Edit your maintenance batch in order to call FLM before FB.
This way the FileBase will be compiled from up-to-date files.bbs.
FLM.Exe and FLM.Cfg must be in the current directory
or in your PATH.
Command line switches
-c<cfgfile> Cfg file override
Example: FLM -cc:\max\flm.cfg
Errorlevels
1 - Error in CFG
2 - Cannot find config file
253 - Cannot read max.prm
254 - Cannot open output files
255 - Invalid parameter on command line or out-of-memory
Page 3
OVERALL OPERATION
FLM scans all the file areas in AREA.DAT following the
AREA.NDX order (or the equivalent files defined in Max.prm).
FLM writes all the output files in one pass: for every area
all the unused output files are closed and the used ones are
opened. If too many output files are required at the same
time, FLM could exit with a "cannot open file" error.
There can be no more than 3000 files per directory, otherwise
the exceeding files will be ignored.
You should exclude areas on CD-ROM from Adopt and RemMis
statements, to avoid lengthy and useless operations.
Page 4
CONFIGURATION FILE
FLM requires a configuration file (defaults to FLM.Cfg).
Before using FLM you should edit this file, following the
comments in the sample one.
The names of the various parameters are NOT case sensitive.
Items in square brackets ([]) are optional.
<filename> is a fully qualified filename with optional drive
and path.
<filespec> is a filename (no path, wildcards * and ? accepted)
The wildcards work the same as in OS/2 commands.
* stands for 0 or more characters
? stands for 1 character (0 or 1 when at the end)
. is a character as all the others
e.g.: 'dummy' does not match 'dummy.txt'
'dummy*' matches 'dummy.txt'
'du?mmy.txt' does not match 'dummy.txt'
'dummy.txt?' matches 'dummy.txt'
'du*y.txt' matches 'duy.txt'
'du*?y.txt' does not match 'duy.txt'
'du*?y.txt' matches 'dumy.txt'
'du*y.txt' does not match 'duo.txt'
<areaspec> is the name of a file area. You can complete an
area name with the '*' wildcard character.
e.g.: * means all areas
WIN* means all areas that begin with WIN
... means that you can list any number of items.
You can use multiple lines if you want:
Adopt WIN* SDN*
is equivalent to:
Adopt WIN*
Adopt SDN*
<access> is a maximus privilege and keys access
combination, e.g.
Favored
Favore/1A
<num> is an integer number
Page 5
A description of the allowed keywords follows:
Global Keywords
StatusLog <filename> - The usual Binkley Style logfile.
Defaults to NUL.
MaxPrm <filename> - The Maximus parameter file to
use. Required.
Adopt [<areaspec> ...] - Areas where you want to adopt
orphans.
NoAdopt [<areaspec> ...] - Areas to be excluded from adoption.
Always exclude CD-ROM areas !
RemMis [<areaspec> ...] - Areas where you want to remove
descriptions of missing files
NoRemMis [<areaspec> ...] - Areas to be excluded from
RemMis. Always exclude CD-ROMs !
WrapCol [<num> [<num>]] - Enables word wrapping of long
descriptions in file lists.
The optional <num> give the
left and right margins for word
wrapping (default to 0 and 79).
Suggested values: 31 and 79.
AdoptExclude <filespec> ...
- Excludes the specified files
from adoption.
Page 6
Local Keywords
The following keywords refer to the preceding ListPriv
statement: you can generate multiple file lists by using
multiple ListPriv statements followed by other "local"
statements.
ListPriv <access> - Access for current list
ListAreas [<areaspec> ...]
- Areas to be listed (if they match
the <access> requirement).
NoListAreas [<areaspec> ...]
- Areas to be excluded from current list.
NewDays <num> - Files newer than <num> days are
listed in NewFiles list. Def: 30
NewHeader <filename> - Header for NewFiles list.
Def: no header.
NewFiles <filename> - Output file for new-file list.
Def: no output file.
AllHeader <filename> - Header for AllFiles list.
Def: no header.
AllFiles <filename> - Output file for all-file list.
Def: no output file.
OkHeader <filename> - Header for OkFile.
Def: no header.
OkFile <filename> - Output file for OkFile
Def: no output file.
OkMaxFiles - Use MaxFiles.Idx for File
Requests instead of the complete
list of paths (BT 2.55 or
greater).
MagicFile <filename> - List of magics and wildcarded
filespecs to be resolved before
putting them in the OkFile.
FLM gets the most recent file for
each filespec and puts it in the
OkFile preceded by the Magic.
See the sample Magic.Lst.
Def: no magics.
Page 7
WrapCol [<num> [<num>]] - Local WrapCol setting: see the
global WrapCol keyword.
Can be used with or without a
global WrapCol (in the latter case
the local margin values override the
global ones).
Page 8