home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / DOOR / DDMEN271.ZIP / DDMEN271.DOC next >
Text File  |  1995-01-17  |  7KB  |  178 lines

  1. Docs:  For DoorDoor 2.71 Menu System
  2.  
  3. Just what is this stuff?
  4.      This is a procedure that allows a door to call a gateway to up to
  5.      19 doors, and also keep the usage statistics for the doors in the
  6.      gateway. I will refer to these doors as doordoors from here on out.
  7.      The procedure creates its own menu for the gateway from the data
  8.      file ddmenu.dat. DDmenu can call itself, thus allowing one door
  9.      to open to possible 361 doors.
  10.  
  11. The program assumes you are using a fossil driver.
  12.  
  13. Files included in ddmenu##.zip are:
  14. ddmenu.exe          The doordoor execution file.
  15. ddmenu.cfg          Configuration File  (example)
  16. nutedit.exe         The data editor.
  17. ddmenu##.doc        This file.
  18. readme.com          This file in a screen readable form.
  19. upgrade.doc         What do do if you already have a doordoor system.
  20. door.sys            Sample door.sys file.
  21. one.bat             Sample batch files.
  22. two.bat                      "
  23. three.bat                    "
  24.  
  25. The ddmenu.cfg should be as follows:
  26.      Line 1:   Registration name
  27.      Line 2:   Sysop's name. If you want this name to not appear
  28.                on the screen updates, enter it so each word begins
  29.                with a capital letter and the other letters lower
  30.                case.
  31.      example line 2:
  32.      Jim Woodward -> would cause Jim Woodward to not appear
  33.      Jim WoodwarD -> would cause Jim Woodward to appear on screen update.
  34.      Line 3:   fast, medium, slow, or none. Choose one of these.
  35.           This is the speed of the fuzzy dot.
  36.      Line 4:   choose '1' , '2' or '3'
  37.           This gives a small color choice.
  38.  
  39.      This file must be located in the c:\ (root) directory, or
  40.      the registration name will be the sysop's name.
  41.  
  42. ddmenu.dat     (created and/or edited with nutedit.exe)
  43.      Each line keeps the usage data for that door,
  44.           i.e. line1 is the data for doordoor 1. and looks like
  45.           the following:
  46.           str1,str2,str3,str4,str5^
  47.      where:
  48.      str1 is the number of times that ddoor1 has been entered.
  49.      str2 is an 'a' or 'p' or 'r'. If str1 is an 'a', then
  50.           the users alias will be printed as the last user. If it is a 'p',
  51.           then a name I chose will be printed, e.g. Liz Taylor. If an 'r'
  52.           is there, then the real users name will be used.
  53.      str3 is last user's name.
  54.      str4 is the time of day the last user entered the door.
  55.      str5 is the description of the door.
  56.      Please note that a comma is between each str# and the line ends with
  57.           a caret (shift-6) . This is essential that each line be in this
  58.           form! See the sample ddmenu.dat file included.
  59.  
  60. Directions to make door# on your system a gateway to doors.
  61.  
  62.      1-   Unzip the ddmenu.zip file into a work directory.
  63.      2-   Edit ddmenu.dat and ddmenu.cfg to your wants, then copy
  64.           ddmenu.cfg to c:\ , i.e. enter the command:
  65.           copy   ddmenu.cfg   c:\
  66.           after you have edited it.
  67. New Feature!!: If you put a ddmenu.cfg in the directory where ddmenu.dat
  68.           is, it will override the ddmenu.cfg in the c:\ directory.
  69.           This feature allows you to have a new config file for
  70.           each doordoor, but remember this is an added feature, so please
  71.           still put the 4-line ddmenu.cfg file in your c:\ directory.
  72.      3-   Test the system by entering the command:
  73.  
  74.           'nutedit ddmenu.dat'
  75.  
  76.           and then exit the nutedit program. It will create a ddmenu.dat
  77.           file with one door. Now enter the command:
  78.  
  79.           'ddmenu .'
  80.  
  81.           The . in the above command tells ddmenu.exe to look for door.sys
  82.           in the present directory. Hit the '1' key several times to
  83.           try out this system. If you like what you see, then continue.
  84.      4-   copy ddmenu.exe and nutedit.exe into your BBS directory,
  85.           e.g.  c:\wildcat.   (or maybe c:\max)
  86.      5-   Make a directory ddoor#, e.g. c:\wildcat\ddoor10 would be a
  87.           path to the directory if door10.bat is the bat file to the
  88.           gateway ddoor10.
  89.                e.g.:  give the following commands
  90.                     cd\wildcat
  91.                     md ddoor10
  92.  
  93.      6-   Change to this directory and enter the command
  94.  
  95.           'nutedit  ddmenu.dat'
  96.  
  97.           and make the ddmenu.dat file as you want it.
  98.      7-   Make a one.bat file to run the first ddoor program, a two.bat
  99.           to run the second doordoor program, etc. Each line
  100.           in the ddmenu.dat file should have a *.bat file included in
  101.           this directory. The bat files MUST be named as follows:
  102.                one.bat
  103.                two.bat
  104.                three.bat
  105.                four.bat
  106.                five.bat
  107.                six.bat
  108.                seven.bat
  109.                eight.bat
  110.                nine.bat
  111.                ten.bat
  112.                eleven.bat
  113.                twelve.bat
  114.                thirteen.bat
  115.                fourteen.bat
  116.                fifteen.bat
  117.                sixteen.bat
  118.                sevnteen.bat
  119.                ateteen.bat
  120.                nineteen.bat
  121.                NO More possible, and they must be spelled as above!!
  122.  
  123.           Remember 19 doors is the maximum number of doors that can be run
  124.           from Doordoor. Look into one.bat file included.
  125.  
  126.      8-   Edit your door#.bat file so it appears as the following
  127.                ddmenu <path to doordoor dir>
  128.  
  129.           A sample door#.bat file would be:
  130.  
  131.                ddmenu c:\wildcat\ddoor20
  132.  
  133.                Note: Wildcat opens up in a directory where door.sys is
  134.                found. If your drop file isn't in the directory where
  135.                your bat file opens, then you must first either change
  136.                to that dir or copy your drop file to where you are. To
  137.                test, you can make a sample bat file as follows:
  138.  
  139.                dir
  140.                pause
  141.  
  142.                When you run this, it will show you where you are and if
  143.                your drop file is there.
  144.  
  145.  
  146.      9-   Fire up your BBS and try it, but first say a prayer and if it
  147.           doesn't work, you shouldn't get mad at me.
  148.  
  149.      This utility was compiled using Borland's 3.1 C++ compiler and Brian
  150.           Pirie's Opendoor door kit (which requires a fossil driver, e.g.
  151.           X00 or BNU, be installed).
  152.  
  153.      These docs were written for  a Wildcat BBS. I do know that it works
  154.      in Renegade and Maximus, as well as Wildcat3.x and Wildcat4.x.
  155.  
  156.      Sometimes, when I row too far into Lake Genesee, I forget to mention
  157.      somethings, sorry. If there is a file: ddmenu.bl4, then this
  158.      is a ddmenu.exe compiled with Borland C/C++ 4.0 . If for some
  159.      reason ddmenu.exe doesn't work, copy ddmenu.bl4 into ddmenu.exe
  160.      and try it.
  161.  
  162.  
  163.           Jim Woodward
  164.           556 W. Main St.
  165.           Lock Haven, PA 17745-1109
  166.  
  167.  
  168.      Any comments, good, bad, or indifferent are welcome, just
  169.      send them to the above address.
  170.  
  171.      Maximus BBS
  172.           Woody's NutHouse
  173.           717-748-5728 (Supra 28.8 V.FAST)
  174.  
  175.      Maximus 2.02 BBS
  176.           Woody's NutHouse II (ZyXEL 1496E+ V.32BIS)
  177.           717-748-1834
  178.