Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!pro-exchange.cts.com!delton
From: delton@pro-exchange.cts.com (Don Elton)
Newsgroups: comp.sys.apple
Subject: Re: DataTerm/TIC with busy signals
Message-ID: <8909291127.AA09133@trout.nosc.mil>
Date: 29 Sep 89 03:14:33 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 13

Comment to message from: bungia!orbit!pnet51!hackman@umn-cs.cs.umn.edu (Otto Heuer)

Most people handle the multiple-waitfor situation by waiting for one thing and
assuming that if the waited for thing doesn't arrive before the timeout that
the other thing occured. i.e.

xmit "ATDT 5551212^M"
waitfor string "CONNECT"
if failed goto BusyOrNoConnect
goto NotBusy

You can add a SET TIMER 20 or so above the first statement to keep things
moving along nicely.