Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!rutgers!lll-lcc!ames!ucbcad!ucbvax!decvax!decwrl!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.bugs.sys5 Subject: Re: CLOCAL, or catch-22 Message-ID: <25150@sun.uucp> Date: Fri, 7-Aug-87 18:00:04 EDT Article-I.D.: sun.25150 Posted: Fri Aug 7 18:00:04 1987 Date-Received: Sun, 9-Aug-87 10:36:57 EDT References: <325@nsta.UUCP> <25073@sun.uucp> <3607@sdcsvax.UCSD.EDU> <326@nsta.UUCP> Sender: news@sun.uucp Lines: 13 > The problem essentially is: How do you convince getty to open a port > without waiting for carrier, if you do not have the carrier signal > wired, and your terminal driver expects to see it before proceeding? You write a program that opens a specified set of ports with O_NDELAY, issues the appropriate "ioctl", and holds them open. Then you make sure, by tweaking "/etc/gettydefs", that "getty" doesn't futz with that mode. It's a rather unattractive solution, and it may break down if somebody explicitly turns that mode off, but it's better than nothing. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com