home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / duser130.zip / DROPUSER.DOC next >
Text File  |  1994-02-07  |  6KB  |  123 lines

  1.         ██████                          ██   ██
  2.          ██  ██                         ██   ██
  3.          ██  ██ ██ ████  █████  ██████  ██   ██  █████   █████  ██ ████
  4.          ██  ██  ███ ██ ██   ██ ██   ██ ██   ██ ██      ██   ██  ███ ██
  5.          ██  ██  ██     ██   ██ ██   ██ ██   ██  █████  ███████  ██
  6.          ██  ██  ██     ██   ██ ██████  ██   ██      ██ ██       ██
  7.         ██████   ██      █████  ██       █████   █████   █████   ██
  8.                                 ██
  9.  
  10.                     Copyright Cory Wright 1991, 1994
  11.     ----------------------------------------------------------------------
  12.                     VERSION 1.30 - January 27, 1994
  13.     ----------------------------------------------------------------------
  14.  
  15.     PURPOSE
  16.     -------
  17.     DROPUSER is intended for use in  batch files during the log-off process
  18.     of a  bulletin board user. Some  BBS programs such as  GT Power, do not
  19.     log the user off before running its cleanup (or log-off) batch file. In
  20.     the  case of  GT Power  and some  other programs,  the authors have not
  21.     found it necessary to take the  phone off-hook while the board recycles
  22.     or while the BBS performs its event. DROPUSER takes care of all of this
  23.     in one simple step.
  24.  
  25.     PROCEDURE
  26.     ---------
  27.     There  is no  syntax checking  on the  command line  other than for the
  28.     required  two parameters.  You will  pass DROPUSER  two parameters. The
  29.     first is the communications port number. The second is the maximum baud
  30.     rate at which your modem operates.
  31.  
  32.     DROPUSER  opens the  communications  port  and immediately  lowers DTR.
  33.     Since you run a BBS, you should  already have your modem set to hang up
  34.     if DTR is lowered.  On most Hayes modems, an &D3 will accomplish this.
  35.     After  a brief  pause, DROPUSER  raises DTR  and proceeds  to issue  an
  36.     "ATH1M0"  string to  the modem  at the  baud rate  given as  the second
  37.     parameter  on the  command line.  "ATH1M0" is  a standard sequence that
  38.     takes the phone off-hook and silences the modem speaker.
  39.  
  40.     EXAMPLE
  41.     -------
  42.     DROPUSER 1 2400
  43.       - This will drop the user on COM1: and reset the modem at 2400 baud.
  44.         Notice that COM1: is represented as '1', COM2: as '2', etc...
  45.  
  46.     DROPUSER 2 38400
  47.       - This will drop the user on COM2: and reset the modem at 38400 baud.
  48.  
  49.     WARNING
  50.     -------
  51.     Some have complained that GT stays off hook when it recycles to the
  52.     BBS.  You really should set all of your settings, etc, for GT  into
  53.     your modem's non-volatile memory, and use an ATZ to reset / re-
  54.     initialize the modem rather than sending a long string of
  55.     characters.  This way, your modem will actually RESET, and put the
  56.     phone back on the hook, ready for the next caller.  DROPUSER does
  57.     not put the phone back on the hook.  Logically, the program that
  58.     prepares to answer calls should know when to put the phone back on
  59.     the hook -- that indicates its readiness!
  60.  
  61.     ENHANCEMENTS
  62.     ------------
  63.     v1.30 adds timing adjustments so that the HAYES OPTIMA 288 (and
  64.     other modems, I'm sure) properly go offhook.
  65.  
  66.     By user request, v1.20 rearranges the command ATH1M0 to ATM0H1 so
  67.     that USR, and some other modems, will turn the speaker off before
  68.     hanging up, thereby eliminating an annoying noise made when the
  69.     phone goes off-hook.
  70.  
  71.     As of v1.10, you may define your com port setup on the command line.
  72.     The syntax is very exact, and even though some syntax checking is in
  73.     place, you should follow the form below exactly.
  74.  
  75.     The format is:
  76.  
  77.       DROPUSER Port#/$BASE/IRQ# baud
  78.  
  79.     Example:  DROPUSER 3/$03F8/4 2400
  80.               would set COM3: up on i/o base $03F8 on IRQ 4 at 2400 baud.
  81.  
  82.     This syntax is OPTIONAL, of course, and examples further above
  83.     (eg: DROPUSER 1 38400) are how most people would use the
  84.     program under normal circumstances.
  85.  
  86.  
  87.     COMMENTS
  88.     --------
  89.     You may reach me at the following address:
  90.  
  91.       Cory Wright                                   The Rising Connection
  92.       P. O. Box 53041             or call the BBS:  919-783-8946
  93.       Knoxville, TN  37950-3041                     HAYES OPTIMA 28.8k V.FC
  94.  
  95.     If you wish to send comments or suggestions, want a custom compilation,
  96.     have problems with the timing of the modem (ie: it won't take the phone
  97.     off of the hook), feel free to call my BBS or write me.
  98.  
  99.     If you like the program, please  send a $5.00 (or more) contribution to
  100.     your local Ronald McDonald House. If you  do not have an R.M.H. in your
  101.     area, then send your contribution to:
  102.  
  103.      Ernie Roberts, Key Club Sponsor @ Bearden High School
  104.      Re: The Ronald McDonald House of Knoxville
  105.      8352 Kingston Pike
  106.      Knoxville, TN  37919
  107.  
  108.     Please tell him who you are and how you hope that your donation will
  109.     help families struggling through their child's time of surgery to
  110.     cure a life-threatening disease.  Also, mention my name & tell the
  111.     Key Club I said hi.  They've done an immense amount of community
  112.     service in the Knoxville area over the past 5 years.  Each student
  113.     is required to complete between 50-75 hours of community service per
  114.     year to be in the club.  The high school club's membership was over
  115.     100 in 1990-1991, thereby giving over 7500 community service hours
  116.     annually to the Knoxville community.  They support the Ronald
  117.     McDonald House annually as well, and both organizations would
  118.     appreciate your support.
  119.  
  120.     Thanks so very much!
  121.  
  122.     Cory Wright
  123.