home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
com
/
bbs
/
algen
/
algen.doc
< prev
next >
Wrap
Text File
|
1992-08-30
|
4KB
|
88 lines
ALGEN v1.00 - The Avail List GENerator
by Richard Butler - EUROPA Software
Public Domain
ALGEN is an Avail List or Allfiles generator for file.bbs systems. ALGEN is
an OS/2 application and will not run under DOS. The source code is provided
so that it can be compiled to run under any OS. ALGEN has only been tested
under OS/2 2.0. ALGEN was compiled using C SET/2.
ALGEN CARRIES NO WARRANTIES WHETHER EXPRESSED OR IMPLIED, INCLUDING WITHOUT
LIMITATION, WARRANTIES OF FITNESS AND MERCHANTABILITY WITH RESPECT TO THE
INFORMATION IN THIS DOCUMENT AND INCLUDED SOFTWARE.
This software is released to the Public Domain.
If you use ALGEN please send me netmail at 1:396/61 and let me know. The more
netmail I get the more work I'll do on ALGEN.
ALGEN was created to be an OS/2 clone of Harvey Parisien's HLIST. All credit
for the format of the config file and the output file list go to Harvey. If
you need a DOS based file list generator I would highly recommend HLIST.
The format of the config file is as follows:
Line 1: Your system name (max 39 characters long)
Line 2: drive:\path\filename.ext of your header file
Line 3: days old to qualify as NEW files (1 TO 99)
Line 4: drive:\path\filename.ext of your output file for your FILE LIST
Line 5: drive:\path\filename.ext of your output file for your NEW FILE LIST
Line 6: STRIPFLAGS or NOSTRIPFLAGS keyword - STRIPFLAGS tells ALGEN not
to display flags found at the beginning of a file description
Line 7 and so on, contains 1 line per area you have a files.bbs file on and
want ALGEN to process. The data is in this format...
drive:\path\ YOUR TITLE TEXT
If you want to use a different file list other than the normal
files.bbs (ie for cd rom use), just put the complete path and
filename after your title but separate it with a carat like this...
drive:\path\ YOUR TITLE TEXT^drive:\path\files_bbs_name.ext
(Lines in your config file prefaced by a ; are for comments only)
The header file is included at the top of your output FILE LIST. Algen expects
to find a header file. If you do not use one ALGEN will report an error, but
will continue.
STRIPFLAGS keyword: The default is NOSTRIPFLAGS. The STRIPFLAGS keyword will
cause ALGEN to not include things like Maximus's /tb in your file list.
It functions the same way that Maximus does, ie. if the first character is
a /, the / and everthing following it, up to and including the first space,
is not displayed in the output.
ALGEN treats any line that begins with a - or a space as a comment and copies
it exactly as it appears to the output file list. No word wrapping is done on
comment lines.
ALGEN will preserve the case of filenames. ALGEN does not support long file
names at this time since most files.bbs systems do not support long file names.
You can tell ALGEN to use an alternate config file by including it on the
command line:
ALGEN Other.Cfg
All lines in the config file except the system name must begin in column 1.
This includes any comment lines.
Future Enhancements:
- Support for Maximus's AREA.DAT
- Use of OS/2 API calls.
- ability to sort your FILES.BBS
- ability to do file maintenance like deleting old NODEDIFFs
- whatever else I or anyone else comes up with
Thanks go to:
- Harvey Parisien for his HLIST program upon which ALGEN is based.
- Erik Vanriper for releasing the source for his FILELIST program which
served as a reference while writing ALGEN.
- Jim Sterrett for helping me beta test ALGEN.
Please direct any bug reports, suggestions, or comments to:
Richard Butler
BBS: (504) 652-4916 v32b
Fidonet 1:396/61