home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
GAPNEWS.ZIP
/
NEWSMAN.DOC
< prev
next >
Wrap
Text File
|
1989-10-05
|
18KB
|
409 lines
N E W S M A N A G E R
Version 3.20 Beta
Release Date: October 5, 1989
(C) Copyright 1988, 1989 - All Rights Reserved
a PCBoard/GAP door
written By Kevin Carr
===============================================================================
FEATURES
~~~~~~~~
▐ Allows up to 999 News Entries.
▐ Support for PCBoard, GAP, or ANY BBS Local Mode.
▐ Password protection on any or all News Files.
▐ Support to delete old news.
▐ Support to make certain News entries expire on a certain date.
▐ Premanent News entries.
▐ Color and non-color News files.
▐ Four different News Styles to choose from.
▐ Colors of the News are completely definable.
▐ Support for locked ports up to 38.4K. Unlimited com ports.
▐ Many, Many, Many More!
===============================================================================
SETUP
~~~~~
News Manager needs a configuartion file to operate. Configuration files
can be called anything you want, but I will address them as NEWSMAN.CFG.
A sample NEWSMAN.CFG has been included with this door to serve as a
guideline. The format of the NEWSMAN.CFG is as follows:
Line # Example Description
-------- -------------------- ---------------------------------------------
1 C:\PCB The Full Path of PCBOARD.SYS, DOOR.SYS,
or 'LOCAL'
2 User-To-User Name of your BBS
3 1 '0' = GAP, '1' = PCBoard, '2' = Local
4 William Pendergast Sysop's FULL Name
5 BLUE Color of lines in news (borders)
6 YELLOW Color of numbers in date of news
7 MAGENTA Color of dashes in date of news
8 WHITE Color of text in news
9 RED Color of description in news
10 2 Default News Type (1,2,3,4)
11 Registration Code or leave it blank
The above is the main part of the configuration file. You must now setup
the News File names. To support a News File, the door needs to know the
News File Description, Non-Color News Filename, Color News Filename, and
the password required to access the News File (blank=none). You can have
as little as 1 News File support, or as many as 99 News Files. You put the
information at the end of the NEWSMAN.CFG file like:
Line # Example Description
-------- -------------------- ---------------------------------------------
12 Main Board News General Description of the News
13 NEWS1 Prefix of news data files (MUST BE DIFFERENT
FOR EACH DIFFERENT NEWS FILE!)
14 M:\PCB\GEN\NEWS Path/Filename for Non-Color News
15 M:\PCB\GEN\NEWSG Path/Filename for Color News
16 PASSWORD Password for this news entry (blank=none)
Notice, News Manager compares the
complete line to the one entered, so
watch out for hidden spaces at the end
of this line.
For ever extra news file you support, the NEWSMAN.CFG should be increased
by five lines, and include all five lines of the above required information.
Line #1: If you are running a PCBoard, this line should ONLY include the path
of the PCBOARD.SYS file, like 'C:\PCB', **NOT** 'C:\PCB\PCBOARD.SYS'!
(Support for PCBoard 14.x)
If you are running a GAP BBS, this line should ONLY include the
path of the DOOR.SYS file, like 'C:\GAP', **NOT** 'C:\GAP\DOOR.SYS'!
(Support for GAP 3.x-4.x)
If you would like to run the door locally, this line can
contain anything you wish.
Line #2: Simply put your BBS name. If you are a registered News Manager
user, your BBS *must* be spelled exactly the same way as you gave
me the information, or News Manager will say 'Un-Registered'.
Line #3: Put a '0' if you are running a GAP 4.0+, a '1' for PCB 14
systems, and a '2' for Local Only mode.
Line #4: This is where you tell me the sysops name. If you are a
registered NEWSMAN user, your name must be spelled exactly the
same way as you gave me the information, or News Manager will
say 'Un-Registered'.
Line #5: Your options on this line are either RED, WHITE, BLUE, MAGENTA,
YELLOW, or GREEN. The above colors are the brighter (bold) colors.
If you would like other colors that are not supported here, simply
put the desired escape code on this line.
Line #6: Same as Line #5
Line #7: Same as Line #5
Line #8: Same as Line #5
Line #9: Same as Line #5
Line #10: Four News File formats are currently support. This line should
contain the DEFAULT News File Style Type, therefore, '1' or
'2'. The styles can be found later in the docs.
Line #11: Used for Registered News Manager Boards only. Leave this blank if
you have not registered News Manager. Be sure that you put
the correct code in. They are tricky little suckers.
All lines after this configure News Files.
You can run News Manager by simply putting the following in your door batch
file, or by typing the following manually:
'NEWSMAN.EXE NEWSMAN.CFG'
Of course, you should replace NEWSMAN.CFG with the name of your
configuration filename.
===============================================================================
NEWS MANAGER FILES
~~~~~~~~~~~~~~~~~~
Filename Description
---------------- --------------------------------------
NEWSMAN.EXE News Manager Executable Program
NEWSMAN.DOC News Manager Documentation
NEWSMAN.CFG News Manager Sample Configuration File
REGISTER.FRM Registration Form - Please support Shareware!
===============================================================================
DAILY MAINTENANCE (Optional)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you use the expiration dates on News entries & your BBS supports nightly
events, it is recommended that you read this section of the docs. If for
some reason, your BBS does not support nightly events, you should run
News Manager manually and select the [R]enumber option from the main menu
of each individual News file. If you simply do not want to support
expiration dates, you can totally ignore this section.
The Daily Maintenance routines will go through each News entry that is
listed in the NEWSMAN.CFG, and process each one. It will first check
to see if any old is new, and therefore should be deleted. It will then
create the master News files (from information in NEWSMAN.CFG).
You should run the News Manager maintenance by putting the following in
your nightly event, or running it manually whenever you wish:
NEWSMAN /DAILY:NEWSMAN.CFG
Of course, you should replace NEWSMAN.CFG with the name of your
configuration filename.
===============================================================================
NEWS ENTRY FILENAME FORMAT
~~~~~~~~~~~~~~~~~~~~~~~~~~
Each news entry is stored in its own file. I am taking the time to explain
all of this to you just in case you ever have the need to make changes
or additions to the news with using News Manager.
The filename for the news files are as follows:
[prefix].yyy & [prefix]G.yyy
(Non-Color) (Color)
Each News file (five lines of NEWSMAN.CFG) is given a number.
[prefix] stands for the news' unique prefix.
News Manager supports up to 999 news entries in each news file. Each
news entry is given a number from 001 to 999. 'yyy' stands for the
news entry's number.
The first line of each file contains the expiration date for that news
entry. Every line after that is the actual news entry.
Both the non-color AND the color news entry files should exist, or problems
may occur!
===============================================================================
PERMANENT NEWS ENTRY (Optional)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you desire to have a News Entry ALWAYS stay on top, this section is for
you! This feature can be used if you support Echomail/Netmail and you want
the last Mail Transfer Date/Time at the top of the News or for any other
reason which requires a permanent news entry.
The permamnt News entry should be put into the files [prefix].000 &
[prefix]G.000. Re-read the section 'NEWS ENTRY FILENAME FORMAT' if you
have forgotten what the 'x' stands for. The difference between this file
and the rest of them is that this one does not have an expiration date on
the first line.
I use this feature since I am part of the RelayNet. I put the last
date/time we did a successful mail transfer at the top of the News file.
I put the following in my PCRelay batch file:
COPY LASTTIME.TXT D:\NEWSMAN\NEWS1.000
COPY LASTTIME.TXT D:\NEWSMAN\NEWS1G.000
D:
CD\NEWSMAN
NEWSMAN /DAILY:NEWSMAN.CFG
(Remember that News Manager needs both a color and non-color News 000)
===============================================================================
NEWS STYLES
~~~~~~~~~~~
┌──────────┐ ┌─────────────┐
─────┤ 00-00-00 ├───────────────────────────────────────────────┤ Description │
└──────────┘ └─────────────┘
News Style #1
┌───────────────────────┐
┌────┤ Description, 00-00-00 ├───────────────────────────────────────────────┐
│ └───────────────────────┘ │
│ News Style #2 │
└────────────────────────────────────────────────────────────────────────────┘
===============================================================================
NEWSMAN COMMANDS
~~~~~~~~~~~~~~~~
Main Command Menu
-----------------
┌────────────────────────────────────────────────────────────────────────┐
│ (A)dd News, (H)elp, (G)raphics Toggle, (P)age Sysop, (R)enumber │
│ (V)iew/Delete News, (Q)uit to Menu, (QU)it to BBS │
└────────────────────────────────────────────────────────────────────────┘
(A): Add News. This is the command that allows you to add a new News
entry.
(H): Help. This gives a short explanation of these commands.
(G): Graphics Toggle. This will toggle your ANSI support On/Off.
(P): Page Sysop. Page the sysop to chat.
(R): Renumber. With this command, you can check for expired news
files, or just renumber your NEWSxx.yyy and NEWSxxG.yyy files.
(V): View/Delete News. This is where you can either view the complete
news file, individual news entries, or delete any news entry.
(Q): Quit to Menu. This will take you back to the News File selection
menu. It will ask you if you would like to create a new news file
first.
(QU): Quit to BBS. Exit back to the BBS. This command also asks you if
you would like to create a new news file.
(*): Some general information on News Manager.
Add News - Message Style - Commands
-----------------------------------
(A): Abort. Abort the news you were typing, and return to the main
menu. News will not save.
(C): Continue. Continue typing news once you are at the Add News prompt.
(D): Delete. Delete one line out of the news you are typing.
(E): Edit. Edit one line of the news you are typing.
(F): File Imp. Import any file into the news you are typing. If the
file is too long or too wide, News Manager will chop parts of it
off and notify you of the problem.
(H): Help. Short description of these commands.
(I): Insert. Insert one line before another line.
(L): List. List what you have typed so far.
(T): Title. Change the news title (description) or the expiration date.
(S): Save. Save the news & return to the main menu.
===============================================================================
SUBSTITUTION VARIABLES
~~~~~~~~~~~~~~~~~~~~~~
Many BBSes now support something called Substitution Variables or
SmartText (whatever you wish to call it). With PCBoard 14.2, a variable
would look something like: "@USER@". When using the Boxed or Printer
Paper Style news formats, these variables should NOT be used since the
variables vary in length depending on who is reading it, and the variables
are usually different lengths then the actual text it displays. This
causes the spacing to be unpredicatable!
===============================================================================
HISTORY
~~~~~~~
(Versions 1.0 to 2.3 were called Newsgen)
Ver 3.00 - Official News Manager Release! Because this version is
almost completely different that Newsgen, I will not list
all of the changes. You should simply read the docs like
this was a completely new door. If you registered NEWSGEN,
please fill out the REGISTER.FRM and tell me that you have
already sent money. I have lost the addresses of a few
of you. Enjoy!
Ver 3.20 - News Manager will only update the NEWS/NEWSG file's dates/times
when new news has been added. Therefore, no long will the
NEWS/NEWSG files have the current date/time everytime you create
it. It will have the date of the last news entry for that
NEWS/NEWSG file. Thanks to Rod Renner for sending me his ASM
routines to read/write dates from/to files. You can now import
a complete file without having to worry about fitting it into
the 72 character length limit. You can specify the name of
an ANSI and an ASCII version of the file. News Manager now
supports up to 38.4K and unlimited com ports. A new line
has been added to the NEWSMAN.CFG file. You must now specify
the type of BBS you are running on line 3. See above docs
for more information. You no longer need the 'SET GAPQBDR='
variables!
===============================================================================
BETA TESTERS
~~~~~~~~~~~~
I would like to thank the beta testers of our software. Thanks
for helping make our doors look better!
PCBoard User-To-User
214-492-6565, 14.4K HST/V32
Sysop - William Pendergast & Kevin Carr
Net - RelayNet (UTOU)
PCBoard DFW COM Shop
817-572-0749, 9600 Hayes
Sysop - Sonny Maxwell
Net - RelayNet (DFW)
PCBoard SALEMDUG
202-646-2887, 9600 HST
Sysop - Rod Renner
If you are interested in being a beta tester, please contact me on the BBS
below. If you are a beta tester and NOT listed above, please notify me!
===============================================================================
DISTRIBUTION
~~~~~~~~~~~~
NEWS MANAGER is Copyrighted by Carr Software & Kevin Carr,
with all rights reserved. This program is being distributed
via the SHAREWARE concept and as such, may be copied freely
with the following restrictions:
* The program must be supplied in it's original
unmodified form, including documentation.
* No fee is charged for distribution.
* NEWS MANAGER may not be distributed as part of any
other application or service without the express
written consent of the author.
THIS PROGRAM IS NOT A DEMO. IT INCLUDES NO EXPIRATION OR "CRIPPLEWARE"
CODE WHATSOEVER. REGISTRATION IS OPTIONAL, BUT RECOMMENDED BECAUSE....
NEWS MANAGER represents many hours of programming and the author
deserves just compensation for his time, efforts and expertise.
If you find this program to be of some value and you continue
to use it on your BBS system, you must return the registration
form provided along with the $15.00+ registration fee. This small
fee will ensure future doors/utilities from us.
Authors: I will give registered copies of my software to any
author who sends me registered software of his software.
Suggestions, comments, bug notices, etc. may be sent to the address
below or via electronic mail.
(Checks should be made out to Kevin Carr)
Kevin Carr
P.O. Box 797381
Dallas, Texas 75379-7381
214-492-6565, 14.4K HST/V32
RelayNet ID: UTOU