home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
c
/
compr311.zip
/
COMPRESS.DOC
next >
Wrap
Text File
|
1993-03-06
|
12KB
|
442 lines
Compress v3.11 (Real Mode Version)
Compress/286 v3.11 (Protect Mode Version)
By Ed Crissey, FidoNet 1:268/69
(C) Copyright 1990,1993 by Ed Crissey. All Rights Reserved.
March 6th, 1993
-----------------------------------------------------------------------------
Compress v3.11 Page 2
INTRODUCTION
Compress is a utility that will allow users of many different
mailers and bulletin board systems to compress their log files, see
page 5 for a complete list of all supported systems. If you run the
protect mode version, You need at least a 286 to run it on. The
protect mode version is better suited for running in multi-tasking
environments such as Windows, OS/2 DOS Box, Etc. This will
elimate the need to delete these files every few days after they
have grown to monstrous proportions. There is a Config file you will
will need to create for compress. The default name of the file is
'Compress.cfg' and it must be placed in the same directory as the
Compress pgm unless you use the '-C' Command Line Option. The format
of the config file is as follows:
Line1: SysOp Name ( If your copy is not registered then leave )
Line2: System Name ( these three lines blank. Compress is )
Line3: Registration Code ( fully functional either way )
Lines 4 - Eof: Here you specify the command line(s) parameters.
One line is for one type of Log. With a few examples as
Follows:
-tqbbs -d3 -pc:\qbbs\system.log
-tdb -d6 -pc:\db\dbridge.log -q
The config file command line paramters are explained as follows on the
next page:
COMMAND LINE PARAMETERS
Compress
This invokes Compress and scans the current drive for 'Compress.cfg'
Compress -cc:\bbs\jungle.man
The invokes Compress and uses Config File 'Jungle.man' in Directory c:\bbs
'-C' is currently the only command line parameter available. All others
specified will be ignored.
-----------------------------------------------------------------------------
Compress v3.11 Page 3
CONFIG FILE COMMAND LINE OPTIONS
[-t] [-d] [-p] [-q] [-logdiag]
-T
---------------------------------------------------------
The -T parameter is to tell compress what log file format
to compress and the valid options thus far are
-TDB to compress the DataBridge Log Format.
-TQBBS to compress the QuickBBS Log Format.
-TBINK to compress the BinkleyTerm Log Format.
-TRAEXP to compress the RemoteAccess Expanded Log Format.
-TRA to compress the RemoteAccess Compressed Log Format.
-TFRONT to compress the FrontDoor Log Format. (Or Ra Compressed Format)
-TDICT to compress the Dictator Log Format.
-TTICK to compress the Tick Log Format (Prior to V2.10)
-TZMAIL to compress the Zmail Log Format.
-TMSGRATIO to comrpess the MsgRatio Log Format.
-TQM to compress the Qmail Log Format.
-TMAX to compress the Maximus Log Format.
-TMSGTRACK to compress the Msgtrack Log Format.
-TXPRESS to compress the Xpress Log Format.
-TTM to compress the TeleMail Log Format.
-TIMAIL to compress the Imail Log Format.
-TGECHO to compress the Gecho Log Format.
-TOPUS to compress the Opus Log Format.
-TSQ to compress the Squish Log Format.
-TRY to compress the RyPacker Log Format.
-TRYBBS to compress the RyBBS Log Format.
-TTICK210 to compress the new Tick Log Format.
-TPB to compress the PowerBBS Log Format.
-TTELE to compress the TeleMate Log Format.
-TAF to compress the AreaFix Log Format.
-TFRED to compress the FredGate Log Format.
-TUUCP to compress the Waffle UUCP Log Format.
-TTRAN to compress the TranScan Log Format.
-TWC to comrpess the WildCat Log Format.
-TTNET to compress the TNET Log Format.
-TWM to compress the WildMail Log Format.
-TRC to compress the RoboComm Log Format.
-TDV to compress the DateView Log Format.
-TMC to compress the Message Comp Log Format.
(Continued)
-----------------------------------------------------------------------------
Compress v3.11 Page 4
-D
---------------------------------------------------------
The -D parameter tells Compress how many days worth of log
data that you wish to retain. The valid range is from
0 to 255. Compress will scan the log file for the
datestamp on each record and determine what the X newest
days are whether they be consecutive or not and purge the
rest.
-P
--------------------------------------------------------
The -P option is used to tell Compress the full path as to
where the log file is.
-Q
--------------------------------------------------------
The -Q option tells Compress to be quiet.
-LOGDIAG
--------------------------------------------------------
The -LOGDIAG option tells Compress to run in Diagnostic Mode.
This option does not compress the log.
-----------------------------------------------------------------------------
Compress v3.11 Page 5
v1.01 - To delete header title of QuickBBS log
v1.02 - Fix Bug in QuickBBS routine becuz of blank line after header
v1.10 - Added support for a online game called Dictator,BinklyTerm 2.40,
FrontDoor 1.99c, and Opus. Since Remote Access uses the Opus or
FrontDoor Log style that will work as well.
v1.11 - Renamed the -TOPUS to -TRAOPUS since the routine works with the
Remote Access OPUS style log but not the OPUS log. Do not use it
on an OPUS log.
v1.20 - Added support for Tick v2.00, Zmail v1.12, and MsgRatio v1.10
v2.00 - Performed a major rewrite of compress. See Upgrade file for
details. Added support for Qm and Maximus. Added a Quiet Mode
Option also. There is also a config file that needs to be created.
v2.10 - Added support for Msgtrack v3.10, Xpress v2.29, TeleMail v1.40.
Compress v2.10 was re-compiled with TP 6.0.
v2.11 - Increased the log record size from 80 bytes to 132 bytes. This
should prevent information from being chopped out of the log.
v2.20 - Added Support for Remote Access v1.10 Expanded log format. This
option is '-TRA' and you no longer need to run '-TFRONT' for the
Remote Access Expanded Log Format. Renamed the '-TRAOPUS' to just
'-TRA' for the compressed format. Also fixed a minor cosmetic bug
in the Qmail routine.
v2.30 - Added Support for Imail V1.21.
v2.40 - Added Support for Gecho v1.00 and Opus v1.73a.
v2.50 - Added Support for Squish v1.01. Fixed a bug in the registered
routine. If you have already registered, please contact me.
v3.00 - Re-Wrote in Object Oriented format. Added support for Rypacker
v2.42 ,RyBBS v7.19, Tick v2.10, and PowerBBS v1.90 . Also fixed a
few bugs so that Compress will look for the CFG and Key files in the
execution directory and not the current directory. In other words,
move the compress files into the same directory as the exe file.
v3.01 - Just updated the Docs with new releases.
v3.10 - Added Support for WildCat v3.00, TeleMate v?.??, AreaFix v1.30,
FredGate v1.9h, Waffle UUCP v1.64, TranScan v3.02, TNET v3.00,
WildMail v2.00, RoboComm v4.2, DataView v3.1,
and Message Comp v1.00. Compress was re-compiled with BP v7.0
Also fixed the mouse cursor appearing.
v3.11 - Fixed a bug in the QuickBBS log. It was improperly reporting that
A QuickBBS log wasn't a QuickBBS log. Also created a Protect Mode
that runs better in Multi-Tasking environments that will be shipped
seperately.
-----------------------------------------------------------------------------
Compress v3.11 Page 6
** What is supported by Compress **
1. DataBridge v1.51
2. QuickBBS v2.76
3. Remote Access v1.11
4. BinkleyTerm v2.50
5. FrontDoor v1.99c
6. Dictator v1.30
7. Tick v2.10
8. Zmail v1.25
9. MsgRatio v1.10
10. Qmail v1.00
11. Maximus v1.02
12. MsgTrack v3.10
13. Silver Xpress v2.29
14. TeleMail v1.40
15. Imail v1.21
16. Gecho v1.00
17. Opus v1.73a
18. Squish v1.01
19. RyPacker v2.42
20. RyBBS v7.19
21. PowerBBS v1.90
22. WildCat v3.00
23. TeleMate v?.??
24. AreaFix v1.30
25. FredGate v1.9h
26. Waffle UUCP v1.64
27. TranScan v3.02
28. TNET v3.00
29. WildMail v2.00
30. RoboComm v4.2
31. DataView v3.1
32. Message Comp v1.00
The above is what Compress has currently been tested with. If you plan on
testing it with a new release or a product not mentioned above I suggest
making a backup of your log before trying Compress on it. If you would like
to have another log format supported by Compress and you are a Registered
User. Just sent me a copy of the log with a few days worth of data in it
and I'll get it into a future release.
-----------------------------------------------------------------------------
Compress v3.11 Page 6
DOS ERRORLEVEL EXIT CODES
Compress will terminate with one of the following DOS errorlevels
set:
0 .... Log File was successfully compressed.
1 .... -T parameter not specified or is invalid.
2 .... -D parameter not specified or is invalid.
3 .... -P parameter not specified or is invalid.
4 .... Log File was not found at specified path.
5 .... I/O error on the Log File.
6 .... Configuration File not found.
DISCLAIMER
This program is guaranteed to do absolutely nothing. Use it at
your own risk. No warranty is stated or implied. The author shall
not be responsible for any damages resulting from it's use, directly
or indirectly.
This software MUST be distributed free of charge. UNDER ABSOLUTELY
NO CIRCUMSTANCES MAY IT BE SOLD! It is copyrighted and is the sole
property of the author. It may not be distributed in modified form.
You may use the software only after agreeing upon the above terms.
** End of Documentation **