[comp.sys.apple] DataTerm/TIC with busy signals

delton@pro-exchange.cts.com (Don Elton) (09/29/89)

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.