wrt@etive.ed.ac.uk (Billy Taylor) (03/31/89)
How can I do a 'read' that works ok except when there's actually nothing to be read, in which case it returns a -1. The only success I've had so far end up in any shells I was running getting sent a sig 20. I can get it to work under dbx but not in normal usage. Ta. Billy Taylor, JANET: wrt@uk.ac.ed.etive Edinburgh University Computing Science ARPA: wrt%ed.etive@nss.cs.ucl.ac.uk UUCP: ...!uunet!mcvax!ukc!etive!wrt