home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
TOPXP111.LZH
/
WHATSNEW.110
< prev
next >
Wrap
Text File
|
1991-11-18
|
5KB
|
115 lines
=*= Changes from TopicX 1.10 alpha/1 to TopicX 1.10 beta/1 =*=
* Added support for the Squish message format. Things to keep in
mind when using Squish bases:
1) When specifying the area path, add a '$' in front of the area
name. Like Squish and Max, TopicX can handle both *.MSG
and Squish areas. For example, this:
Area C:\Msg\Local "Local msgs"
F D:\Path\Filename.Txt
specifies a *.MSG area, whereas this:
Area $C:\Msg\Local "Local msgs"
F D:\Path\Filename.Txt
specifies a Squish area.
2) The -f switch does nothing. Since the code was moved over to the
Max/Squish MsgAPI, there's little point in this switch. (At any
rate, -f is meaningless for Squish areas.)
3) The "Import" setting in the config file has no effect. Again,
this is handled internally by the MsgAPI, so dates should
always be correct.
=*= Changes from TopicX 1.00 to TopicX 1.10 alpha/1 =*=
* Fixed a bug in one of the error-detection routines -- Previously, when
a specific type of error occurred in the control file, TopicX would
report an invalid line number as the location of the error.
* Made changes to the message printing routine to make it a bit faster.
* Added a section of code to check for message dates in the
"mo/da/yr hh:mm:ss" format. Previously, only the "Wed 12 Jan 89 11:23"
and "12 Jan 89 11:23:45" date formats were supported for the "Local Import"
command.
* Added an 'All' verb, to allow scanning in all areas for a particular
keyword. The All verb can be modified by the three different area
verbs. For example, "All" specifies to perform these options on all
areas specified in the control file. "All EchoArea" performs the
options only on EchoMail areas, "All Area NetArea" performs the
options on just local and netmail areas, and "All Area NetArea
EchoArea" performs the same as "All". The lines following the All
verb are treated like a normal area. However, there is something you
should take not of when using the 'X' flag. Not only will this skip
the topics specified in the "All" keyword, but it will also skip the
topics in the current area, and proceed to the next message. "All"
processing is done before each area's own topics. You may use up to
10 All statements in one configuration file.
ie.
All NetArea Local
T "Scott Dudley" D:\Path\Sysop.Txt
SM "Watergate" | "Contra" | "Starr" D:\Path\Scandal.Txt
All Area
XSM "Darn" D:\Path\BadWord.Txt
* Added two configuration verbs which allow for archiving in tight
memory situations. Using the verbs 'ArcBatch' and 'ArcError', you
can have TopicX create a batch file of commands to execute, after
the program is finished executing and removed from memory. The
ArcBatch keyword tells TopicX where to place the batch file: The
batch file is automatically maintained by TopicX, so the only thing
you should do with it is call it immediately after running TopicX.
The 'ArcError' keyword tells TopicX what to do if an error occurs
while creating an archive. If you have my AddLog program, you
should use it to add a message to the system log. Using these
commands, the maximum memory you'll need is only as much as it takes
for your archiver to operate. This also means that the pre-compiled
.DAT file had to be expanded to handle the new verbs. Make sure to
delete old versions of the data files before installing the new version
of TopicX.
... In configuration file: (lines wrapped to fit inside document) ...
Archiver lh a @archive@ @extract@
ArcBatch C:\Max\CreatArc.Bat
ArcError addlog C:\Max\Max.Log ! TOPX Error executing `lh a
@archive@ @extract@'!
(rest of configuration file here. You can use the 'A' flag the same
way you always did)
... In batch file that calls TopicX: ...
TopicX (command-line switches here)
C:
cd \Max
if exist CreatArc.Bat command /c CreatArc
rem replace above with 'if exist creatarc.bat call creatarc.bat' if you
rem have DOS 3.3!
(rest of batch file)
* Changed the configuration-parsing routine to use a binary search for
matching the verbs. That increases the speed by about 15%, and
should make sure things don't take much longer if we add more
configuration-file verbs. Also switched to using a custom function
for sorting message numbers in areas into numerical order, and
achieved a spped increase of about 300%.
* Fixed a very minor bug with the regular expression bomb-proofing routine.
Previously, TopicX wouldn't accept a regular expression that had a backslash
as the last character in a character class. ie. [abc\\]. The solution
for previous versions was to move the '\\' to the beginning of the set.