home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
TGOFR100.ZIP
/
TGOFR.DOC
< prev
next >
Wrap
Text File
|
1998-09-23
|
11KB
|
212 lines
Telegard Offline File Remover v1.00
by Ken Reaverson
For Telegard v3.09.g1+
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Introduction ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
The Telegard Offline File Remover (referred to as TGOFR throughout this
document) is a relativly simple, though hopefully time saving utility.
What it essentially does is read through your filebase data files and
remove any entries which have been toggled as Offline.
It does *not* delete any files, it simply removes them from Telegard. This
is a safety device, just in case the file was accidentally toggled offline.
The speed at which TGOFR runs is entirely dependant on how many files you
have. If you have alot of files, it's going to take more time than it would
on a smaller system.
NOTE: TGOFR automatically skips CD-ROM bases. Due to their rotating nature,
It is not unusual for a CD base to have all it's files offline at
any given time. Since I'm pretty sure a sysop would get tired of
reimporting a FILES.BBS (or worse, doing it manually) everytime
he wanted to run TGOFR, I decided it'd be best to just leave the
CD-ROM bases alone.
What TGOFR does is this: It writes all files which are not toggled offline
to a temporary .FA file. If it finds a file marked Offline, it does not
add it to the temporary file. It opens the QFILES.IDX, searches for the
file in there, and toggles the deleted flag. When all files in the base
have been processed, TGOFR deletes the old .FA file and renames the temporary
one to the old .FA's filename.
The QFILES.IDX is an index file of *every* file on your system. In order to
toggle a file's entry within the QFILES.IDX to deleted, TGOFR has to start
at the beginning of the file, and search until it finds a match. This is
the reason TGOFR will run a little slower on larger systems, there's a whole
lot more of a file to read, and it has to start from the beginning for
*every* file entry it needs to toggle.
Yes, it's horribly inefficient. However, this took me a grand total of
30 minutes to code, so you're stuck with it. :) All told, using TGOFR is
alot faster than searching through your file bases manually to delete
those pesky offline files.
Hopefully, TGOFR will save you some tedious work. There are a couple
caveats:
- Make sure the nodes are clear, or at the very least, that no one
is listing files when TGOFR runs. Otherwise, your data files will
make a nice sacrifice on the Altar of Corruption.
- It is my recommendation that you make a backup of all your .FA
files prior to running TGOFR. TGOFR does not touch the .FAD files,
so there's no need to worry about them. Likewise, it only reads from
FAREAS.DAT and CONFIG.TG. It does write to the QFILES.IDX, however
there's really no point in backing it up since you can rebuild it
entirely by running INDEX BUILD FILES.
- Even though TGOFR toggles the flag correctly in the QFILES.IDX,
it is my sincere recommendation that anyone using TGOFR run
INDEX BUILD FILES immedietly after TGOFR has had it's way with your
data files. This will ensure that your QFILES.IDX is okay.
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ License and Disclaimer ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
The author of TGOFR is not responsible for any damaged, corrupted, lost,
or otherwise harmful occurences that may occur from use (or inability
thereof) of this program. It has been tested, and the author runs it on his
own system. To the best of my knowledge, TGOFR has no bugs and will not
destroy anything on your system. However, I guarentee nothing, except that
this program will take up hard drive space.
If it breaks, you own both halves.
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Requirements ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
TGOFR's requirements differ depending on which executable is being run:
TGOFR/DOS:
- An 80286 processor or better
TGOFR/2:
- OS/2 Warp 3 or higher
- An 80486 processor or better
Both versions require Telegard BBS v3.09.g1 or higher.
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Installation ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
Installation of TGOFR is pretty simple. First, decide which executable
you're going to use, and rename either TGOFR.DOS or TGOFR.OS2 to TGOFR.EXE.
After that, copy TGOFR.EXE to your main Telegard directory and type:
TGOFR.EXE
If all goes well, TGOFR will engage in the merciless slaughter of any
offline file entries.
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Usage ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
As mentioned above, running TGOFR.EXE from your main Telegard directory
is all you need to do. It will, however, accept the following commandline
parameter:
/V - Version Information
Displays the Copyright and compilation information.
Yes, I'm vain. :)
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Notes ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
TGOFR/DOS has been compiled with Borland Pascal v7.0.
TGOFR/2 has been compiled with Virtual Pascal v1.10
The source code to either version is not available to the public, and it
is not for sale, so please don't ask. :)
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Registration ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
TGOFR is FreeWare. End of story. Live free or die, ladies and gentlemen. :)
If you appreciate the work I've put into the software, and if it's been
useful to you, drop me a line via one of the below contact methods. The
experience of writing the program has been payment enough for me, but it's
always nice to hear 'Thanks dude!' once in awhile. :)
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Distribution ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
TGOFR may be freely distributed in it's unmodified format. See PACKING.LST
for a list of what should be included in the archive. The archive's original
fornat is ZIP, and it has been stamped with my AV codes. If the archive
you've received is not a ZIP, be wary. When unzipping this archive, at
the very end, you should see the following:
Authentic Files Verified! # CIS105
Blood Enterprises, Inc.
If this message is not present, the archive may have been tampered with.
The most current version of TGOFR will always be available for FREQ
on Shadowdale with the magicname TGOFR. See below for my contact
information. Any new versions will be hatched down the FidoNet TG_SUP
filebone.
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Copyrights ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
Telegard Offline File Remover is Copyright Blood Enterprises, 1998.
All Rights Reserved.
Telegard is Copyright Tim Strike, 1994,1998. All Rights Reserved.
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Acknowledgements ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
Since this was just something I sat down and coded for the hell of it,
I won't go into the usual round of thank you's and ass kissing. :)
Instead, I'd just like to say thanks as always to the following indivduals:
Tim Strike, Kevin Watkins, The Telegard Beta Team, my buddy Dave Richmond,
Arthur Stark, Jeff Weese, and Sean Dennis.
Hi Bruce. You can use this one, I took the filter out. ;)
Thanks also to Jeff Irvine, because I borrowed the basic template for this
document from him. ;)
BTW: You're welcome, Mitch. :)
┌─────────────────────────────────────────────────────────────────────────────┐
│▒▒ Service & Support ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────────┘
Contact Information -
Author: Ken Reaverson
Email: tremere@mindless.com
WWW: http://adrianblood.home.mindspring.com
FTP: ftp://darktech.ml.org/telegard
BBS: Shadowdale - (770) 982-7859
Login: Guest Password: PRAISETIM
Netmail: 1:133/1004 - FidoNet
111:4350/101 - Sysop's TechNet
EchoMail: TG_SUPPORT (FidoNet)
ADV_TG (AdventureNet)
If you have a question or a problem with the software, by all means, get
into contact with me via one of the above methods. I welcome comments and
suggestions, and if you find a bug in the software, I'll do my damndest to
fix it with all speed.