home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
TGFL_130.ZIP
/
TGFL.DOC
< prev
next >
Wrap
Text File
|
1998-07-01
|
19KB
|
466 lines
Telegard File Lister Pro v1.30 Documentation
Copyright (c) 1998 Dark Zone Software.
All rights reserved.
File List Creater for Telegard bulletin board
software (BBS) v3.10 (3.09g?)
Configuration and Reference Manual
Written by David Stumpf
Dark Zone Software
7230 White Oak Circle
Houston, Texas 77040
USA
Internet Email : David.Stumpf@Earthling.net
World Wide Web : http://www.dzs.home.ml.org
────────────────────────────────────
BORING (BUT NECESSARY) LEGAL STUFF
────────────────────────────────────
Warranty
────────
This package is provided as-is, without warranty of any kind,
either expressed or implied, and is only guaranteed to occupy
disk space. In no event will the author be liable to you or
anyone else for any damages, including (but not limited to) any
lost profits, lost savings or other incidental or consequential
damages arising out of the use of, or inability to use, this
package.
In short: You're on your own. If it works for you, great; if
not, or if it breaks something, c'est la vie. As the saying
goes, "Use it at your own risk, but if it breaks, *YOU* have
the pieces."
Copyright Notice
────────────────
This package and all files contained herein are Copyright (c) 1998
by Dark Zone Software. No modifications may be made to any
part of this program and/or package without express written
permission from Dark Zone Software. This package may be
distributed in any medium as long as the following conditions
are met; a) The package must be unmodified b) No fees of
any kind may be charged for this package or directly for access
to this package. This software may be distrubited by CD-ROM media
and/or "pay-only" system.
What it does
────────────
TGFL simply reads the Telegard file bases and creates a list of files
contained in them by using the parameters that you specify.
Requirements
────────────
TGFL requires the following;
100% IBM Compatible Computer
8086/88 or above CPU
MS-DOS v4.00 or Compatible
Telegard v3.10 (3.09x)
Installation & Operation
────────────────────────
Just unarchive this package in to a directory of your choice. I
suggest using your main bbs directory or a sub directory therein.
If you place TGFL in any directory other than your main bbs directory
you must have a TELEGARD= or BBS= environment variable so TGFL can find
your CONFIG.TG file for operation.
There are several files included in the archive, some of which are
optional and will not be used unless you specify to TGFL that you
wish it to use them. For more information please check the
section labeled "Included Files".
Now, you will need to decide what information that you want included
in your list file. For this, either use the /? command line parameter
or refer to the section labeled "Operation".
Included Files
──────────────
There are several file included in the original archive, below I
will list all of them and give a full explination of their purpose
and how to best use them.
FILE_ID.DIZ - BBS Description file.
TGFL.DOC - This documentation.
TGFL.EXE - The main program file.
TGFL.INC - This is the "Include" file, it contained a list of
file areas to "Include" in the list file. If this
file is used, ONLY areas listed here will be displayed
in the list file.
TGFL.EXC - This is the "Exclude" file, it is similar to the
Include file above. It contains a list of area names
to "Exclude" from the list. If this file is used,
the areas listed will NOT be added to the list file.
This file can be used with or without the include
file, although if both are used, you must remember
that the Include list is checked first, then the
exclude list. So, if you have an area that is
listed in BOTH files, it will NOT be listed.
TGFL.HDR - This is the "Header" file. If used, it will be
attached to the very top of the list. This file
will usually contain information about the list
file and/or bbs system. For example, the bbs
name, phone number and some extended information
about the system may be contained in this file.
TGFL.FTR - This is the "Footer" file. If used, it will be
attached to the very bottom of the list. This file
will usually contain information about the list
and/or bbs as well. The file can also be created
by another utility to display a top downloader,
uploaders, files, etc type of file.
TGFL.CFG - This is an example config file. It is much like
an .INI file in it's format. This file contains
a list of options to use durring the operation
of TGFL. This file is read AFTER the command
line is read. So, if you turn something on
via the command line, and turn it off via the
config file, the option will be turned off.
You do NOT have to list all options in this
file, this example files shows how to "rem"
things out, so they will not be read. You can
make multiple config files, one for each list
that you wish to create. Since the name is
passed to TGFL on the command line, you can
name them anything that you wish.
HTML.HDR - This is an example header file for making an
HTML style list file for use on the world
wide web. It can be used in place of the
normal header file.
HTML.FTR - This is an example footer file for making an
HTML style list file for use on the world
wide web. It can be used in place of the
normal footer file.
MAKELIST.BAT - This example batch file for making an all
files list and then zipping it up and placing
it in the proper directory.
Operation
─────────
The command line options are as follows;
TGFL /? /# /B /CFG: /D /E /EXC: /FN /FTR: /HDR: /INC: /LST: /Nx
/O /S /TF /TI /TX /U /V
- The /? option tells TGFL to display a help screen. The help
screen will also be displayed if no command line parameters
are given.
- The /# option tells TGFL to add the total number of downloads to
the list, below the description.
- The /B option tells TGFL to add a blank line at the end of every
file description. This allows each file to be seperated by a
blank line for easier reading.
- The /CFG: option specifies a config or configuration file for
TGFL to use. The config file can contain a number of options
and also makes it easier to configure multiple lists without
trying to get a command line just perfect. The format for this
command is;
TGFL /CFG:C:\DIR\TO\FILE\FILENAME.EXT
The config file does NOT have to have any particular name OR
extension, as you must specify both on the command line, it
simply must be of the correct format. (IE: plain text)
- The /D option tells TGFL to add the date the file was uploaded to
the list below the description.
- The /E option tells TGFL to display extended file information
after the file description. This information tells wether
the file is a Free Download, Availible and wether or not it was
"Hatched" in to the file area. This option ONLY works when
used with the /S option.
- The /EXC: parameter specifies a path and filename to an Exclude
file, this file contains a list of file names of the file bases.
These names are simply listed one on each line. For example;
SYSOP
UPLOADS
This will exclude the SYSOP and UPLOADS file areas from the
output file (file list). This filename and possible the
path are specified the same way as the /CFG: command.
- The /FN option tells TGFL to filter extra spaces out of file
names. So a name like "TEST .ZIP" now becomes "TEST.ZIP".
I saw mention that the other way isn't too awful friendly
to some mail readers such as TimEd.
- The /FTR: option tells TGFL to use the specified FOOTER file.
This file is a basic ASCII (text) file that will be added
to the bottom of the output list file.
- The /HDR: option tells TGFL to use the specified HEADER file.
This files is a basic ASCII (text) file that will be added
to the top of the output list file.
- The /INC: parameter specifies a path and filename to an Include
file, this file contains a list of file names of the file bases.
These names are simply listed one on each line. For example;
GENERAL
TELEGARD
This will include the GENERAL and TELEGARD file areas in the
output file (file list). This filename and possible the
path are specified the same way as the /CFG: command.
Rememver, if you specify an include file, ONLY the names
of the bases in this file will be in the output file.
- The /LST: option specifies the path and filename to the
output file itself. This is the file that will be created
by TGFL and will contain the list of files in your files
bases. The path and filename are specified the same as
on the /CFG: option.
- The /Nx option tells TGFL to list new files ONLY. This is useful
when you want to create a list of new files that have been added
to your system recently. You may optionally add a number ranging
between 0 and 9 after the N to denote the number of days old
an upload is before it is considered new. The default age
is 5 days.
NOTE: The number zero (0) really means 10 days.
- The /O option tells TGFL to append an "Overall Totals" area to
the bottom of the list with the total number of files and bytes
is all areas listed.
- The /S option tells TGFL to add a "Status" line, under the file's
description telling wether or not the file is offline or online,
and if it is validated or not.
- The /TF option tells TGFL to include a list of the top 10 overall
downloaded (i.e. most popular) files at the bottom of the output
list file.
- The /TI option tells TGFL to include the time of day next to the
date, if it is included (/D).
- The /TX option tells TGFL to make a basic text file which
contains no extended ASCII characters. Very useful when
creating a list to be viewed on the www.
NOTE: This option does NOT filter ANY extended
characters out of file descriptions.
- The /U option tells TGFL to add the uploaders name to the list,
below the description.
- The /V option tells TGFL to NOT list files which are not validated
for download by the users yet.
Special Thanks
──────────────
Telegard Team - To all who make this, well, work. Without
you what would I write utilities for. . .
Doug Reynolds - For the TGCOLOR.TPU code, this made the
translation of the color codes possible.
Tim Strike,
Scott Adams,
Lars Hellsten - For help with code and code concepts.
Ken Reaverson
- and -
Mike Jackson - For helping me beta test this software to
make sure it is as bug free as possible.
Versions
────────
+ Added * Changed/Fixed - Removed ! Notes
v1.00
! First version.
v1.10
+ Added the /N command line parameter. This
tells TGFL to list new files ONLY.
+ Added some TG version checking code.
+ Added file list totals on the screen, now
list total number of files and areas scanned
including time (number of seconds) that it
took to create the list.
+ Added Color Code Filtering (Both `xx and |xx)
in file descriptions as well as area names.
+ Now also translates TG color codes in the area
descriptions (on local display while processing).
+ Added checking for the "TELEGARD=" environment
variable. If found, it is used to find the
CONFIG.TG file if one does not exist in the
directory that TGFL is in.
+ Added (/O) Overall Totals option.
* Spruced things up so they look a little better.
Added some color and such.
* Fixed bug which caused files to not be listed
if there was no description.
* You can now use the "-" delimiter as well as "/"
for command line options.
* Fixed bug which caused the ignore list not to work
properly. (Causes by a last minute change, sorry
folks.)
* The "/ver" command line option is no longer case
sensitive.
v1.11
* Now filters the display of empty file bases.
* Description are now seperated with a CR/LF
instead of just a CR. (Thanks Lars)
* Now excepts command line like;
(TGFL FILES.LST /#/d/o) with no spaces
between the options.
! Minor bug fix over 1.10, which most folks
never saw.
! TGFL currently chops the file descriptions at 45
characters MAX. I'll see what I can do about
this in the future.
v1.20
+ Added /TX option, which produces a simplified
ascii file similar to a FILES.BBS file.
+ Added status bars.
* Now supports over 2gigs of files in listing.
(limit should now be roughly 2,147 gigs)
* Help screen is now displayed if no command line
is passed.
* Changed the local display around again. ;}
* Blank line between descriptions is now optional
via the /B command line option.
* Filenames can now optionally have the spaces removed
to be more friendly to things like TimEd.
* The /T command line has been changed to /TI.
* You may now, optionally, specify the number of
days old a file needs to be to be considered
new. Days range from 1 to 10.
* Fixed bug which caused the description to be
separated by a spare line if the extended
file stats were included.
* Re-wrote unix date code with some help from
SWAG donators.
* Fixed Pentium II (200mhz+) bug.
* Fixed bug which caused TG not to find .FA/.FAD
files if they were in a path other than the
default file path.
v1.21
* Fixed minor output bug which put the wrong title
line above the file area stats on a text list
when the overall totals were added.
* I did some work on the description reading
code. All tests I have done show it to be
only slightly faster, but, it should be
more stable now.
* Fixed bug that caused TGFL to freeze up some
times if a description ended in a color code.
IE (Whatever`70) but not (Whatever`70{CR}{LF}).
v1.30
+ Added a config file.
+ Added top files (downloads) list. (/TF)
+ Added the include/exclude/header/footer file
names to the main screen so you know which ones
TGFL is using.
+ TGFL now checks the environment for BBS= as well
as TELEGARD= in order to find the CONFIG.TG.
- Removed the default search for the exclude file.
This file must now either be specified on the command
line or via the config file.
* Fixed bug which removed the spaces from
file base headers in TEXT (/TX) mode.
* Removed the odd number from the local display
when TGFL was finished. My appologies, it was
some debug code.
* Fixed bug which caused some descriptions (actually
most) to be ended with a blank line. This was
caused by the new description reading code.
* The output file name on the command line has been
changed, it is no longer the first parameter, it
must now be specified via a command line switch.
This was done because of the command line changes
for the new config file.
* Worked on the error checking code some. Fixed one
bug and made some changes to make it easier to know
what happened.
* Fixed visual bug which caused the name of the file
being processed to be right justified instead of left
justified if the filter spaces option is used.
- Removed the default search for the TGFL.HDR and
TGFL.FTR files, they are now passed via the command
line or config file.