Path: utzoo!attcan!telly!lethe!torsqnt!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!uwvax!umn-d-ub!umn-cs!bungia!orbit!pnet51!hackman From: hackman@pnet51.orb.mn.org (Otto Heuer) Newsgroups: comp.sys.apple Subject: Re: DataLink 2400 Message-ID: <1136@orbit.UUCP> Date: 22 Sep 89 18:05:04 GMT Sender: root@orbit.UUCP Organization: People-Net [pnet51], Minneapolis, MN. Lines: 34 krb20699@uxa.cso.uiuc.edu writes: > > If you're using DataTerm (the modified TIC,) then all of the commands >will be in the manual. The modem automatically tells whether the line is >busy, and prints "BUSY." I don't know how to specifically tell a BUSY from a >"NO CARRIER" after no answer, but the BUSY response will show up under: >if failed goto foo >after a dialing command. Past that...? I got a few replies to this question, but none really answered it. Neither of the manuals that come with the DataLink tell right out how to detect a busy signal. Through experimentation, I did manage to figure it out on my own (to some extent). Instead of: waitfor "Connect" you have: waitfor "BUSY" and then you can say things like: if found goto foo but then you can't also look for "CONNECT" and other things, unfortunately, as far as I can tell. What would be nice is if you could have a switch/case statement. I *think* all you can check for is one ("BUSY" or "CONNECT" or "NO CARRIER" or ...). Thanks for encouraging me to keep trying, though! --Otto -- OO O OO OO OO O OO O OO OO O|UUCP|amdahl!bungia!orbit!pnet51!hackman OO O OO O OO O OO O OOO OO OO O OO O|INET|hackman@pnet51.cts.com OO O OO O OO OOO OOO OO OO O OO O|UUCP|chinet!orbit!pnet51!hackman OOOO OOOO OO OO == OO O O OOOO OOO O|ARPAcrash!orbit!pnet51!hackman@nosc.mil OOOO OOOO OO OOO OO O O OOOO OO OO|UUCP|uunet!rosevax!orbit!pnet51!hackman OO O OO O OO O OO O OO O OO O OO OO|INET|ottoh@cfsmo.honeywell.com(in 1990) OO O OO O OO OO O OO O OO O OO O|UUCP|killer!orbit!pnet51!hackman