home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
mread91
/
mreadeng.doc
next >
Wrap
Text File
|
1993-01-23
|
4KB
|
108 lines
----{ ENGLISH }---------------------------------------------------------------
IS NOT MY NATIVE LANGUAGE, SO PLEASE EXCUSE ME FOR MY BAD VERSION OF IT..
----{ MREaDER Manual (watdoesitdo?) }-----------------------------------------
A QBBS/LED/BINKLEY compatibel message extractor.
Converts specified letter into a file.
----{ About the commandline. }-----------------------------------------------
String terminator is defalut space.
Strings may be terminated with ",',$,|,* or / to allow spaces in
strings.
----{ The commandline }------------------------------------------------------
cmd | Description |Type
------|-------------------------------------------------------|--------
-M| Message filename without ext. (.MSG .HDR) |Number
-P| Path to letters. |String
-V| Verbose. Debug info on screen. |Flag
-I| Message index pointing at the message to extract. |Number
-T| Write message body to output file. |Flag
-H| Write message header to output file. |Flag
-S| Strippe version of message header. |Flag
-A| Use AREAS.BBS file. Uses the path and msessagebase nr |String
| from the file instead of the -P & -M. (Takes time!) |
-R| Use string as quote string.. (ex: MB> ) |String
filnamn| Output filename. |String
----{ Syntax }-----------------------------------------------------------------
If AREAS.BBS is present in the directory specified with the environment variable
$BINKLEY or $MAILER
-A -Nareaname -I outfile {-T} {-V} {-H} {-S} {-Rstr}
If not:
-Mfilename -Ppath {-Nareaname} -I {-V} {-T} {-H} {-S} {-Rstr}
----{ Errorlevels }------------------------------------------------------------
Vaule Bit Error Probably error.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 0 Wrong msgsbase number. -N not used without -A.
2 1
4 2
8 3
16 4
32 5 General error. :-/ Who Knowns.
64 6 Msgs path error. -P not used without -A.
Path in AREAS.BBS is wrong.
128 7
256 8
512 9
1024 10
2048 12 Index error. -Inr to high of less then 0.
4096 13 Msgs base file error. -Nnr name does not exist.
Wrong path specified whith -P
or in AREAS.BBS depending of
-A is set or not.
8192 14 Areas.bbs file error. No or wrong path specified
with $BINKLEY or $MAILER.
Does AREAS.BBS exist?
----{ Examples }---------------------------------------------------------------
Ex1 Read message 10 in area base called MAIL and write to the file TMP.TMP
mreader -a -v -t -h -nMail -i10 TMP.TMP
Ex2 How many messages is in the area? Show on screen.
mreader -a -s -nmail -i1 CON:
CON: with CAPITALS.
Ex4 Read message number 10 in the area related to filename 0198 and write
it to TMP.TMP
The areaname is fetched from the AREAS.BBS file.
mreader -i10 TMP.TMP -m0198 -A
Ex5 Write a stripped header to the file HEADER.DAT and write the message
body to TEXT.TXT where all lines are quoted with "Re: ".
Area number 0198.
You must execute mreader tvice to do this.
mreader -a -s -m0198 HEADER.DAT
mreader -a -t -m0198 -r'Re: ' TEXT.TXT
In the future this will probably be done with.
mreader -a -sHEADER.DAT -m0198 -r'Re: ' -tTEXT.TXT
Ex6 If you cares about execution time, avoid use of AREAS.BBS file.
Ex5 without the use of AREAS.BBS
mreader -p\QBBS\MSGS\ -n0198 -i10 -t -h -v TMP.TMP
Ex7 You may name any area to any name by specifying the -N without the
use of -A
Ex6 whith the message base name faked to Private secrets.
mreader -p\QBBS\MSGS\ -n0198 -m'Privata hemlisar' -i10 -t -h -v TMP.TMP
----{ Known bugs etc. }--------------------------------------------------------
Areaname may not be taller then 50 chars..
There is a "," in the stripped header at the attr line.
Creates truble if you reads it with BASICs INPUT. Use LINE INPUT.
Slow AREAS.BBS reading.. Not much to do.. Sorry..
To speed it up, remove lines starting with "-".
General slow.. Well.. Maybe a rewrite in C... (ARG..)
-----{ END }------------------------------------------------------------------