home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
CALCAT41.ZIP
/
CALCAT.DOC
< prev
next >
Wrap
Text File
|
1993-08-18
|
24KB
|
587 lines
CalCat! Ver 4.0ß
By Bart Flentje
August 16, 1993
Legal
CalCat! is provided "AS IS" without any warranty of any kind,
either expressed or implied as to the merchantability or fitness
of purpose. The risk as to the quality and performance of the
software is the end user's. The Author shall have no liability
or responsibility to the user with respect to the liability, loss
or damage caused or alleged to be caused by this software,
including, but not limited to, any interruption of service, loss
of business or anticipatory profits or consequential damages
resulting from the use of, or the inability to use the software.
The information in this document is subject to change without
notice and does not represent a commitment on the part of the
Author.
Copying and Distribution:
CalCat! is (c) copyrighted 1992,1993 by Bart Flentje. It is also
registered with United States Library of Congress as such. That
means registered versions of CalCat! cannot be copied and/or
distributed without the express written consent of the author.
However, CalCat! can be copied and distributed so long as it is an
unregistered version and is accompanied with the appropriate key
designating it as SHAREWARE. No changes or modifications may be
made without the authors approval. It is also a violation to use
CalCat! past an authorized date unless a new key has been issued
and released by the author. IT IS a violation of Federal COPYRIGHT
Laws to distribute registered versions of this software whether it
be the software itself or a registration key.
Registration:
CalCat! is NOT public domain, it is SHAREWARE. That means that
you have to pay registration fees ($10.00) if you use CalCat! in
any way or form. The registration cost is minimal and considered
to be below market standards. Registration fee will allow the author
to write new and improved versions of CalCat!. Registering your
software will give you limited rights of use with no expiration.
Registering your software also supports all new updates that may
be developed.
Description of files:
- CALCAT.DOC (This documentation)
- CONFIG40.EXE (Database management utility)
- CALCAT40.EXE (The CalCat! program file to be run as event)
- CALCAT.BAT (Sample batch file to start CalCat! event)
- CALCAT.INI (.INI configuration support file)
- CALCAT.DAT (Holiday data file. Back this up!)
- SWAP.DAT (Swap screen data support file)
- RELEASE.DOC (Version release information and history)
- HOLISCRN.ZIP (Archive file containing 242 holiday screens)
- REGISTER.DOC (This registers your SHAREWARE!!)
What is CalCat! ?
CalCat! is a utility that was originally written for my BBS to
automatically swap in a new HELLOX. screen on holidays, thus
saving me a lot of work. It started out with just half dozen or
so major holidays and has progressed since. Right now, CalCat!
is supplied with a data file that will check for over two hundred
holidays. This data file has the necessary data to place your
holiday screens where you want them regardless of the year. No
more monkeying with date shifting. (e.g. President's Day is the
3rd Monday in February) CalCat! does it for you. Beyond that,
CalCat! also allows you to randomly or sequentially swap in other
screens on non-holiday days! CalCat! is easy to setup and should
be run as an event (preferred) or as postcall.bat by Wildcat!.
How do I install CalCat! ?
There are four basic steps to setup CalCat!
I. Set up your new event directory.
II. Customize your information and database files.
III. Set up your event in Wildcat!
BEFORE YOU START!!!!!
Delete any previous version of CalCat! from your directory for the
new version will use a NEW configuration for data!!
I.
A. Create a new directory for CalCat! For better organization,
I create a directory for each event that I run. My CalCat!
event path looks like this: C:\WC30\EVENT3
B. Copy all CalCat! files into your new event directory. That will
include CALCAT40.EXE, CALCAT.INI, CALCAT.DAT, CONFIG40.EXE, SWAP.DAT,
and HOLISCRN.ZIP. (the whole works)
C. Inside my event directory, I have created a sub directory for all
of the holiday screens. This is for purely organizational purposes.
That path looks like such; C:\WC30\EVENT3\SCREENS. Here is where
you have the new option. You can either copy HOLISCRN.ZIP into
this sub directory or you can unzip the contents of HOLISCRN.ZIP
into the sub directory. Which ever way you decide to go, you will
determine the setting when setting up the .INI file.
Here is an EXAMPLE of how my directory looks...
_______________________________________________
Volume in drive C is MAX1!
Volume Serial Number is 18DB-9CAD
Directory of C:\WC30\EVENT3
. <DIR> 08-28-93 2:07p
.. <DIR> 08-28-93 2:07p
CALCAT DAT 6756 10-31-93 12:01a
CONFIG40 EXE 64232 10-18-93 12:00a
CALCAT INI 93 10-31-93 3:00p
CALCAT40 EXE 76162 10-31-93 3:00p
CALCAT BAT 12 10-31-93 3:00p
CALCAT DOC 8138 10-31-93 3:00p
SWAP DAT 56124 05-01-93 12:00a
SCREENS <DIR> 10-31-93 3:00p <- Screens go here.
11 file(s) 151459 bytes
1817217536 bytes free
_______________________________________________
II. Make sure you are now in your new event directory. We'll modify your
database files to suit your individual needs. Run CONFIG40.EXE which
is the database management utility.
First we need to modify personal details. So choose option one (1)
from the menu which allows you to set up CalCat! for you and your
computer. Edit CALCAT.INI menu option looks something like this:
SYSOP Name: Bart Flentje <--- Sysops first and last name
BBS Name: Eagan Wildcat! BBS <--- Name of your BBS
User Key: 0000000 <--- Your user key here
SourcePath: C:\WC30\EVENT1\SCREENS\ <--- Path of Source Holiday Screens
TargetPath: C:\WC30\DISP\ <--- Path to Display Screens
Archive File: HOLISCRN.ZIP <--- Name of ZIP file
ASCII Screen: BBS <--- ASCII file identifier
ANSI Screen: SCR <--- ANSI file identifier
Graphic Screen: RIP <--- Graphic file identifier
Graphic Support: No (Registered Only) <--- Toggles graphic support on/off
The following data will help explain the information needed in the
.INI file. Use the arrow keys or mouse to choose which field you need
to modify. The following list helps explain the contents of this menu.
1. Sysop Name: This is the first and last name of sysop.
2. BBS Name: The name of your BBS.
3. User Key: This is the key registered in your name, or an official
SHAREWARE key issued by the author.
4. SourcePath: This is the path where CalCat! will find your holiday
screens. If a holiday file does not exist at this
path, CalCat! will abort it's operation. CalCat! is
NOT sensitive to backslash at the end of the path.
5. TargetPath: This is the path where CalCat! will write your holiday
screen to. This line is more important to your BBS
that it is for CalCat!'s operation, because this is
the path where your BBS should be able to find your
display screens. Again, CalCat! is NOT sensitive to
the backslash at the end of the path.
6. Archive: This is where you specify whether you would like to
store the holiday screens in ZIP archive form or not.
This new line must exist. If you WOULD like to store
holiday screens in archive form, put the name of the
archive file here. The screens included in SHAREWARE
version have been preZipped, so I would recommend that
you just leave the screens as is and put HOLISCRN.ZIP
in this field. If you choose to store the holiday
screens in the extracted form, this line MUST exist but
leave the field blank.
7. ASCII Screen: Most BBS packages produced today allow you to use
two sets of screens. These two screens types are
usually ANSI and ASCII, one set allowing for advanced
colors and animation, and the other allows color or
black and white, respectively. CalCat! is now setup
to go beyond Wildcat!'s .BBS and .SCR making CalCat!
compatible with several other packages on the market.
In this field, simply put the ASCII screen identifier
used by your BBS package here. Again, this line is
more important to your BBS than for the operation of
CalCat!. An identifier that is wrong will cause your
BBS to not find your holiday file.
8. ANSI Screen: As in above, simply put the ANSI identifier used by
your BBS package here. It is not case sensitive.
9. Graphic Screen: As in above, simply put the graphic screen
identifier used by your BBS package here. It is not
case sensitive.
10. Graphic Support: This will toggle graphic support on or off. This
option is NOT available to unregistered users of
CalCat! This allows for the copying of graphic
screens along with ANSI or ASCII screens.
That should do it for personal data, that didn't seem too bad, did it?
III. Next step is to modify your swap data to meet the needs of your BBS.
To do this, you need to step back to the main menu of CONFIG40.EXE and
select option 2, modify SWAP.DAT.
CalCat! now has the ability to swap screens into 10 different locations.
As you can see from the list, these will be referred to as target files,
and they can be any display file within Wildcat! so long as the actual
display file can be found in the "Target Path" as defined in the edit
CALCAT.INI menu. (such as HELLO1, PRELOG, GOODBYE etc.) You will find
that you have the option of using any amount of these target files up to
the allowed limit of 10 and must use at least one for CalCat! to operate.
Choose one of these target files using the arrow keys or mouse and we
will modify one to show you how it's done.
I will choose to modify TargetFile #1, submenu for TargetFile #1 now
comes up looking like such:
Target File Name: HELLO1 <--- Name of target file.
On/Off Switch: On <--- Used to turn target file on/off
Flagged for Holiday: On <--- toggles holiday swaps on/off
Sequence Type: Random <--- toggles swap type on non-holiday
Last Copied: 2 <--- Last screen swapped. Internal
Swap Screens: <list button> <--- Hit enter to list swap screens
The following is detailed information of each option.
1. Target File Name: This is the name of the display file you want
to assign to this particular target file. This
display file must be able to be found by WC
in the target path as assigned by you in the
edit CALCAT.INI menu. Notice that there is no
dot (.) or a screen type identifier... this IS
the correct syntax, for CalCat! will determine
the screen identifier by the holiday database.
2. On/Off Switch: This toggles the target file on or off. You must
have at least one target file turned on for the
CalCat! program to work. Any number of these
target files can be turned on or off and will
operate so long as target file name is assigned
and there exists screens in the swap list.
See #6
3. Flagged for Holiday: This option allows you to control the
holiday swaps of each individual target
file. Any number of target files can be
toggled as flagged for holiday.
"On" | Holiday "Flagged" | Actual Holidays | Copied | Swaps
-----------------------------------------------------------
8 | 4 | 2 | 2 | 6
3 | 2 | 3 | 2 | 1
1 | 0 | 1 | 0 | 1
1 | 1 | 1 | 1 | 0
Get the picture?
4. Sequence Type: This can be toggled as random or sequential.
this function determines the swap technique
used when there are no holidays or when the
holiday flag has been turned off.
5. Last Done: This was the last screen copied from the swap list.
This is written internally and cannot be modified.
6. Swap List: Choose this option to add display screens to the swap
list. These are the screens to be swapped when:
- Target file toggled for holiday and there is
no damn holiday.
- Target file is not toggled for holiday.
If you add screens to this swap list, YOU MUST
REMEMBER to ADD your new screens to HOLISCRN.ZIP or
they will NOT be swapped. You have the ability to
add up to 20 display screens for EACH target file.
This means if you use CalCat! to it's full potential,
you can swap up to 200 display screens. Duh!
This should do it for the swap data. Remember, if you have troubles
to use your common sense. The information to be edited is very
straight forward.
IV. With CalCat's new database system, it is now easier for you to turn
holidays on and off, or add holidays to the database. I won't go into
too much detail on how to modify the holiday database, because it is
very straight forward so long as you use the key options presented and
that you pay attention to the screen.
To edit or add holidays to the holiday database, you first need to be
back at the main menu of CONFIG40.EXE and choose option 3. Edit the
CALCAT.DAT database.
The menu will look like this:
Add New Holiday: <--- Lets you add your own holidays to database
Edit Holiday: <--- Allows you to edit holiday already in database
Delete Holiday: <--- Allows you to delete a holiday from the database
List Holidays: <--- Lists holidays for you. Sorted or unsorted
Print Holidays: <--- Prints list of holidays sorted or unsorted
Details of the above options are as follows:
1. Add New Holiday: This option lets you add your own date sensitive
holiday to the database. Remember, if you add a
holiday, make sure your new holiday display screen
is put into HOLISCRN.ZIP or it will not be copied.
2. Edit Holiday: This option allows you to edit any holiday that YOU
have added to the database. Holidays provided by the
author CANNOT be modified in any except for turning
them on or off!
3. Delete Holiday: This option allows you to delete any holiday that
YOU have added to the database. Holidays supplied
by the author CANNOT be removed from the database or
that is an infringment of your software license.
4. List Holidays: This allows you to easily view the list of holidays
either sorted or unsorted. Two different sorting
options are by alphabetical or by date.
5. Print Holidays: This allows you to easily print a list of holidays
either sorted or unsorted. Two different sorting
options are by alphabetical or by date.
Add New Holiday & Edit Holiday sub menus.
- Holiday Name: Name your holiday. Easter, Birthday, etc.
(max of 30 characters)
- Holiday Code: Name of your display screen that YOU WILL add
to HOLISCRN.ZIP in order for it to work properly.
(max of 12 characters in proper DOS syntax, also
must have prefered identifier. eg SCREEN1.BBS)
- Author Lock: This function is for me to lock and unlock author
holidays for edit. No sense in tampering with
this option, it does not exist outside of my
home.
- On/Off Switch: Allows you to toggle holidays on or off. Easy
enough, if you don't want it to show up, turn it
off.
- Holiday Type: There are three holiday types: 1) Constant, which
is a holiday such as Christmas which has the same
date every year. 2) Variable, which is a holiday
such as Memorial Day which is different every year.
3) Internal, which is a holiday such as Easter
which needs to be determined by special algorithm
due to its uniqueness. All internals are done by
the author.
- Month: This obviously will be the month of holiday in question.
- Day: This can have two meanings: 1) Constant holiday, this will
be the day of month holiday falls. 2) Variable holiday,
this will be the "day of week" the holiday falls. eg Monday
- Week: This option is for Variable holidays only. It is the
week the holiday falls. For example, Columbus Day is the
2nd Monday in October, that means this would be set to 2
and the day would be set to Monday. (above)
- Shift: This option is used for certain holidays that depend on
another. Such as, Ascension Day is 50 days after the
Christmas, which could easily be calculated on your own.
With this, you could set the holiday to Christmas' date
with a shift of 50, and it will count the days for you
while also accounting for leap year.
** Well that should do it. You know the basics for holiday house
keeping.
V. Set up event in SYSOP menu area of Wildcat! BBS using the
CALCAT.BAT sample file. Run once per day preferably at say
12:01 A.M. Once installed properly, event only takes
approximately 7 seconds to run so will not interfere with incoming
calls.
That should do it. CalCat! is now ready to be run. You can run it outside
of Wildcat! obviously if you'd like to see it run. Not much to see though
until you log onto your BBS system.
PLEASE PLEASE PLEASE REMEMBER................
I have supplied ANSI and attribute screens for the 242+ holidays that
are already installed in the CALCAT.DAT file. Please cut me some slack
on these screens. Some of them are from other authors and some of them
are made by me. Every attempt has been made to retain the original work
by other authors and by also leaving their mark, (name) on their work. I
respect the hard work and creativity by these people, and I hope you also
appreciate them. ANSI authors make your life easier!!
****** Read on....
And by all means I cannot and will not guarantee that any of these
screens are setup with the proper amount of line lengths. I tried
with the version 2 series and it turned out to be too much work for
one person to do. (Especially as a student.)
So, if you get a chance to get a nice set of custom holiday screens,
please circulate them around the BBS world, especially at MSI HQS so I
can get a hold of them.
Enjoy CalCat! and if you have any problems or suggestions for improvements,
please feel free to contact me, Bart Flentje, on the MSI HQS BBS or you can
write to me at: or voice phoned at:
Bart Flentje 612-686-6276
1718 Hickory Hill
Eagan, MN 55122
Thanks for the support!