 Sterling Service Doors:
 -----------------------




Sterling Service doors are 90% compatible with Paragon's doors,
as of Paragon version 2.0. Many Paragon doors can be used as-is.
The differences between Sterling & Paragon doors are:


        - 1 - Door Command #7: No command stacking. Identical
              to Door Command #6.
              
        - 2 - Door Command #11 always returns file not found, as
              this sort of wild-card file search isn't supported.
              
        - 3 - Door Command #12 writes a new message. Does not
              "edit" a previously saved message
              
        - 4 - Door Command #13: The following values aren't
              used in Sterling, and so return dummy values:
                   Net Credits. 
              Also note that the value returned by the 
              User's access level is the COLOR-KEY byte, the
              User High security flags. THIS IS NOT THE SAME
              AS THE VALUE USED BY PARAGON!
              
              
        - 5 - Door Command #14: The following strings aren't
              used in Sterling, and so return dummy values:
                   user's address, user's zipcode
                   
        - 6 - Door Command #15: due to the incompatability
              of Sterling's user access level with paragon,
              this command (change user access level) is
              ignored.
              
        - 7 - Door Command #16: Changes to the strings dummied
              in Door Command #14 are, of course, ignored.
              Also ignored are changes to Door path, BBS path,
              the date and the time. The first two are
              ignored because I'm basically a very paranoid
              individual!
              All strings are truncated to fit into Sterling's
              variable space.
              
        - 8 - Door Command #19 applies the current user's Menu Set
              (1 thru 4) as the "graphic mode" value, and the
              proper suffix is added to the filename string before
              being printed to the user.

              Graphics are visible ONLY on line. The local BBS
              screen is text-only.


        - 9 - Again, I am paranoid. Should a SINGLE door fail to
              communicate with the board (it's Parent Process) in
              8 minutes, the board will resume operation, and
              ALL doors will be turned-off. This is because a
              malfunctioning door will not be removed from memory.
              BE CAREFUL TESTING NEW DOORS!



SETTING UP DOORS:

        Sterling uses the logical volume name of "DOORS:" for the
location of all door programs and files. You must assign this
volume name before using any of the doors.

You must place a TEXT FILE into your "BBS:" logical directory called
"doors.dat" This file must contain the following:

        First Line............   The total number of doors
        Second Line...........   Name of the first door
        Third Line............   Access Level (BINARY COLOR LOCK FLAGS)
        Fourth Line...........   Path to & filename of door
        
        Fifth Line............   Name of second door (if any)
        Sixth Line............   Access level of second door
        Seventh Line..........   Path/filename of second door

        etc.

The access level is the most significant difference.
This is a BINARY DIGIT representation of the User High security
flag byte. This controls access to the door. 
THIS IS A COLOR LOCK! To enter the door, a user must have at least
ONE (1) of the matching color keys. If the door has NO access
flags set (this value is zero), then everyone can enter.


Color Keys: Red, Orange, Yellow, Green, Blue, and Purple.

UserLevel = The Bits in the user's color card access (Level 2 )
                        
   Bit 0   =   RELOGFLAG       can re-log on without signoff
   Bit 1   =   NEWSMAN         can write a bulletin
   Bit 2   =   ACCESS_PURPLE
   Bit 3   =   ACCESS_BLUE 
   Bit 4   =   ACCESS_GREEN 
   Bit 5   =   ACCESS_YELLOW
   Bit 6   =   ACCESS_ORANGE
   Bit 7   =   ACCESS_RED
 
eg: the third line might read:

01001101
                       


The maximum number of doors supported in Sterling is 16.

