home *** CD-ROM | disk | FTP | other *** search
-
- PCBOARD is a registered trademark of Clark Development Company, Inc.
-
- *:::::::::::::::::::::::::::[ DISCLAIMER ]:::::::::::::::::::::::::::::::::*
-
- MSGS.EXE by Bill Shields is released to public domain.
-
- MSGS.EXE is provided AS IS without any warranty, expressed or implied.
- This includes without limitation the fitfulness to a particular
- purpose or application and any warranties of merchantability. While I tried
- to be as thorough as possible while debugging MSGS.EXE, I shall not be
- liable for any damages, whether direct, indirect, special, or consequential
- arising from a failure of MSGS.EXE to operate in a manner desired by the
- user. I shall not be liable for any damage to data or property which may
- by caused directly or indirectly by use of MSGS.EXE.
-
- In no event will I be liable to you for any damages, including any lost
- profits, lost savings or other incidental or consequential damages arising
- out of your use or inability to use the program, or for any claim by any
- other party.
-
- =========================[ BETA TEST VERSION ]==============================
- NOTE: If you have problems with this program please let me know on the
- SALT AIR. PD does not mean it's not supported.
- =========================[ BETA TEST VERSION ]==============================
-
-
- MESSAGE ALERT PROGRAM FOR PCBOARD
- =================================
- Ver: 1.1
- Usage: MSGS [/N]
- Purpose: Allows you to send messages, addressed to specific individuals, to
- the printer or conference during event or logoff (assuming $$LOGOFF.BAT
- exist).
-
- The /N switch will force MSGS.EXE to use file locks allowing it to work in a
- multi-node environment. By default there is a 30 seconds retry on file locks
- (this should be adequate to wait out the slowest message base utility which
- may have the message base locked).
-
- The nature of this program lends itself to a Multi-tasking environment
- without having to install it on every node. It is designed to be installed
- on "only" one node. When a person logs off of the node it is installed on
- (assuming executing from $$LOGOFF.BAT) it will collect and process all
- applicable conference mail. Mail processed on other nodes will not be
- processed until the node the program is installed on is exited by a user
- (thus you want to install it on your most active node). A version will be
- released in the future that will allow this program to be installed on every
- node. If you attempt to run this program from each node it will work but you
- will have messages duplicated each mail run (since each node would maintain
- its own message pointers).
-
- You must first create a MSGALRT.USR file (or edit the one in this package).
- An example MSGALRT.USR file follows:
-
- ----------------------------[ MSGALRT.USR ]----------------------------------
- 3
- 0 1 SYSOP 3 4
- 1 2 BILL SHIELDS 10 8 8
- 1 2 PETE AUSTIN 2 1899 1902
- ·─·──┼────────┼────────┼────────┼────────┼────────┼────────┼────────┼
- 1 2 3 4 5 6 7
- 0123456789012345678901234567890123456789012345678901234567890123456789012345
- ────────────────────────────────────────────────────────────────────────────
-
- NOTES:
-
- 1. Only the number of lines specified by row 1 is read into system. For
- example in this MSGALRT.USR file everything under PETE AUSTIN is ignored.
-
- 2. Because this program is in beta test, no messages will be deleted for
- the active status=2 option. Soon as I get the go-ahead (from my beta tester)
- that it works as advertised this will be a configurable option (to delete or
- not delete (that is the question-grin)).
-
- 3. First Row designates number of names to process. In our example we have
- three names. This is needed because I am using a dynamically allocated array
- for the above individuals data. This will allow you to add as many names as
- you wish to the listing, be sure to have this value consistent with the
- number of names in your MSGALRT.USR.
-
- 4. There will be a configuration program (eventually) that will create this
- Configuration file.
-
- COL DESCRIPTION
- ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 0 ...... Print Private Mail.
- '0' only message header is printed for private mail.
- '1' print private mail (header and text).
- 2 ...... Active status. Valid status codes follow:
- '0' Inactive user (messages will not be processed for this individual)
- '1' Active user (messages are processed for printer output).
- '2' Active user (message copied to the conference specified at col 35.)
- 5 ...... Name of person you wish to have mail printed or message copied for.
- 35 ...... Conference to place messages in for individual specified on col
- 5 (active status = 2 only).
- 40 ...... Conference to start at for this individual.
- 45 ...... Conference to stop at for this individual.
- --------------------------------[ EOF ]---------------------------------------
-
- Once the MSGALRT.USR file is complete you are just about done. You'll need
- to type in MSGS while in the directory that your PCBOARD.DAT file resides.
- MSGS.EXE will read in the CNAMES.@@@ file and create a MSGALRT.NDX file with
- message pointers for each conference. The first time the program is executed
- message pointers will be set to the last message. All future messages
- entered on the system will be sent to printer/conference if the individuals
- they are addressed to are in the MSGSALRT.USR file and the messages are
- within the range of conferences specified.
-
- When the MSGS.EXE program is next executed it will search each specified
- message base (very quickly I might add) from the current message pointer to
- last message. It will then set the message pointer to point to the last
- message.
-
- It should be noted that should the program abort (error exit) for any reason
- (i.e., couldn't find a MSGS, MSGS.NDX) pointers will not be saved to disk
- (indirectly restoring them to where they were prior to the program execution.
- This does not apply to PRINTER errors, PRNERR.BAT will be executed upon a
- printer error and program execution will continue.
-
- PRNERR.BAT will be executed (if it exist) when printer errors are
- encountered. Using a utility, such as CALLERUP.EXE, you can let yourself
- know by bulletin or CALLERS log that a printer error occurred.
-
- P.S. PD does not mean it's not supported. If you encounter problems with
- this program OR have ideas for improvement by all means drop me message on
- the SALTAIR. Time permitting I will update/fix as required, personal pride
- will ensure a timely repair on 'critters' found crawling in the program.
-