home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
WILDCAT
/
DDMENU18.ZIP
/
DDMENU18.DOC
< prev
next >
Wrap
Text File
|
1994-01-23
|
6KB
|
136 lines
Beta Docs: For DoorDoor Menu System
Just what is this stuff?
This is a procedure that allows a door to call a gateway to up to
15 doors, and also keep the usage statistics for the doors in the
gateway. I will refer to these doors as doordoors from here on out.
The procedure creates its own menu for the gateway from the data
file ddmenu.dat.
The programming toolkit assumes you are using a fossil driver.
Files included in ddmenu##.zip are:
ddmenu.exe The soul of the procedure.
nuthse.cfg Sample config file (the name cannot be changed).
ddmenu.dat Sample data file for a doordoor.
ddmenu##.doc This file.
readme.com This file in a screen readable form.
one.bat Sample batch files
two.bat
three.bat
The nuthse.cfg should be as follows:
Line 1: Sysop's name
//* If the sysop's names begin with capital letter and the
rest are lower case, then the sysop's name won't appear
as the last user when the sysop enters the door. If you
want your name to appear, then Make line 1 all capital
letters. I did this because I don't like everyone knowing
if or when I tried a door. (tested with door.sys)*//
Line 2: Name of the BBS
ddmenu.dat
Each line keeps the usage data for that door,
i.e. line1 is the data for doordoor 1. and looks like
the following:
str1,str2,str3,str4,str5^
where:
str1 is the number of times that ddoor1 has been entered.
str2 is an 'a' or 'p' or '0'. If str1 is an 'a', then
the users alias will be printed as the last user. If it is a 'p',
then a name I chose will be printed, e.g. Liz Taylor. If a '0'
is there, then the real users name will be used.
str3 is last user's name.
str4 is the time of day the last user entered the door.
str5 is the description of the door.
Please note that a comma is between each str# and the line ends with
a caret (shift-6) . This is essential that each line be in this
form! See the sample ddmenu.dat file included.
Directions to make door# on your system a gateway to doors.
1- Unzip the ddmenu.zip file into a work directory.
2- Print out this file on your printer.
3- Edit nuthse.cfg and ddmenu.dat to your wants.
4- copy ddmenu.exe and the nuthse.cfg(s) into your BBS directory
e.g. c:\wc30.
5- Make a directory ddoor#, e.g. c:\wc30\doors\ddoor20 would be a
path to the directory if door20.bat is the bat file to the
gateway ddoor20.
e.g.: give the following commands
cd\wc30\doors
md ddoor20
6- Copy your ddmenu.dat file to this new directory. You can edit
this with an ascii editor.
7- Make a one.bat file to run the first ddoor program, a two.bat
to run the second doordoor program, etc. Each line
in the ddmenu.dat file should have a *.bat file included in
this directory. The bat files MUST be named as follows:
one.bat
two.bat
three.bat
four.bat
five.bat
six.bat
seven.bat
eight.bat
nine.bat
ten.bat
eleven.bat
twelve.bat
thirteen.bat
fourteen.bat
fifteen.bat
You only need as many as doors you want to run in this doordoor.
Remember 15 doors is the maximun number of doors that can be run
from Doordoor. Look into one.bat file included.
8- Edit your door#.bat file so it appears as the following
ddmenu <path to doordoor dir>
A sample door#.bat file would be:
ddmenu c:\wc30\doors\ddoor20
It is essential that the above line be in the door#.bat file
before any change in directories, i.e. the ddmenu.exe
file must find your drop file first. If your door#.bat
file doesn't open up in a directory where your drop file
is, then first change to this directory.
e.g.
c:
cd\BBS\...\node1
ddmenu c:\...\ddoor20
9- Fire up your BBS and try it, but first say a prayer and if it
doesn't work, you shouldn't get mad at me.
This utility was compiled using Borland's 3.1 C++ compiler and Brian
Pirie's Opendoor door kit (which requires a fossil driver, e.g.
X00 or BNU, be installed).
These docs were written for a Wildcat BBS, as that is all
that I know. I think this system will fly on many BBSs, I don't know.
Also, it has not been tried out on a multi-node BBS, but I hope it
will run alright there also.
This will say the procedure is registered to line 2 of the nuthse.cfg
file. If you like this program, and want your name to be included
as a donor in the next docs, you may send me a tax deductible
check made out to:
Lock Haven University / Woodward Scholarship
in the amount you desire, and send to:
Jim Woodward
556 W. Main St.
Lock Haven, PA 17745-1109
This money will assist a future teacher spend a semester studying
abroad. I strongly believe that our teachers must understand other
cultures.
Any other comments, good, bad, or indifferent are welcome, just
send to the above address.