home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / UTILITY / LOCKER14.ARJ / LOCKER.DOC < prev    next >
Text File  |  1990-12-17  |  9KB  |  331 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                                    LOCKER
  33.                                 Version 1.4
  34.  
  35.                    Copyright (c) 1990 By Mark D. Goodwin
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.      In order to get the  most out of a high speed modem,  most sysops
  74.      lock their  serial ports at  either 19,200 or 38,400  baud.  This
  75.      allows for maximum data transfer rates with HST 14,400 baud, MNP,
  76.      and  V.42  connections.   Unfortunately,  most older  doors can't
  77.      handle locked serial ports.   Problems arise whenever the  actual
  78.      connect  baud rate  differs from  the locked  serial port's  baud
  79.      rate.   So the  sysop has three choices,  stop locking his serial
  80.      port, get rid  of any offending  doors, or unlock and  relock the
  81.      serial port when opening and closing  doors.  Obviously, the last
  82.      choice is  the most  desirable, but  you need  a special  utility
  83.      program to  perform the  unlocking and  relocking chores.   Enter
  84.      LOCKER.
  85.  
  86.      When properly used, LOCKER can successfully unlock and relock the
  87.      serial port  for just about any  door.  Although  there are other
  88.      utilities like LOCKER,  LOCKER is  much smaller  and faster  than
  89.      other utilities of  its type.   Whereas the competition can  take
  90.      from 15 to 20 seconds to unlock or lock a serial port, LOCKER can
  91.      unlock or  lock a  serial port  in about  3 to  5 seconds.  Also,
  92.      LOCKER  supports baud rates as high as 115,200 baud, comm ports 1
  93.      to  8,  and  thanks  to  the  power of  C++  and  object-oriented
  94.      programming it will work with  PCBoard (PCBOARD.SYS or DOOR.SYS),
  95.      Spitfire (SFDOORS.DAT (etc.) or DOOR.SYS), GAP (DOOR.SYS), or any
  96.      other  BBS software  that supports  the DOOR.SYS  door data  file
  97.      format.   Best  of all,  you  can register  LOCKER for  only $10.
  98.      That's a  lot less than the unreasonable fees others charge for a
  99.      similar utility.
  100.  
  101.  
  102.                                 USING LOCKER
  103.  
  104.      Using LOCKER couldn't be simpler.  LOCKER is run from the command
  105.      line using the following format:
  106.  
  107.      LOCKER DOORFILE BBS FLAG S2
  108.  
  109.      Where:
  110.  
  111.      DOORFILE       is the pathname for the door data file.
  112.  
  113.      BBS            is P for PCBoard, S for Spitfire, or G for  GAP or
  114.                     any other BBS software that  uses a DOOR.SYS file.
  115.                     You should use G for both  PCBoard and Spitfire if
  116.                     you intend to use DOOR.SYS instead of their normal
  117.                     door data file types.
  118.  
  119.      FLAG           is either U  for unlock the  serial port or L  for
  120.                     lock the serial port.
  121.  
  122.      S2             is an  optional parameter that specifies the value
  123.                     your  modem's  S2  register  is   set  to.    Most
  124.                     communications programs  use a  value of  43 ('+')
  125.                     for the S2 register.   The S2 value is  the escape
  126.                     character  and can be used to force the modem into
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.                     the  command  mode  once  a  connection  has  been
  140.                     established.  LOCKER expects this  value to be set
  141.                     to 43.  If  your NRAM setting for the  S2 register
  142.                     isn't  equal  to  43,  you  must  specify  the  S2
  143.                     register's  numeric  value.   You  must  also  pay
  144.                     particular attention to your  BBS's initialization
  145.                     string.    Many  BBS's   (most  notably  Spitfire)
  146.                     require  the  S2  register be  set  to  a specific
  147.                     value.   If your BBS software requires a change in
  148.                     the S2 register in  the initialization string, you
  149.                     should  specify that  value  as LOCKER's  optional
  150.                     fourth parameter.
  151.  
  152.      Here's a few examples of LOCKER command lines:
  153.  
  154.      locker pcboard.sys p u        (Unlocks a PCBoard door with a door
  155.                                    data filename of "pcboard.sys".)
  156.  
  157.      locker c:\doors\door.sys g l  (Locks a GAP door  with a door data
  158.                                    filename of "c:\doors\door.sys".)
  159.  
  160.      locker sfdoors.dat s u 1      (Unlocks  a  Spitfire  door with  a
  161.                                    door      data     filename      of
  162.                                    "sfdoors.dat".      Note   how   an
  163.                                    optional  S2   register  value   is
  164.                                    specified.  This will  force LOCKER
  165.                                    to  use  the smiley  face character
  166.                                    Spitfire   uses   as   the   escape
  167.                                    character.)
  168.  
  169.      To put LOCKER to practical use,  you are going to want to  use it
  170.      in a batch  file.  The  following is an  example of a  door batch
  171.      file that would use LOCKER:
  172.  
  173.      locker pcboard.sys p u        <- Unlocks the serial port
  174.      if errorlevel 1 goto end      <- Abort if the LOCKER failed
  175.      cd \doors\superg              <- Change to the door directory
  176.      superg superg.cfg             <- Run the door
  177.      cd \pcb                       <- Return to the LOCKER directory
  178.      locker pcboard.sys p l        <- Relock the serial port
  179.      :end
  180.      board                         <- Restart the BBS
  181.  
  182.      Note from the  above example,  that LOCKER will  return an  error
  183.      code of 1 if  it should fail.  If LOCKER should  fail, you should
  184.      not  run  the door.   Instead,  return  to the  BBS as  the above
  185.      example would do.
  186.  
  187.  
  188.                              SETTING YOUR MODEM
  189.  
  190.  
  191.      HST owners  must also set DIP switch 9 to on.  Setting DIP switch
  192.      9 is  necessary to  enable the modem  to return the  Command Mode
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.      instead of dropping carrier.
  206.  
  207.  
  208.                            THINGS YOU SHOULD KNOW
  209.  
  210.      LOCKER  has  been  thoroughly  tested   with  a  USRobotics  Dual
  211.      Standard,  PCBoard,  and Spitfire.    The DOOR.SYS  interface was
  212.      tested using  the DOOR.SYS file  generated by  Spitfire.   LOCKER
  213.      will not work for 300 baud callers and an HST!  It will appear to
  214.      work correctly, but the door will not function properly.  Whether
  215.      or not LOCKER will work with  non-HST modems, I can't really say.
  216.      The only way to know for sure is to give LOCKER a try.  If you do
  217.      use LOCKER  with a non-HST  modem, please let me  know whether it
  218.      succeeds or  fails.  I see  no reason why it won't  work, but who
  219.      knows?
  220.  
  221.  
  222.                                 REGISTRATION
  223.  
  224.      LOCKER is a copyrighted program and distributed as shareware.  If
  225.      you find LOCKER  useful, you are obligated to register it after a
  226.      30 day trial period.  Because LOCKER didn't take me all that long
  227.      to develop,  I'm only  charging $10.00  for registration.   As  a
  228.      fellow sysop, I know a BBS can nickel and dime you to death.  But
  229.      if your BBS  has heavy door use,  LOCKER will be run  hundreds of
  230.      times a  day.  So $10.00  isn't all that  unreasonable a request.
  231.      Registered owners will  be sent a  key file, LOCKER.KEY, and  the
  232.      most recent version of  LOCKER.  Simply place LOCKER.KEY  in your
  233.      LOCKER.EXE subdirectory and voila!  Instant registered version of
  234.      LOCKER.EXE.    Not  only  will LOCKER.KEY  work  for  the current
  235.      version  of  LOCKER, it  will  automatically register  all future
  236.      shareware  versions  of  LOCKER too.    This  makes  it easy  for
  237.      registered  owners to  upgrade  to the  newest  version.   Simply
  238.      download the latest shareware version off  either my board or any
  239.      other board that  has LOCKER and  you instantly have the  lastest
  240.      registered version of  LOCKER.  Registration fees should  be sent
  241.      to me at the following address:
  242.  
  243.      Mark Goodwin
  244.      P.O. Box 187
  245.      Orland, ME 04472
  246.  
  247.      I'll send you your registered copy  by either mailing it on  disk
  248.      or  uploading it to  your board.   If you want me  to upload your
  249.      registered copy to your board, you  must preregister me under the
  250.      name MARK GOODWIN.  Be sure to  let me know the password you have
  251.      assigned  to me  or  I'll have  no  choice but  to  mail you  the
  252.      registered  copy.  If  you don't want  me to upload  your copy to
  253.      your board, please let  me know if you  require a 3 1/2"  disk or
  254.      not.  Unless  I'm instructed to do  otherwise, I will use  5 1/4"
  255.      disks for all copies sent through the mail.
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.                                   SUPPORT
  272.  
  273.      If  you have a  question about LOCKER,  you can call  my BBS, The
  274.      Lobster Buoy, at 207-469-7319 and leave me a message.  Registered
  275.      owners  will be  given my voice  number and  are free to  call me
  276.      anytime.
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.