Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!ucsd!ucsbcsl!nessus!ivucsb!dan From: dan@ivucsb.UUCP (Dan Howell) Newsgroups: comp.sys.amiga Subject: Serial port AUX: timeout? Message-ID: <615@ivucsb.UUCP> Date: 17 Mar 89 19:11:04 GMT Reply-To: ivucsb!dan@anise.acc.com (Dan Howell) Organization: The Audio Club at UCSB, Isla Vista, California Lines: 24 Is there any way to make the AUX: device time out? And return an error code on timeout? Since I don't have a battery backed up clock, and am not going to buy one just yet, I am using my roomates UNIX-PC as a clock server. I use echo >aux: atime copy aux: ram:setdate execute ram:setdate and his UNIX-PC has an account atime set aside which does nothing but return the string "date dd-mmm-yy hh:mm:ss" followed by a return and a ^\ for me to execute. The problem is that the serial port is not always connected to the Amiga, and when it isn't, the copy command just hangs there eating up my precious memory space and tying up my serial port, so that I can't do anything useful with my serial port, like talk to a modem with vt100. What I would like to be able to do is have some way for the copy command to time out, and if it does, prompt the user to enter the date. Is there any way I can do this? Thanks. -- -- Dan Howell -- <...!(pyramid|ucbvax)!ucsbcsl!nessus!ivucsb!dan> -- "What? TWO buttons? I don't know if I can handle that!" -- a Mac user