home *** CD-ROM | disk | FTP | other *** search
-
- MsgNum v1.3
- Copyright (c) 1993, jLc Software
-
- Author: Joe Hacker
- Address: FidoNet 1:160/140
- CFN 8:3017/0
- ICDM 77:2/0
- BBS No.: (512) 851-0241
-
- Release Date: 05 November 93
-
-
- ─────────────────────────────────────────────────────────────
- What Is MsgNum
- ─────────────────────────────────────────────────────────────
-
- MsgNum is a Hudson Style Message Base Utility that allows
- you to determine if enough mail came through with your last
- packet to justify linking and sorting your messages. Why
- waste the hard drive life on 1 or 2 messages coming in?
- MsgNum will compare the old number of the messages (since
- last linking or sorting) with the number of messages AFTER
- new mail has arrived. Once the difference is greater than or
- equal to your configured limit, MsgNum drops for maintenance.
- This could be the next large mail packet, or 15 small packets
- later - MsgNum will take care of it for you. MsgNum is NOT a
- sorter, linker, etc. It simply drops with a specific
- errorlevel allowing you to use batch files for your linking
- and sorting.
-
- MsgNum saves my hard drive about 40 minutes a day of
- continuous reading and writing that accompanies the linking,
- sorting, etc. Push that out a year, and I have saved 243
- hours of continuous writing on my hard drive.
-
- The best of all - MsgNum is FREE!
-
-
-
- ─────────────────────────────────────────────────────────────
- Do I Need MsgNum
- ─────────────────────────────────────────────────────────────
-
- If you are linking your messages after every mail call -
- simply put - YES!!!
-
-
-
- ─────────────────────────────────────────────────────────────
- DISCLAIMER
- ─────────────────────────────────────────────────────────────
-
- The only thing that I guarantee is that it was written by me.
- It works great here and on another system that I know of but
- it may not work on yours for some reason. I won't be held
- responsible from any hard/software damages that you may
- incur resulting from running MsgNum. (Had to say it... but
- I'm sure you won't have any difficulty).
-
- This program has been tested with DOS 5.0, DOS 6.2, OS2 2.10,
- 4DOS, and Lantastic without any problems.
-
-
- ─────────────────────────────────────────────────────────────
- Setting Up and Running MsgNum
- ─────────────────────────────────────────────────────────────
-
- Installation and configuration is easy. Simply use an ASCII
- editor to edit the enclosed file MSGNUM.CFG. This file should
- consist of two lines as follows:
-
- Line 1 - directory to your message base
- Line 2 - number of messages tossed to activate linking,
- sorting, or whatever else you want to do with your message
- base.
-
- ----Example of MSGNUM.CFG---
- c:\ra\msgbase
- 20
- ----End of Example file-----
-
- There should be only two lines in this file, and it can't
- contain semi-colons, etc.
-
- You do not need a trailing backslash on your directory line,
- but if it is there - it won't hurt. MsgNum will handle
- either.
-
- Place MsgNum.exe and MsgNum.cfg in the same directory as your
- echomail tosser (ie. if you run FastEcho, put MsgNum.* in the
- same directory as your FastEcho).
-
- Now you are ready to run MsgNum. Simply type 'MSGNUM'.
-
- MsgNum will create a file called MsgNum.Old - this will be a
- one liner with only one thing in it - the number of messages
- that are in your message base.
-
- MsgNum will exit with one of three errorlevels.
-
- Errorlevel 1 - Could be one of two things.
-
- 1. MsgNum.Old was not found - it was created.
-
- 2. The _DIFFERENCE_ in the number of messages in your
- message base now and the number of messages since your last
- maintenance is less than the allowable amount in your
- configuration file.
-
- No message base maintenance (linking, sorting, etc.) is
- needed.
-
- Errorlevel 2 - The _DIFFERENCE_ in the number of messages in
- your message base now and the number of messages since your
- last maintenance is greater than the allowable amount in your
- configuration file. Message base maintenance is needed. Run
- your linking, sorting, indexing, etc.
-
-
-
- Here's how you incorporate MsgNum in your batch file.
-
-
- -----------Regular batch file for tossing----------
-
- :TOSS
- run your echomail tosser MsgNum
- If Errorlevel 2 Goto LINK
- If Errorlevel 1 Goto END
-
- :LINK
- REM The number of messages that came in were
- REM higher than the number in the MsgNum
- REM configuration file.
- run your echomail linker, sorter, etc.
-
-
- :END
- REM Ah, not enough messages came in to worry about
- return to the mailer
- -----------End of Mail Tossing Batch File----------
-
- And you SHOULD run MsgNum in your maintenance event batch
- file like:
-
- ---------Maintenance Batch File--------------------
-
- :MAINT
- REM run your maintenance
- delete old messages and purge them, etc.
- MsgNum
- whatever other maintenance you have
-
- ---------End of Maintenance Batch File Example-----
-
- When running MsgNum after deleting or purging, don't worry
- about trapping the errorlevels. It's not needed.
-
-
- ─────────────────────────────────────────────────────────────
- Important Things To Remember
- ─────────────────────────────────────────────────────────────
-
- 1. You must have the MsgNum.cfg in the same directory as
- MsgNum.
-
- 2. You must be in the directory that MsgNum is residing to
- run it.
-
- 3. You must realize that running MsgNum will save you LOTS of
- disk writing if used. How much? Saves me 40 minutes a day of
- continuous disk reading/writing. MsgNum will do the same for
- the life expectancy of your drive.
-
-
-
- ─────────────────────────────────────────────────────────────
- Support
- ─────────────────────────────────────────────────────────────
-
- I doubt if you need it, but I'll answer simple questions if
- you netmail me at one of the above listed addresses. I will
- be limited to routing your replies back, though. I'm not
- charging for this program, so I'm not gonna spend any money
- supporting it either. Like I said before, I doubt if you'll
- need any help.
-
-
-
- ─────────────────────────────────────────────────────────────
- Registration
- ─────────────────────────────────────────────────────────────
-
- Ah, I said it was free, didn't I. Well, it is. But, I would
- like to know that you are using it. Take a moment and send me
- netmail (just route it and save a dime) at one of the
- addresses listed above.
-
- Who knows, maybe I'll still you on an electronic mailing list
- for other goodies I'll write.
-
- If you run MsgNum and feel it is extremely beneficial and
- want to compensate me for the time I took to write it
- (actually the docs took longer to write than the program),
- you can send me a donation at:
-
- jLc Software
- C/O Joe Hacker
- 4106 Nicklaus Lane
- Corpus Christi, TX 78413
- USA
-
- Please make any checks or money orders payable to "Joe Hacker"
-
- ─────────────────────────────────────────────────────────────
- Acknowledgements
- ─────────────────────────────────────────────────────────────
-
- This program was inspired by two people. They are:
-
- 1. Niels Rutjes - author of Total.
- Niels wrote a similar program. I liked it - but didn't
- like all the errorlevels it would need.
-
- 2. Bob Barnes - author of nothing.
- Bob was part of the inspiration for Total. But I guess
- when he started running OS2 - Total stopped working for
- him, so I wrote MsgNum. Bob's a friend. He'll also help
- you get MsgNum running if you are having some kind of
- difficulty. He's at 1:160/202. Isn't Bob a great guy!
-
- Version 1.1 was released after Steve Joselson (1:3630/40)
- brought to my attention that some boards don't get large mail
- packets, only many small ones. Thank Steve for that
- correction.
-
- * End of MsgNum.doc *
-