home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 12
/
CD_ASCQ_12_0294.iso
/
vrac
/
duser130.zip
/
DROPUSER.DOC
next >
Wrap
Text File
|
1994-02-07
|
6KB
|
123 lines
██████ ██ ██
██ ██ ██ ██
██ ██ ██ ████ █████ ██████ ██ ██ █████ █████ ██ ████
██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██
██ ██ ██ ██ ██ ██████ ██ ██ ██ ██ ██
██████ ██ █████ ██ █████ █████ █████ ██
██
Copyright Cory Wright 1991, 1994
----------------------------------------------------------------------
VERSION 1.30 - January 27, 1994
----------------------------------------------------------------------
PURPOSE
-------
DROPUSER is intended for use in batch files during the log-off process
of a bulletin board user. Some BBS programs such as GT Power, do not
log the user off before running its cleanup (or log-off) batch file. In
the case of GT Power and some other programs, the authors have not
found it necessary to take the phone off-hook while the board recycles
or while the BBS performs its event. DROPUSER takes care of all of this
in one simple step.
PROCEDURE
---------
There is no syntax checking on the command line other than for the
required two parameters. You will pass DROPUSER two parameters. The
first is the communications port number. The second is the maximum baud
rate at which your modem operates.
DROPUSER opens the communications port and immediately lowers DTR.
Since you run a BBS, you should already have your modem set to hang up
if DTR is lowered. On most Hayes modems, an &D3 will accomplish this.
After a brief pause, DROPUSER raises DTR and proceeds to issue an
"ATH1M0" string to the modem at the baud rate given as the second
parameter on the command line. "ATH1M0" is a standard sequence that
takes the phone off-hook and silences the modem speaker.
EXAMPLE
-------
DROPUSER 1 2400
- This will drop the user on COM1: and reset the modem at 2400 baud.
Notice that COM1: is represented as '1', COM2: as '2', etc...
DROPUSER 2 38400
- This will drop the user on COM2: and reset the modem at 38400 baud.
WARNING
-------
Some have complained that GT stays off hook when it recycles to the
BBS. You really should set all of your settings, etc, for GT into
your modem's non-volatile memory, and use an ATZ to reset / re-
initialize the modem rather than sending a long string of
characters. This way, your modem will actually RESET, and put the
phone back on the hook, ready for the next caller. DROPUSER does
not put the phone back on the hook. Logically, the program that
prepares to answer calls should know when to put the phone back on
the hook -- that indicates its readiness!
ENHANCEMENTS
------------
v1.30 adds timing adjustments so that the HAYES OPTIMA 288 (and
other modems, I'm sure) properly go offhook.
By user request, v1.20 rearranges the command ATH1M0 to ATM0H1 so
that USR, and some other modems, will turn the speaker off before
hanging up, thereby eliminating an annoying noise made when the
phone goes off-hook.
As of v1.10, you may define your com port setup on the command line.
The syntax is very exact, and even though some syntax checking is in
place, you should follow the form below exactly.
The format is:
DROPUSER Port#/$BASE/IRQ# baud
Example: DROPUSER 3/$03F8/4 2400
would set COM3: up on i/o base $03F8 on IRQ 4 at 2400 baud.
This syntax is OPTIONAL, of course, and examples further above
(eg: DROPUSER 1 38400) are how most people would use the
program under normal circumstances.
COMMENTS
--------
You may reach me at the following address:
Cory Wright The Rising Connection
P. O. Box 53041 or call the BBS: 919-783-8946
Knoxville, TN 37950-3041 HAYES OPTIMA 28.8k V.FC
If you wish to send comments or suggestions, want a custom compilation,
have problems with the timing of the modem (ie: it won't take the phone
off of the hook), feel free to call my BBS or write me.
If you like the program, please send a $5.00 (or more) contribution to
your local Ronald McDonald House. If you do not have an R.M.H. in your
area, then send your contribution to:
Ernie Roberts, Key Club Sponsor @ Bearden High School
Re: The Ronald McDonald House of Knoxville
8352 Kingston Pike
Knoxville, TN 37919
Please tell him who you are and how you hope that your donation will
help families struggling through their child's time of surgery to
cure a life-threatening disease. Also, mention my name & tell the
Key Club I said hi. They've done an immense amount of community
service in the Knoxville area over the past 5 years. Each student
is required to complete between 50-75 hours of community service per
year to be in the club. The high school club's membership was over
100 in 1990-1991, thereby giving over 7500 community service hours
annually to the Knoxville community. They support the Ronald
McDonald House annually as well, and both organizations would
appreciate your support.
Thanks so very much!
Cory Wright