Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!caen!ox.com!umich!sharkey!dexter!jsr From: jsr@dexter.mi.org (Jay S. Rouman) Newsgroups: comp.dcom.modems Subject: Re: Using BASIC to drop DTR (was Re: escape to command mode) Message-ID: <1991May28.171728.15951@dexter.mi.org> Date: 28 May 91 17:17:28 GMT References: <1991May26.044336.5664@clark.edu> <1991May26.231554.14933@netcom.COM> <21942@cbmvax.commodore.com> Organization: Private System, Mt. Pleasant, MI Lines: 20 >> 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.