home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
mwrite07
/
mwriter.doc
next >
Wrap
Text File
|
1993-01-23
|
7KB
|
227 lines
MWRiTER v.7 © 1992 Martin Budsjö
The manual.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Intro.
A bird? A plane? No, it's MessageWRiTER
MWRiTER is a standalone, external, batchdriven, nonuserfriendly message
poster. It reads a file and adds it to any QBBS compatibel message area.
The input file does not need special editing before posting, the cmd line
needs though. :-)
Why?
I allways wanted to make some type of automatic message poster to mail
comments to my users. This program makes it possible to easily write
other programms that just creates the messages and then uses MWRiTER
to mail them! Nice eh?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config file finding.
The MWRiTER.CFG file must be located in the ~ (curr dir) or ~/CONF or $QBBS
or $QBBS\CONF folder. ( $ stand for environment variabel.)
WARNING: If there is files both in $QBBS folder an
in ~ the later will be used.
o Configuration reading is preformed accumulative in
the folowing order:
1st $QBBS\MWRiTER.CFG
2nd $QBBS\CONF\MWRiTER.CFG
3rd Commandline.
o If the $QBBS is not set, $QBBS will be ~.
o AREAS.BBS file is scanned if the $MAILER or $BINKLEY is set
and AREAS.BBS if found.
o Writing an entrie in the MWRiTER.CFG file works as a default
value. It may be overwritten by the same entrie on the
commandline.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Configfile _&_ commandline entries.
Rules.
o AB=ab Eentries may be in upper or lower case letters.
o 12 21 Entries in any order.
o Configuration info may be in MWRiTER.CFG or in the cmd line.
o All entries MUST be defined. Exclude -Vy -Rnr -Anr entries.
o " " All _entries_ is ended with " " (space)
o REM _NO_ remarks, only entries in MWRiTER.CFG file.
o str Strings is " " (space) ended OR is surrounded with ", ', /, $, ! signs.
ex valid strings: "Martin Budsjo"
/Martin "SYSOP" Budsjo/
ex nonvalid strs: Martin Budsjo (is 2 strings)
o nr Numbers is any number.
Different entries have different max/min values.
o The {} signs surrounds optional entries.
Entries.
Address information.
Entry Name Description
-OZnr OrginZoneNumber Your Mailers ZONE number
-ONnr OrginNet.. - - | | - - NET number
-OOnr OrginnOde.. - - | | - - NODE ...
-OPnr OrginPoint.. - - | | - - POINT ...
-DZnr DestZone.. Well,you'll figure the rest out.
-DNnr ...
-DOnr ....
-DPnr
Ex: 2:203/109.1 makes: -OZ2 -ON203 -OO109 -OP1
To,From,Subject info
Entry Name Description
-Fstr FROM Mail is from...
-Tstr TO Mail is to..
-Sstr Subject Mail is about.
{-Astr,str,...} Attributes Mail have attributes as...
attr. Local Message entered localy (default)
Private Private message.
Sent Message is sent.
Deleted Message is marked for deletion.
Crash Message should be CRASH mailed.
Recvd Message is recived by the "to" user.
File Message have a file attached.
Fwd Message is forwarded.
Unknown Message have a unkown destination.
K/S Message is to be killed when sent.
Hold Message to be held for pickup.
ex: To post a letter to "User Rookie" from "MWRiTER" about
"This is great".
-FMWRiTER -T'User Rookie' -S"This is great"
Other entries:
Entry Name Description
-Mnr Msgs base The number of the messagebase
to use.
-Nstring Msgs basename The name listed in areas.bbs file
for the area to write msgs in.
This keyword have priority over
the -M keyword. This keyword forces
the use of path from the AREAS.BBS
file instead of the -P keyword.
-Pstring Msgs.Path Path to all the *.MSG & *.HDR
files. (if -N is not used...)
{-Vyes} Verbose mode Writes a sickening amount of data
on screen when executing.
Includes a binary print of the
errorlevel.
(yes i know, it's stupid to
have options on toggels....)
{-Rnr} Relpy nr Message is a reply to msgs nr.
filename Inputfile File to be posted.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Syntax.
For use with the AREAS.BBS file:
MWRiTER -OZnr -ONnr -OOnr -OPnr -DZnr -DNnr -DOnr -DPnr
-Tstr -Fstr {-Astr} -Sstr -Nstr {-Rnr} {-Vyes} filename
Without the AREAS.BBS file:
MWRiTER -OZnr -ONnr -OOnr -OPnr -DZnr -DNnr -DOnr -DPnr
-Tstr -Fstr {-Astr} -Sstr -Mnr -Pstr {-Rnr} {-Vyes} filename
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Errorlevels.
Error sheet Bit Error
0 Non-valid msg base number. (not number,or zero)
1 Unkown attr. flag.
2 No infile defined, or infile not found.
3 Orgin address not properly defined.
4 Destination --------- | | ---------
5 Undefined error.
6 MSGS path not defined
7 TO --- | | ---
8 FROM --- | | ---
9 SUBJECT --- | | ---
10-15 Not used.
Errorlevel 0 stand for OK, others NOT OK.
If errors is detected and MWRiTER exit whit errorlevel > 0
The message base is not opend or changed in any way if MWRiTER
finds any errors.
Errorlevels below 0 means something realy went wrong.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Disclaimer:
If any data own by you is harmed or in any other way
corrupted as a result of this software,
> > > > > > > i will take NO respoibility for anything. < < < < < <
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bugg reports.
Send it all to;
Fidonet: Martin Budsjo 2:203/109.1
NeST: Martin Budsjo 90:1101/107.0
FujiNet: Martin Budsjo 7:104/0.0
InterNet: marbud@u14001.skm14.svskt.se
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~ Exampel config follows ~~~~~~~~~~~~~~~~~~~~~~~~
-OZ2
-ON203
-OO109
-OP1
-DZ0
-DN0
-DO0
-DP0
-M100
-Pe:\qbbs\msgs\
-VYes
-FMWRiTER
~~~~~~~~~~~~~~~~~~~~~~~~~ End of exampel config ~~~~~~~~~~~~~~~~~~~~~~~~
This config forces you to put the -Tstr -Sstr in the cmdline at least.
It puts all messages in area nr 100.
All letter comes from 2:203/109.1 (hey! that's,me!)
And they are all going to 0:0/0.0 (nowhere.. (Local) )
Messagebase is in the folder e:\qbbs\msgs\. (*.MSG & *.HDR files)
Verbose mode is on.
Default from string is MWRiTER
Remember! all entries in MWRiTER.CFG file is just defaults.
There is only one entrie that propably not may be defined in the .CFG
file. The filename. ^^^^^^^^ (never tested.)
Have fun!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Known Bugs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The -A entrie only sets the mail attribute. Mwriter does not support
attached files or any other strange things.
Mwriter is only tested with my setup to this date, but it should work just
fine in any QBBS/BINKLEY compatibel environment.
Mwriter is written with GFAbasic vers < 4.0, it's probably not NICE to MiNT
or MTOS etc etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuggReports & Cash ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Budsjö Sysop Look - NoHands BBS 2:203/109.1 @ fidonet.org
marbud@u14001.skm14.svskt.se
90:1101/107.0 @ nest.ftn
7:104/0.0 @ FujiNet.ftn
<EOM