home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
maxsync2.zip
/
maxsync.doc
< prev
next >
Wrap
Text File
|
1996-10-08
|
9KB
|
155 lines
/*========================================================================*/
/* Version 2.0 07/Oct/96 written by Greg Matheson (C) */
/* OS/2 only version. */
/* MaxSync :- Reads Maximus V3 Msgarea.ctl and Squish.cfg files. */
/* Writes a Msgarea.lst and Squish.lst filtered on the Maximus Divisions */
/* */
/* Description :- Maximus Message area generator and Squish Syncronizer */
/* */
/* Purpose :- This program is intended to syncronize your Maximus and */
/* Squish control files message areas. It will report differences it */
/* encounters, generate maximus areas definitions for new areas, format */
/* the squish file to be in the same order as the maximus file including */
/* msgdivsions. */
/* */
/* It has been written to allow a semi automatic way of ensuring */
/* that current Maximus areas are still arriving in squish and that */
/* new squish areas are added to the maximus setup. */
/* */
/* To install new message areas in Maximus you just need to move the */
/* newly created maximus areas to the section of the file where you wish */
/* it to appear and ensure the area name is how you want it to appear. */
/* */
/* Any Maximus Area not in Squish will be removed from the Msgarea.lst */
/* and reported in Lost.lst. */
/* */
/* Any Areas in Squish.cfg not presently in Msgarea.ctl, with the */
/* exception of pass-thru areas, are created in a New Division of the */
/* msgarea.lst file generated. These additions are reported in lost.lst */
/* */
/* Edit Maxsync.cfg to suit your system before running Maxsync. */
/* Local areas to your BBS, should be included in Squish.cfg using the */
/* (undocumented) LOCALAREA keyword. If they do not appear in squish.cfg */
/* they will be reported as lost, and not created in msgarea.lst. */
/* */
/* Study the Lost.lst file to see if there are any typos or incorrect */
/* paths causing areas to be reported as lost. */
/* */
/* You should move the new areas from the New Division to the divisions */
/* they are to appear in the BBS in msgarea.lst. Ensure all your areas */
/* have unique names when you relocate them to their correct locations. */
/* */
/* Rename the Msgarea.lst to Msgarea.ctl. */
/* */
/* Run Maxsync again to generate a new synced squish.lst */
/* */
/* All the Areas in Squish.lst should now appear in the same order as */
/* in Maximus, including divisions. All existing settings for the Max */
/* Areas and Squish Areas will be preserved. */
/* */
/* If you have no msgarea.ctl, an attempt will be made to create one */
/* based on the squish.cfg file. */
/* */
/* If you have no Squish.cfg file, an attempt will be made to create the */
/* Areas section based on msgarea.ctl */
/* */
/* Squish.lst has the Areas section to replace the existing one in */
/* your Squish.cfg. Replace the Areas section of your Squish.cfg with */
/* Squish.lst */
/* */
/* Rename Msgarea.lst to Msgarea.ctl and resilt Max and your BBS has all */
/* the Squish areas in it, other than pass-thru areas */
/* */
/* Beta Version 2.0 30/9/96 */
/* (c) Greg Matheson */
/* Not for distribution */
/*========================================================================*/
Performance
This program will process 1300 max and squish areas in less than
2 minutes on a 120Mhz DX4 with 16megs of ram. 150 areas takes ~10 sec
Maxsync should handle 2000 or more message areas without problem.
System Requirements:-
A computer running OS/2 with Rexx system components installed.
Installing & Running Maxsync :-
Create a directory for the program to live in eg C:\Maxsync
Edit Maxsync.cfg configuration file to suit your system requirements
Ensure your local message areas from Maximus are in Squish.cfg using
the LocalArea keyword. As this is an undocumented word you may not find it
in Squish.doc
use this format :-
LocalArea <TAG> <PATH> -$ (squish flags -$m100 etc)
Run Maxsync
Comments are added to msgarea.lst and squish.lst that inform you of
the syncronised state of your system setup, and what steps to take if
they dont match up.
This program has limited support for Seal ;Echospec lines in
squish.cfg The limitation is that Maxsync only supports the
;Echospec line being the the form of EchoArea line followed by
;Echospec line. The format of all the echoarea lines in a group
followed by all the ;echospec lines is not supported.
As the idea behind maxsync is to have all the information about your
message areas syncronized, some squish areas such as BadArea,
DupeArea will appear in your maximus system. Ensure they are in a
Sysop only area.
Running Seal and Maxsync, it should be possible to keep your
Maximus message areas syncronized with the Squish areas, with the
descriptions being obtained from fidonet.na with Seal and stored in
the Echospec line, Maxsync generating new areas and dropping old
ones, with little manual configuring.
Why not just use Seal to make areas ? Because Seal has no cross
referencing to your existing message areas (for existing names and
divisions), and insists on creating alphabeticaly sorted lists of
areas.
Advantages on using Maxsync are that your existing Maximus setup is
not altered, except for the removal of dropped message areas, the
names and settings are all preserved, squish.cfg is formatted to the
layout of the BBS areas which makes maintance easier. By examining
the lost.lst you can see at a glance what areas are no longer
imported by squish or what new areas have arrived in Squish.
Dont forget to re-silt Maximus after changing the msgarea.ctl file.
Please report on how this program behaves on your system to :-
Greg Matheson 3:626/661.0 / 3:626/661.1 (Fidonet)
or
greg@teleport.apana.org.au (Internet)
Thanks to Ian Smith for suggestions and the beta testers.
Greg.
Beta Version Licence agreement.
This product is free to use for non commercial users of Maximus BBS
and Squish mailer software.
Commercial users of the above software, who find Maxsync to be of some
use are encouraged to send $10 Australian Dollars to Greg Matheson
Po Box 9 Nimbin 2480 Australia. This will make you feel real good.
Any payment is received as a donation towards develpoment costs of
this and other projects. Receipt of any money will be acknowledged by
a virtual postcard.
This program is only warranted to take up disk space and provide no
functional use other than as a time consumer.
All rights reserved (C)
Distribution without this licence agreement is prohibited.
Greg Matheson Mon 07-Oct-1996 21:46:42