Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!munnari.oz.au!manuel!ccadfa!prolix!dac From: dac@prolix.ccadfa.cc.adfa.oz.au (Andrew Clayton) Newsgroups: comp.sys.amiga.datacomm Subject: Re: UUCICO failed or worked? Message-ID: <18aacb3d.ARN2a90@prolix.ccadfa.cc.adfa.oz.au> Date: 11 Feb 91 11:18:53 GMT Reply-To: dac@prolix.pub.uu.oz.au Followup-To: comp.sys.amiga.datacomm Organization: More like Mis~, really. Lines: 35 In article , Scot L. Harris writes: > Anyway, I finally got tired of the hanging problems and wrote a script > that has helped a LOT. Here it is: > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > .KEY system/a,serunit/a > > if not exists t:uucp.lck > copy s:uucp.lck t: > uucp:c/uucico -U -s > delete t:uucp.lck > endif > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What I'm irritated by, is not being able to CALL out and get a connect with whichever of the two sites I call [they're engaged lots of the time]. My small script finishes, and I either have mail, or I don't have mail (timed out - no connection). I have manually repeat the call, instead of having some loop structure, since I've got no idea if UUCICO plays with return codes. On reading the MAN entry for UUCICO, I could see no simple way of determining if UUCICO indicated that it was successful, or that it had failed. So my question is : Does UUCICO set some return code that can be examined by the script that called it, indicating success/failure. Thanks for listening. [I looked at the code, it didn't seem to go out of it's way to indicate to humans that it had failed/worked]. Dac -- _l _ _ // Andrew Clayton. Canberra, Australia. I Post . (_](_l(_ \X/ Send mail to dac@prolix.pub.uu.oz.au . . I am.