home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / 1 / romdoor.doc < prev    next >
Text File  |  1991-02-11  |  11KB  |  275 lines

  1.  
  2.                        * CD ROM LOCAL/REMOTE DOOR *
  3.                         Helix Software Foundation
  4.                            James H. Snowden
  5.                            FidoNet 1:325/123
  6.                            BBS: 802-899-4988
  7.  
  8.  
  9. * What it is *
  10.  
  11.    This program allows the user to search, unpack specified groups of files,
  12.    typically on a CD-ROM.  It handles global and group searching for 
  13.    keywords.  ANSI and ASCII modes are supported.  Both remote and
  14.    local use is supported.  Remote use is intended for sysops who
  15.    want to let users access a CD-ROM they own.
  16.  
  17.    ANSI/ASCII Support
  18.  
  19.    The door is told whether a user wants ANSI via the command line
  20.    switch -A<n>.  If <n> is 1, all system text files that are 
  21.    displayed (help files, intro, etc) a .ANS extension will be
  22.    searched for first.  If a .ANS file is not found then the door
  23.    will look for a .ASC file and display it.  If the user does not
  24.    have ANSI, .ASC files will always be displayed.
  25.    
  26.    Transfering Files
  27.  
  28.    The main impetus for writing this door was due to the fact that
  29.    I did not want to add umpteen-million groups of files to my BBS 
  30.    but still wanted to use the BBS download capabilities, download
  31.    ratio checking, security, etc.
  32.  
  33.    The solution was to have the user choose what files he/she wants
  34.    off of the CD-ROM, and have them transferred into ONE or more CD-ROM
  35.    Transfer areas in the BBS for later downloading.  This adds one step
  36.    for the user to get CD-ROM files, but the users on my board seem
  37.    to like the doors... though nothing is ever perfect, and I am
  38.    always looking for ways to improve the door.
  39.  
  40.    Flexibility
  41.  
  42.    This program allows for people to use pre-created modules to
  43.    access CD-ROMS and create their own.  Creating a new module is as
  44.    simple as creating a few text files... no programming involved.
  45.    It also allows one to access and search multiple CD-ROM's...
  46.    It is simple as creating combined lists for files and organizing
  47.    them... see Installation below for more details.
  48.  
  49.    Local/Remote Use
  50.  
  51.    The program acts a little differently for local and remote use.
  52.    For local use, there is an added option, unpack cd file to a 
  53.    specified path.  The transfer option is also slightly different
  54.    for local use, a path is entered where remote users have no
  55.    choice, it is specified in the config file instead for BBS 
  56.    security.
  57.  
  58.    It also watches remote users time, gives a warning at five minutes and 
  59.    bumps him/her back into the BBS a two minutes.
  60.  
  61.  
  62. * Installation *
  63.  
  64.    There is one big factor that will determine how this thing is installed.
  65.    ROMDOOR was developed to allow people to create a "front end" to
  66.    search thru and extract files on a shareware type CD-ROM.  The factor
  67.    is whether you are creating a new CD door... or you are using one
  68.    someone else has already created.  I call each set of these CD-ROM specific
  69.    data files a "module".  If you have a module for the CD you want to access,
  70.    there should be virtually no installation or messing with the config
  71.    files unless you want to change how it was done.
  72.    
  73.    - Make sure ansi.sys or equivalent is in the config.sys file, for local
  74.      use.
  75.  
  76.    Quick Install for those using a precreated module
  77.  
  78.      o  Make a directory for the door
  79.      o  Uncompress the files of the module into that directory
  80.      o  Uncompress the files of romdoor into that directory
  81.  
  82.    Creating a new module
  83.  
  84.      o  Make a subdirectory for the door
  85.      o  Create description file for each area (should be supplied with CD)
  86.      o  Create database file list for romcopy (see romcopy.doc)
  87.      o  Create catalog file
  88.      o  Create config file  
  89.      o  Create/Modify other ansi/ascii support files
  90.      o  Create the batch file that BBS will invoke to start the door
  91.         (see Things NOT covered by the Door below)
  92.      o  Create a batch file for you (and possibly others) to run
  93.         locally
  94.  
  95.      Please, if you create a decent module, upload it to my BBS so I
  96.      can make it availible FREQable for all...
  97.  
  98.    Catalog File
  99.  
  100.    The catalog file is simply a list of the different file areas
  101.    availible.  Give it any format you like, as long as the areas
  102.    are labeled 1-whatever and are in the same order as the config
  103.    file AREA commands (see AREA below).  The system supports
  104.    ANSI/ASCII versions of the file, and the filename is specified
  105.    in the config file by the CATALOG statement.
  106.  
  107.  
  108.    Config File (Default of ANSIDOOR.CFG)
  109.  
  110.    The configuration file contains setup info which differs from 
  111.    one BBS to the next.  The following items are need to be in the
  112.    config file:
  113.  
  114.       XFER_DEST D:\RA\CARRS
  115.       XFER_DESC D:\RA\CARRS\FILES.BBS
  116.       BBS_NAME "The Data Dungeon!"
  117.       AREA f:\001A\001.cat  Communications
  118.       AREA 002.cat  Games
  119.       DECOMP_COMMAND "pkunzip -d "
  120.       CATALOG catalog
  121.       INTRO carrs
  122.       DEF_EXT .zip
  123.       CDROM_NAME "CARRS Bonanza"
  124.  
  125.    An explanation of each follows:
  126.  
  127.    XFER_DEST:   For Remote mode, this is the directory where users will
  128.                 transfer files from the CD to.
  129.  
  130.    XFER_DESC:   This is the file description list for the transfer directory.
  131.  
  132.    AREA:        This allocates a new area for the CD.  The first parm is the
  133.                 path to the description list for that area, and the
  134.                 rest of the line is the name of the area.  There should
  135.                 be one of these statements for every file area you want to
  136.                 have.  
  137.  
  138.                 *** TIP:  You don't have to use the file "areas" that are
  139.                   on the CD.  If you don't like how things are arranged
  140.                   on the CD, split up the description files how you
  141.                   would like to see it done.  There are no ties to the
  142.                   different areas, since ROMCOPY does not need to know where
  143.                   the file to be transferred is coming from.  For example,
  144.                   if there are a bunch of BASIC game descriptions in the
  145.                   Games directory of your cd rom, you could make a new area
  146.                   called BASIC games, and split the games file directory 
  147.                   into two description files on your hard drive.  
  148.  
  149.  
  150.    DECOMP_COMMAND:  The command to decompress a file.  The example given
  151.                     is pkzip, but you will want to use whatever is appropriate
  152.                     for that CD.
  153.  
  154.  
  155.    CATALOG:     The name of the catalog file.  If no extension is given, the
  156.                 door will look for <name>.ans if the person has ANSI,
  157.                 and then <name>.asc.  This is displayed when the user
  158.                 needs/wants to change file areas.
  159.  
  160.    INTRO:       The name of the intro file.  If no extension is given, the
  161.                 door will look for <name>.ans if the person has ANSI,
  162.                 and then <name>.asc.  This file is displayed when the door
  163.                 is first called.
  164.  
  165.    CDROM_NAME:  Yep, you guessed it.  Surround the name in quotes.
  166.    BBS_NAME:    Yep, you guessed it.  Surround the name in quotes.
  167.  
  168.  
  169.    Comment lines are allowed in the config file and are identified
  170.    with a semicolon in the first column.
  171.  
  172.  
  173. * Command Line Switches *
  174.  
  175.    -A<n>   where <n> is 0 for ASCII mode and 1 for ANSI mode
  176.    -N<n>   where <n> is the users first name
  177.    -T<n>   where <n> is the amount of time left on system
  178.    -R<n>   where <n> is 0 for LOCAL (default) mode and 1 for REMOTE mode
  179.    -C<n>   where <n> is the name of the config file to use, if none is
  180.                         specified, ANSIDOOR.CFG is used as a default.
  181.  
  182. * TEXT Support Files *
  183.  
  184.     HELP.ANS/ASC  This file is displayed when the user asks for help from
  185.                   the main menu.
  186.  
  187. FILESAVE.ANS/ASC  Displayed when user has transferred a file to the
  188.                   BBS for later download in the current door session.
  189.  
  190.  
  191. * Things NOT covered by the Door *
  192.  
  193.   CD Watchdogging...  Most want their system to recover from a
  194.    user hanging up, and this simply reboots the BBS if the carrier detect
  195.    signal from the modem desists.  I did not write it in to the door
  196.    due to the fact that today's FOSSIL's usally have it built in.  I
  197.    am trying BNU at the moment, and it has worked flawlessly.
  198.  
  199.   Output/Input...  Video output and keyboard input is done through the 
  200.    standard channels.  This works nicely for running it locally, but
  201.    when you want to allow a remote user to run it, all input/output
  202.    needs to be routed though the com port...  there are two ways
  203.    to do this.  The first way is to use the CTTY COM1 directive
  204.    before the execution of the door, and the CTTY CON after the
  205.    door executes.  I use a device driver called GATEWAY that allows
  206.    for simultaneous input/output locally AND through the COM port. 
  207.    Therefore, my batch file that starts the door looks like this:
  208.  
  209.        @echo off
  210.        break off
  211.        bnu /W=0+                          ; Turn Watchdogging ON
  212.        ctty gate1                         ; Redirect input/output
  213.        d:
  214.        cd \ra\rbbsbox                     ; Switch to the doors directory
  215.        romdoor -C %1 %2 %3 %4 %5 %6          ; Start the DOOR
  216.        ctty con                           ; Redirect input/output back
  217.        bnu /W=0-                          ; Turn Watchdogging OFF
  218.        cd \ra                             ; Switch back to the BBS dir
  219.  
  220.  
  221. * Future Enhancements *
  222.  
  223.   There are a TON of things I would like to add to this thing, but like
  224.   all projects, if I can't get the funding through my users,  I can't
  225.   justify putting much into the project, so please register!  Enhancements
  226.   I would like to see in this thing include:
  227.  
  228.     o   Chat while in remote mode
  229.     o   Direct downloading from within door
  230.     o   Transfer times for files
  231.  
  232.   If you think of something, let me know!
  233.  
  234.  
  235. * Registering *
  236.  
  237. Single site registration...
  238.  
  239.   You can use this door to drive a 100 CD's, as long as it is on one
  240.   machine.  Please register one copy per machine @ 15$ a copy.
  241.  
  242.   Registering provides me with a good reason to work on the project, and
  243.   provides you with the following:
  244.  
  245.    o   The latest version of ROMDOOR
  246.    o   No pause at the beginning of each run
  247.    o   One FREE update
  248.    o   A list of FREQable modules for ROMDOOR from the HSF BBS
  249.    o   A catalog of HSF products
  250.    o   Better karma, peace of mind??
  251.  
  252. CD ROM Producers...
  253.  
  254.   Please contact me!  I am ALWAYS willing to make a deal with people
  255.   creating the latest in CD technologies.
  256.  
  257.  
  258. * License Information *
  259.  
  260.     There is no warranty, written or implied.  Helix Software
  261.  Foundataion is not responsible for any damage in the use or misuse
  262.  of this software and is distributed in an AS-IS state.  This does
  263.  NOT mean that I am uninterested in the enhancements you would like
  264.  to see,  please send them to me via FidoNet or via US Mail...
  265.  
  266.  James Snowden
  267.  PO Box 693
  268.  Essex Junction, VT 05453
  269.  
  270.  The Data Dungeon! BBS
  271.  1:325/123
  272.  1.5 Gigabytes of files online
  273.  1-802-899-5088
  274.  14.4 HST/V32
  275.