[comp.dcom.modems] Using BASIC to drop DTR

gandrews@netcom.COM (Greg Andrews) (05/27/91)

In article <1991May26.044336.5664@clark.edu> steve@pro-hindugods.cts.com (Steve Fenwick) writes:
>In-Reply-To: message from gandrews@netcom.COM
>
>Is there any way to drop the DTR signal from BASIC (on an Apple) using a
>command or routine?
>

Steve, it would have been better to use mail for a question like this.
As it is, I have absolutely no idea.  I've never used Apple BASIC.
Perhaps there's an Apple newsgroup where you could ask about this...


>Steve

-- 
 .------------------------------------------------------------------------.
 |  Greg Andrews   |       UUCP: {apple,amdahl,claris}!netcom!gandrews    |
 |                 |   Internet: gandrews@netcom.COM                      |
 `------------------------------------------------------------------------'

grr@cbmvax.commodore.com (George Robbins) (05/27/91)

In article <1991May26.231554.14933@netcom.COM> gandrews@netcom.COM (Greg Andrews) writes:
> In article <1991May26.044336.5664@clark.edu> steve@pro-hindugods.cts.com (Steve Fenwick) writes:
> >In-Reply-To: message from gandrews@netcom.COM
> >
> >Is there any way to drop the DTR signal from BASIC (on an Apple) using a
> >command or routine?
> >
> 
> Steve, it would have been better to use mail for a question like this.
> As it is, I have absolutely no idea.  I've never used Apple BASIC.
> Perhaps there's an Apple newsgroup where you could ask about this...

What on earth are you going on about Greg?  The guy's question was perfectly
reaonable, if maybe a little dated.  Maybe the question would be answered
more quickly in comp.sys.apple2, but in this case, why don't *you* send him
mail politely suggesting this...

Maybe a flame, but your answer suggests the attitude that any questions not
personally directed to, or interesting to you, are inappropriate to the group.

> As it is, I have absolutely no idea.  I've never used Apple BASIC.
            ======                      ==========

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)

jsr@dexter.mi.org (Jay S. Rouman) (05/29/91)

>> In article <1991May26.044336.5664@clark.edu> steve@pro-hindugods.cts.com (Steve Fenwick) writes:
>> >In-Reply-To: message from gandrews@netcom.COM
>> >
>> >Is there any way to drop the DTR signal from BASIC (on an Apple) using a
>> >command or routine?

Well, regardless of how this should have been handled net-wise, I'll
take a crack at answering it.  The simple answer is no.  There is no
Applesoft command to drop DTR.  What you must do is POKE some value
into a register of the communications card.  Unfortunately, because of
the age of the Apple bus, there is no standard for comm cards or their
control registers.  You need to get the docs for your particular comm
card and find the magic values.  If you want to hang up, it's probably
more practical to do a +++ escape and then ATH (assuming you are
talking to a Hayes-compatible modem).  Sorry there isn't an easier
answer.  You might check Apple-type BBS's for more wisdom on this
subject.
-- 
Jay S. Rouman       Voice: 517/773-7887 | Distrust education.  Two of
              E-mail: jsr@dexter.mi.org | the three R's are misspelled.