home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
WWMAIL42.ZIP
/
WWIVMAIL.DOC
< prev
next >
Wrap
Text File
|
1992-08-12
|
38KB
|
805 lines
▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒█ ▒▒▒▄▄▒▒▒▄ ▒▒▒▒▒▒▄ ▒▒▄ ▒▒▄
▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█▒▒█▒▒█ ▒▒█▀▒▒█ ▒▒█ ▒▒█
▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▀▀▒▒█ ▒▒▒▒▒▒█ ▒▒█ ▒▒█
▒▒█▒▒▄▒▒█ ▒▒█▒▒▄▒▒█ ▒▒█ ▒▒▒▒█▀ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█
▀▒▒▒▒█▀▀ ▀▒▒▒▒█▀▀ ▒▒█ ▒▒█▀ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒▒▒▒▒▄
▀▀▀▀ ▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀
WWIVMail/QWK V4.2
Copyright 1992 By Michael Leib
A .QWK Compatible Off-Line Mail Door For
The WWIV BBS System
=================================================================
WARNING: WWIVMail/QWK v4.2 is ONLY for WWIV v4.20+ or Newer.
(WWIVMail/QWK 4.2 NEEDS files only available under those versions
of WWIV)
=================================================================
WARNING: If you are upgrading from a previous version of
WWIVMail or WWIVMail/QWK, please delete the wwivmail.usr user
file...the record size is different and the file should be
started clean.
=================================================================
Contents
========
WWIVQWK.EXE 32/64-SUB SELF-DETECTING WWIVMail/QWK.
WWIVCFG.EXE CONFIGURATION PROGRAM FOR WWIVMail/QWK SYSOP OPTIONS.
WWIVMAIL.DOC DOCUMENTATION FOR WWIVMail/QWK. (THIS FILE)
WWIVMAIL.REV REVISION HISTORY/CHANGES IN WWIVMail/QWK.
WWIVMAIL.CFG SAMPLE OUTPUT FROM WWIVCFG.EXE.
REGISTER.LST LISTING OF ALL CURRENTLY REGISTERED SYSOP/BBS BOARDS.
MORGUL01.MOD MOD TO RUN WWIVMAIL/QWK OFF MAIN BBS MENU
AND
QWK.LIB WWIVMail/QWK LIBRARY TO LINK WITH USERREC.C
QWK.BAT .BAT FILE TO COMPILE AND LINK WWIVQWK.EXE
USERREC.H HEADER FILE FOR USERREC.C
USERREC.C C FILE TO COMPILE WITH YOUR VARDEC.H AND LINK WITH QWK.LIB
Introduction
============
There have been MANY changes in this version of WWIVMail/QWK, so
please take the time to read this documentaion.
So, for those who haven't looked at this program before, WWIVMail/QWK
(formally known as WWIVMail) is a fully .QWK (Q-Mail Packet (c)) Compatible
Off-Line Mail Door for the WWIV BBS System. It generates .QWK Mail packets
that can be read by a huge number of Public Domain/Freeware/ShareWare Mail
Readers and can accept response messages (.REP) from those readers and
incorporate those messages back into your WWIV BBS System.
I am not going to go into a long dissertation about the history
of .QWK Mail packets or about the structure thereof. Those questions
can be answered by reading the documentation in any .QWK compliant Mail
Reader. Let me just say that, as far as I know, WWIVMail/QWK is the first
.QWK Mail Door available for the WWIV BBS System. WWIVMail, in it's earlier
form, has been around for over 1 1/2 years with great success. I am proud
to be the author of this software, and will continue to support it until
I die or Wayne Bell does. (Well, maybe till I create something better!)
WWIVMail/QWK supports all standard-documented features of the
original.QWK packet system as incorporated in the Q-Mail(c) Mail System
approx 5+ years ago, as well as, the ADD/DROP Sub capability supported by
several .QWK readers. The standard support in WWIVMail/QWK includes System
Bulletins, Newsfile and an optional New Files Scan (which can be toggled
on and off by the user). This wasn't an easy task because of Wayne Bell's
WWIV(c) message base design; however, WWIVMail/QWK converts all STANDARD
WWIV messages and e-mail into standard .QWK format. (message.dat)
Personal E-mail, as well as all Public Posts, can also be uploaded
through WWIVMail/QWK in the .QWK stanadrd .REP response packet.
WWIVMail/QWK Also supports WWIV BBS Systems with Modified Userrec
vardec.h file structures by allowing you to compile your own version
with a freely distribulted .LIB created for Borland C++ 2.0/3.0/3.1.
(Full source code is available for download to registerred user's; however,
everything you need for a modified userrec structure is included in this
package).
Files in a .QWK Packet That WWIVMail/QWK Creates:
=================================================
HELLO => Openning BBS Welcome Screen
/* welcome.ans/.msg */
GOODBYE => Closing BBS Goodbye Screen
/* logoff.ans/.msg */
BBSNEWS => BBS News File
/* sysop optional/definable */
CONTROL DAT => BBS Message Subs/BBS Information Data File
/* WWIVMail/QWK generated */
DOOR ID => Information About WWIVMail/QWK
/* WWIVMail/QWK generated */
BLT-0 X => BBS Bulletins (1-10)
/* sysop optional/definable */
.
.
.
MESSAGES DAT => All Messages For User To Read
/* WWIVMail/QWK generated */
000 NDX => Message Base Index Files (000-032/000-064)
/* WWIVMail/QWK generated */
.
.
.
NEWFILES.DAT => NewFiles Since User Last Logged-On
/* WWIVMail/QWK generated. User Option */
To see how to set the Sysop Options(mentioned above), see the information
below regarding WWIVCFG.EXE.
Features (Among A Cast Of 1000's)
========
(1) Built-in Communication routines( no need to monitor dos interrupts ).
Including Built-In support for hardware flow-control and, hence,
support for comm port speeds up to 38,400.
(2) Ansi color graphics support.
(3) Easy to use interface.
(4) Use of External Transfer Protocol Engines (Such as DSZ ((c) Omen
Technology)) to maintain high quality and compatibility among file
transfers.
See below for External Protocol documentation.
(5) Monitors Carrier Detect ( recycles back to the BBS ).
(6) 2 minutes time-out between keystrokes.
(7) On-line Help.
(8) All system security is maintained( user will NOT have access to any
message subs that they don't normally have access ) or be able
to Post on Subs that they are restricted from. Also, all Sysop
validation for Posts ( Net / User restrictions ) are maintained.
Also, the New Files scan option only looks at Transfer Section Areas
that the user has access to. (ie, AGE, DAR, AR, SL and DSL are
all checked ).
(9) Local User Q-Scan Data For Maximum User Friendliness....
(10) Optional Newfiles Scan right in the DOOR!
(11) Full WWIV Multi-Net(WWIV 4.21a) support capabilities built-in.
(12) Support for both 32 and 64 Messages Areas (Auto-Detecting).
(13) Support for Modified Userrec's!
(14) Supports ANY compression programs that the BBS does(.zip,.arc,etc)...
Very helpful for non-IBM users.
(15) Translates WWIV Colors into ANSI codes if the user desires.
Registration/Compatibility/Licensing
====================================
WWIVMail/QWK and it's related files are NOT public domain or freeware.
The WWIVMail/QWK Mail Door is a copyrighted software product developed and
owned by Michael Leib.
The WWIVMail/QWK BBS executable is licensed "AS IS". Michael Leib
is NOT responsible for any damage to your system, software or your life.
There has been some concern with people who have been involved with
this project regarding compatibilty with their HEAVILY modified WWIV systems.
Although WWIVMail/QWK can ( and will ) work with modified userrec's, I have
fully tested this software with un-modified WWIV systems and have had
no difficulty. However, this doesn't mean your WWIV will behave nicely if you
have modified the way data is stored in the user's files( .dat, .sub, etc).
To get around this problem, I have no choice but to make the source code
available for you to compile with your vardec.h header file. At first I
really didn't want to do this but, in order to get everbody on the bandwagon
( as well as keep the spirit of WWIV alive), this seems the only fair
alternative..so, I have set-up the following standards:
Registration:
=============
Lifetime Use of WWIVMail/QWK Door ------------------- $20.00
Lifetime Use of WWIVMail/QWK Door Plus
Full Source Code ------------------- $30.00
(Compiles Under BC++ v2.0( or newer ) Compilers)
(Should work with TC++ 3.0( or newer ) as well.(untested)
(NOTE: If you are a registered owner of WWIVMail Source code, you
automatically receive ownership rights for WWIVMail/QWK. It will
cost you NOTHING to get the upgrade. Contact me (see below) and
I will let you know how to get the source code. Your key files
will still work with WWIVMail/QWK.)
I feel these prices are fair( in comparision to the other .QWK mail doors for
Non-WWIV BBS systems) and the current cost of the WWIV BBS source code
at 50.00..( Thanks Wayne! ) WWIVMail/QWK is almost a BBS in itself..It
has built-in Communications routines, support for the upload and download
of Public posts and E-mail, Full NET support, as well as the ability to scan
the Transfer Section for New Files.
Now, why should I register?
1) WWIVMail/QWK is not crippled in any way. I have released it on trust.
I have, however, placed a key system in the door that places a 15 second
delay banner in all UNREGISTERED door versions and flags all posts in
the tagline as [EVALUATION COPY]. Please take the time to register if
you use this door, the cost is VERY low considering the time I have put
into creating it. I will respond to your mail the day I receive it
(see below for address and contact information).
WWIVMail and WWIVMail/QWK have been out for almost 2 years. I have spent
literally hundreds of hours working on this project and adding support
(compatibility) for all of Wayne Bell's enhancements. Please support my
effort to enhance the capabilities of WWIVMail/QWK.
2) If you have modified the BBS's users files, the only way you'll get
it to run is to purchase the rights to the source code. At the end of
this file you will see a listing of the BBS files that WWIVMail/QWK uses.
You can then compile the door with your modified vardec.h/net.h files
and then WWIVMail/QWK will run correctly.
Starting with WWIVMail/QWK v4.0, I supply all the needed files to get
WWIVMail/QWK to run with a modifed userrec. However, if you have changed
ANY other structure that is in the list at the bottom of this file, you
will have to get the source. (See below for info on compiling your own
version of WWIVMail/QWK).
3) Sysop's who register always get priority regarding bug fixes and
enhancements....
4) The time I have spent in writing WWIVMail/QWK is obvious. Please support
my endeavor and push me to continue to write support programs for
WWIV. Among other programs created under my pen (actually, mouse!):
WWIVFile : v1.1 External Transfer Section File Manager.
Basically, an XTREE(c) Clone for WWIV Transfer Section
management.
Topten : v1.0 Lists the top Download Files from your BBS by section.
Master : v1.0 BBS Door for users to Download A Master File List.
Support
=======
1) Feel free to contact me via "The General" On Amber(#445@1)...
WWIV Home Board in Los Angeles, California.
Or
"Michael Leib" on Rambo-Scan (#11@8856)
2) Join the WWIVMail/QWK Support Sub on the WWIV Net.
Contact Rambo of Rambo-Scan BBS (818) 566-7912.
He will ALWAYS be runing the newest Beta of WWIVMail/QWK...
Beta copies may be picked-up (when available) to registered
WWIVMail/QWK Sysops from Rambo-Scan.
I call this board several times a week, if you post messages on
the WWIVMail/QWK sub, I will respond quickly.
Send registration (or comments) to:
Michael Leib
1740 N. Ontario St.
Burbank, Ca
91505
Comments
========
I currently support both working storage types of WWIV ver 4.2.
Storage Type 0 stores each message in seperate files with a common header
file, whereas Storage Type 2( the default and most common ) stores all
messages in one .msg file. Type 1 is not functioning in WWIV
(last time I looked into it), so, I also fail to fully support it.
The .QWK message structure is a WHOLE lot different then the
standard WWIV message base system. In order to get Messages to fit properly,
WWIVMail/QWK NEEDS to strip out all the WWIV color code sequences from
posts. Also, the time and date structure is different (written out rather
then military time standard); therefore, I have to convert those as well.
Also, it appears as though SOME .QWK readers can only support 78 characters
accross the screen and, in ANSI mode, WWIV can do the full 80. Therefore,
SOME ANSI posts may not come out correctly. There is nothing that
WWIVMail/QWK can do. This is a design limitation of the .QWK packet
structure(and SOME of the readers!). So, although you may not have modified
any BBS structures, some small MODS that display the above functions
differently then in the stock manner may cause weird characters (or say
the loss of a date field or the such) to occur. This is normal and there
is nothing to worry about.
E-Mail
======
Since E-Mail in WWIV doesn't have a Message Sub, I send all
Personal E-mail into Sub 0 in the .QWK Packet. This, in itself, doesn't
hurt anthing BUT, if your 1st Message Base cannot be read by a User
(They Don't Have Access To See It), then when they try to respond
to their e-mail, they will not be able( get some error in a .QWK
reader that the SUB doesn't exist). Therfore, I suggest that you make
your first Message SUB viewable by all. They don't have to be able to
Post on it, just read it. This has only been reported by One User, and,
there really isn't anything I can do about it. The workaround, for the
User, is to pick another SUB, then everything will work well. This is
a VERY rare problem, so, don't even worry about it but I did want to share
the information!!!
Set-Up
======
Ok, I assume that if you made it this far in the docs, I haven't
scared you away with all my talk of registration and compatibility.
1) Executable
Copy the file WWIVQWK.EXE to your main bbs dir.
(Where you keep your bbs.exe and config.dat )
WWIVMail/QWK ver 4.2 has the ability to auto-detect whether you are using
a 32 or 64 sub version of WWIV. WWIVMail/QWK ONLY supports these 2
configurations and their implementation as defined by Wayne Bell since
WWIV ver 4.12. Anything other then this will require you to register
and obtain the source from me for modification.
This is the only file you will need.( See below for information regarding
the optional wwivmail.cfg file).
2) Make sure you always maintain a couple of free megs of disk space for
the .QWK packet creation( The user will be warned if disk space gets low ).
Since all upload and download packets are placed in the directory that
you have specified as your "TEMP" directory for WWIV, this is the place
that should have plenty of space....
I allow the Sysop to override the location where the temporary packet
resides. If you wish the temporary files that WWIVMail/QWK creates to be
placed in any other location besides the BBS "TEMP" directory, you may
set an environment variable to that location. In your autoexec.bat
(or in a .bat file that starts the BBS) put:
set wwivmail=xxxxxxxxxxxxxxxxxxxxxxxxxx.....
where xxxxxxxxxxxxxxxxxxxxxxxxx represents the drive and path where the
files will be placed.
Example: set wwivmail=d:\temp\files\junk\
(trailing \ is not needed..if you leave it off, I append it.)
I find, however, that the "TEMP" directory works quite fine for
most people.
3) Start the BBS and go into //chainedit:
A. Description : WWIVMail/QWK v4.2
B. Filename : WWIVQWK.EXE
C. SL : 10
D. AR : None.
E. ANSI : Optional
*F. DOS Interrupt: NOT Used
G. 300 Baud : NOT Allowed
*H. Shrink : Yes
I. Disable pause: No
The only things you have to worry about here are these 2 options;
F. => DO NOT have the BBS monitor dos calls....this is not needed
because WWIVMail/QWK has it's own com port initialization,
reads and writes.
H. => You must have the BBS Shrink..not because my program takes alot
of memory, but this is the only way in which WWIV will update
the qscan pointers...Don't worry, WWIVMail/QWK won't run if you
don't do this( and it will warn you ).
4) Make sure you have a copy of ALL external programs in your path.
[Used to compress the packets before transfer and the transfer protocols]
WWIVMail/QWK's Use of External Protocols
====================================
You must have DSZ(c) in your path because WWIV has Xmodem and Ymodem
built-in. WWIVMail/QWK doesn't...so, I use DSZ(c) to handle those two
basic protocols. After those two, WWIVMail/QWK will use the next six
transfer protocols as you have them set-up for the BBS( WWIVMail/QWK
will use the command-lines as they are in the INIT.EXE( stored in
nextern.dat).
This allows you to be assured that WWIVMail/QWK will run ( while
transferring packets ) EXACTLY like the BBS. Any special command-lines
that you had to implement for your high-speed modem or strange
configuration will be maintained in WWIVMail/QWK!. (Nifty Huh?)
Due to the above, You will need (For Sure) a copy of Omen Technology's
DSZ(c)in your path.(it need not be registered)(Available on almost any BBS)
[Used to transfer the packet for the default xmodem and ymodem choices]
You will also need to have each compression program(.zip, .arc, etc)
that you have listed in your init.exe (config.dat) as supported on your
BBS in your path so the user can pack/extract the .QWK/.REP packets.
The user has the option of selecting a default choice of transfer
protocol and compression type. The list they choose from is DIRECTLY
made off of your configuration in the INIT.EXE(config.dat). The more
you put into the BBS, the more functionality that goes into WWIVMail/QWK.
The extent of these functions is only limited by you.
NOTE: These programs NEED to be a directory who is in your
"path=" statment in your autoexec.bat. If not( although these
programs may be in your main wwiv bbs directory) it doesn't
matter. I change directories to your TEMP area for processing,
so please have them in into your path. If not, WWIVMail/QWK will
spawn for the external protcol and will fail attempting to complete
the transfer or compress/uncompress the packet.
For your information, the %1 (com port speed) and %4 (modem speed)
are taken directly from chain.txt (see userrec.c for code) so the
external protocols will run the same as they do from within the
BBS.
5) What files does WWIVMail/QWK Create?
As your users log into the Door and start selecting subs and
defaults(tansfer protocol and compression options), a file named
wwivmail.usr will be created and placed in your wwiv main directory.
The size of this file will grow as more users begin to use the door.
Other then this file, everthing else that WWIVMail/QWK creates is
loacated in your TEMP directory location, so they get deleted after
every door session.
The name of the .QWK packet for your BBS is created using the BBS NAME
field from your INIT.EXE(config.dat). The packet name is based off of the
first eight characters, with any blanks being replaced by underscores.
The only problem I have encountered with this simple idea is one BBS that
had ">" 's in the name....this CANNOT be used to create a valid file
because it represents a standard dos redirection of output. So, a board
name of say:
Rambo Scan BBS would become=> RAMBO_SC.QWK
That's it!!!!!! (simple in comparision to other bbs chains, huh?)
5) OPTIONAL
========
WWIVMail/QWK has MANY Sysop Definable options. To set them, you need
to create a file named wwivmail.cfg and place it in the main BBS
directory (along with wwivqwk.exe).
(IF YOU ARE USING A WWIVMAIL.CFG MADE PRIOR TO THIS RELEASE(v4.2), DELETE
IT.. THE FORMAT OF THIS FILE IS DIFFERENT)
In order to create the file, you need to run WWIVCFG.EXE.
When you do, you'll see:
About Bauds Misc Exit
════════════════════════════════════════════════════════════════════════════════
▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒█ ▒▒▒▄▄▒▒▒▄ ▒▒▒▒▒▒▄ ▒▒▄ ▒▒▄
▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█▒▒█▒▒█ ▒▒█▀▒▒█ ▒▒█ ▒▒█
▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▀▀▒▒█ ▒▒▒▒▒▒█ ▒▒█ ▒▒█
▒▒█▒▒▄▒▒█ ▒▒█▒▒▄▒▒█ ▒▒█ ▒▒▒▒█▀ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█
▀▒▒▒▒█▀▀ ▀▒▒▒▒█▀▀ ▒▒█ ▒▒█▀ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒▒▒▒▒▄
▀▀▀▀ ▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀
════════════════════════════════════════════════════════════════════════════════
Select BAUDS--------------------
|
About Bauds Misc Exit
════════════════════════════════════════════════════════════════════════════════
┌Press <ESC> to exit this screen───────┐
│······························ │
│ │
│ 300: ·········· msgs per pkt │
│ │
│ 1200: ·········· msgs per pkt │ ▒▒▒▄▄▒▒▒▄ ▒▒▒▒▒▒▄ ▒▒▄ ▒▒▄
│ │ ▒▒█▒▒█▒▒█ ▒▒█▀▒▒█ ▒▒█ ▒▒█
│ 2400: ·········· msgs per pkt │ ▒▒█ ▀▀▒▒█ ▒▒▒▒▒▒█ ▒▒█ ▒▒█
│ │ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█
│ 9600: ·········· msgs per pkt │ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒▒▒▒▒▄
│ │ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀
│14400: ·········· msgs per pkt │
│ │
│19200: ·········· msgs per pkt │
│ │
│38400: ·········· msgs per pkt │
└──────────────────────────────────────┘
════════════════════════════════════════════════════════════════════════════════
Enter the City/State of this BBS
This is the first of two configuration screens. You don't have to
fill-in every option, only those that apply to your needs. I do, however,
encourage you to fill-in the first option. The City and State of your
BBS Location is used in the DOOR.ID file in the .QWK packet. This information
isn't stored in config.dat, so it would be nice if you supplied it to
WWIVMail/QWK. (EX; Burbank,Ca)
The other options represent the MAXIMUM number of messages that a user
can download at any possible baud rate. You wouldn't want a 1200 baud
user downloading 1000 messages, would you? For any bauds that you leave blank,
the user will be able to download ALL un-read mail that he/she scans for.
Select MISC--------------------------------------------
|
About Bauds Misc Exit
════════════════════════════════════════════════════════════════════════════════
┌Press <ESC> to exit this screen────────────────────────────────────────┐
│ blt1 ···························································· │
│ blt2 ···························································· │
│ blt3 ···························································· │
│ blt4 ···························································· │
│ blt5 ···························································· │
│ blt6 ···························································· │
│ blt7 ···························································· │
│ blt8 ···························································· │
│ blt9 ···························································· │▒▄
│ blt10 ···························································· │▀▀
│ News ···························································· │
└───────────────────────────────────────────────────────────────────────┘
════════════════════════════════════════════════════════════════════════════════
You can list, up to 10, text files that you would like to have
added to the packet as Bulletins for the user to read. Enter them, one
by one, on each appropriate line. You MUST specify the FULL path and
name for each file, or WWIVMail/QWK will not be able to find them.
ex: c:\wwiv\gfiles\data\news\today.txt
If the door cannot find the file, it will not be added to the .QWK packet.
When the file is added to the packet, WWIVMail/QWK renames it during
packet creation to a BLT-X.X file so .QWK readers will understand what it is.
The original file(s) will maintain their original names. (they don't change)
The same as above applies to the NEWS option.
Also, .QWK packets only support one NEWS file.
Select EXIT--------------------------------------------------------------
|
About Bauds Misc Exit
═══════════════════════════════════════════════════════════════┌─────────────┐══
│Exit/Save │
│Exit w/o Save│
└─────────────┘
▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒▄ ▒▒█ ▒▒▒▄▄▒▒▒▄ ▒▒▒▒▒▒▄ ▒▒▄ ▒▒▄
▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█▒▒█▒▒█ ▒▒█▀▒▒█ ▒▒█ ▒▒█
▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▀▀▒▒█ ▒▒▒▒▒▒█ ▒▒█ ▒▒█
▒▒█▒▒▄▒▒█ ▒▒█▒▒▄▒▒█ ▒▒█ ▒▒▒▒█▀ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█
▀▒▒▒▒█▀▀ ▀▒▒▒▒█▀▀ ▒▒█ ▒▒█▀ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒█ ▒▒▒▒▒▒▄
▀▀▀▀ ▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀
════════════════════════════════════════════════════════════════════════════════
You can either abort or save your changes.
Command-Line Options
====================
1) "wwivqwk local":
WWIVMail/QWK can be run local but you need to use a special command-line
argument. This is due to the need for carrier detect under normal
conditions...if you don't use the correct parameters, it will drop you
back to dos. Type 'wwivqwk local' and the door will go into local mode.
For Downloads: Go through the menus as you would if you were on-line!
A valid packet wil be created. Then, take a look in your
directory that is specified in your bbs configuration as
your TEMP dir. The download packet will be in that
directory.
For Uploads: Create a valid upload response packet and place that packet
in the TEMP dir (or location that you specified for packets
to be placed). Go through the door as normal, and the
packet will be detected and imported....
2) "wwivqwk nowrite":
WWIVMail/QWK reads and writes to MANY WWIV BBS data files (see below
for listing). If you aren't sure whether or not you have modified the
ways your modifed BBS writes to those files, you can try WWIVMail/QWK
with the "nowrite" option. This will cause the program to ONLY read
all files (except those which it creates). Doing this will save your
data, and you can see how the door behaves on your system. This is
basically an evaluation mode.
Uploading Messages with this option enabled will not work because
it won't do anything ( no way to save your posts ).
3) You can also use these parameters together, such as:
"wwivqwk local nowrite" or "wwivqwk nowrite local"
WWIVMail/QWK and Networked Subs
===============================
WWIVMail/QWK has full built-in support for Networked Subs. That is to
say, WWIVmail/QWK is a full extension of your BBS. If a user posts on a
Net Sub, that post WILL go out on the network. This is acomplished in
one of two ways:
1) If the sub is marked as Sysop Validate = YES, WWIVMail/QWK will place
the message in the local Sub and mark it as pending for net status.
When you, or anyone with access to validate, validates the message,
WWIV will process the post and add it to the p1.net file in your DATA
directory. When the user logs off, WWIV will run the NETWORK program(s)
on that file, and the messages will be sent out on the net.
2) If the sub is marked as Sysop Validate = NO, WWIVMail/QWK will place
the message in the local sub AND will CREATE/ADD TO the p1.net file.
As in the case above, WWIV will process the p1.net file when the user
logs off the board, and the message(s) will be sent out on the net.
I create the p1.net file EXACTLY as Wayne Bell does, so the integrity of
all net actions will be maintained.
This is also how e-mail networking is set-up. WWIVMail/QWK creates the
p0.net file, and when the user hangs up, WWIV does a clean_upnet() on
all the p*.net files. At this point, all e-mail destined for the NET
will be sent.
Here is an example on how NET E-Mail looks on the receiver's end.
I sent this personal e-mail (my config.sys), from my account on Rambo-Scan
to my account on Amber (#445@1 was how it was addressed).
This is what I got...
(1/1): Net E-mail test
Name: Michael Leib #11 @8856
Date: Thu Jun 18 06:36:15 1992
From: WWIVnet - Rambo-Scan BBS (Southern California) [818-566-7912]
Response To: #445@1
Does this get through..
shell=c:\drdos\command.com /P
DEVICE=C:\QEMM\QEMM386.SYS RAM
device=c:\qemm\loadhi.sys /r:1 c:\utils\aspi2dos.sys
files=3
hibuffers=20
fcbs=1,0
stacks=0,0
hidos=on
Michael
---
■ SLMR 2.1a ■ All hope abandon, ye who enter messages here.
WWIVMail/QWK 4.2 [REGISTERED]: RAMBO-SCAN BBS - @8856
.....And this is what I expected.
Also, after I read the mail, I was notified that it was read on Rambo-Scan
just as it was any other piece of E-Mail.
Starting with WWIVMail/QWK ver 4.2, I support the optional Multi-Net
NETWORKS.DAT file used by WWIV ver 4.21a. WWIVMail/QWK will send Net posts
and E-mail out on whichever NET is active for the Sub in question. If
NETWORKS.DAT doesn't exist(for WWIV versions before 4.21a), WWIVMail/QWK
looks for the net files (and writes the p0.net and p1.net files) in the
\DATA directory(as it is defined in INIT.EXE).
===============================================================================
Thanks go out to:
Rambo........ (Of Rambo-Scan BBS ) who allows me the time and resources
of his BBS and continues to be the main testing ground for
WWIVMail/QWK.
Foundation....(Of Dark D.) who helped me design the network support.
Crashed him out a few times too...
Alex Sandor.. My close friend who wrote WWIVCFG.EXE with no compensation
except a word of thanks. I told you .QWK packets were a pain!
Wayne Bell....what do ya want for 50 bux!
And all the people who have commented, helped in the coding, and design of
WWIVMail/QWK. Also, thanks to those authors who compiled all the information
I found in various places describing the structure/contents of the .QWK
packet.
===============================================================================
Listing Of Vardec.h/Net.h Ties
==============================
In order for WWIVMail/QWK to run correctly on your system, you must
have NOT modified any of the Files listed below. If you have a modified
bbs but have not made any changes to the vardec.h include file, then you
should be fine( And forget you ever read this! ). Otherwise, do a comparision
to the stock file (vardec.h/net.h as Wayne Bell created it) to make sure
these Files aren't stored in a different way. If they are, then you will
need to register your copy of WWIVMail/QWK and obtain the source code to
compile with your modified header files.
FILES
=====
BBSDATA.NET
CHAIN.TXT
CONFIG.DAT
DIRS.DAT
directory.filename.DIR ( all .DIR files )
EMAIL.DAT
MODEM.DAT
N*.NET
NEXTERN.DAT
NN*.NET
P0.NET
P1.NET
SMW.DAT
STATUS.DAT
SUBS.DAT
subboards.filename.DAT ( all .DAT files )
subboards.filename.SUB ( all .SUB files )
===============================================================================
What Do I Do if I have a modifed USERREC?
Although I have felt in the past that registerred user's did have userrec
support, since they legally got the source code; but, some people couldn't
evaluate the product before paying for it. In order to fix this, and give me
equal advantage with any competetors (current or future), WWIVMail/QWK can
now be compiled and linked via an object-oriented approach to match any
userrec changes that you may have made. Any changes to the BBS structure,
other then the userrec, however, will still require you to register and get
the source. I hope by adding this feature that I will have satisfied many of
your needs and will have greatly enhanced the use, compatibility and quality
of the product.
REMINDER: You ONLY need to do this procedure, with 32 or 64 subs, if you
have modifed your user.lst. If not, use the .exe included in this .zip file.
It was made EXACTLY the same way as you are going to make yours(except with
a stock vardec.h)...I used this .lib as well!
Needed Files:
=============
QWK.LIB WWIVMail/QWK LIBRARY TO LINK WITH USERREC.OBJ
QWK.BAT .BAT FILE TO COMPILE AND LINK YOUR VERSION OF WWIVQWK.EXE
USERREC.H HEADER FILE FOR USERREC.C
USERREC.C C FILE TO COMPILE WITH YOUR USERREC AND LINK WITH .LIB
1) Get your programming environment set-up.
A) Copy the qwk.lib into your .lib directory.
B) Make sure your tools are in your path (bcc v2.0 or higher and tlink).
My Tools: bcc.exe ver 2.0
tlink.exe ver 4.0
tlib.exe ver 3.01
This is what was used in the making of WWIVMail/QWK.
C) You will HAVE to modify the .bat file to set-up the paths for the
include and library directories..
ie; -Ic:\tc2\inc must be changed to match your system.
change------------------------------------|
|
bcc -wpro -wuse -DEXTENDED -c -G -ml -N -Y -Ic:\TC2\INCLUDE userrec.c
AND...
change-----------|
|
tlink /x/c/P-/Lc:\TC2\LIB c0l.obj userrec.obj, wwivqwk, wwivqwk,
emu.lib mathl.lib qwk.lib cl.lib
2) Make sure your userrec.c and userrec.h files (this file contains the ONLY
places in WWIVMail/QWK where your userrec is accessed) are accessable.
Userrec.c uses vardec.h as well as userrec.h; therefore, make sure
your current modifed vardec.h header file is either in the current
directory or in the directory you have indicated as your INCLUDE
directory. Also, do NOT change any definitions in the userrec.h header
file...because all the code in the .lib was built using those
definitions.
3) Type qwk.bat. It will attempt to compile (no link) your usserec.c
into userrec.obj using the large memory model. You should get NO errors.
There is one ANSI violation warning, but it can be ignored (main() doesn't
return a value..true!, and it shouldn't). If you get ANY more then that,
something is wrong. Try again till it compiles clean.
Notice that there is a -DEXTENDED in the bcc command-line. This needs
to be done so WWIVMail/QWK can detected whether you are using 32 or 64
Message Bases.
4) After it completes a clean compile, it will execute the second line in the
.bat file and attempt to build a wwivqwk.exe. If all your .lib files can be
found, your done. If not, you will get some unresolved external errors
during the link. Fix them (path isn't right...can't find the file...etc)
and THEN you are done. Copy the linked wwivqwk.exe to your WWIV main
directory and.....Enjoy.