Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!amdahl!nsc!nsta!amos From: amos@nsta.UUCP (Amos Shapir) Newsgroups: comp.bugs.sys5 Subject: Re: CLOCAL, or catch-22 Message-ID: <332@nsta.UUCP> Date: Fri, 14-Aug-87 14:41:02 EDT Article-I.D.: nsta.332 Posted: Fri Aug 14 14:41:02 1987 Date-Received: Sun, 16-Aug-87 05:32:58 EDT References: <325@nsta.UUCP> <25073@sun.uucp> <3607@sdcsvax.UCSD.EDU> <326@nsta.UUCP> <169@edm.UUCP> Reply-To: amos%nsta@nsc.com (Amos Shapir) Distribution: world Organization: National Semiconductor (Israel) Ltd. Home of the 32532 Lines: 17 Hdate: 20 Av 5747 In article <169@edm.UUCP> steve@edm.UUCP (Stephen Samuel) writes: >The trick is in /etc/{inittab,gettydefs}. find the line that controls your >tty in inittab and check the last par for getty. Look for a line in >gettydefs with the same label in the first field. Insert a 'CLOCAL' between >the first and second '#' on that line. (That field defines the STTY state >BEFORE you login. Sorry, that's still not good enough - getty can't stty the line until it gets a valid fd from a successful open, but the open would hang! The only solution seems to have a small program open the line with NDELAY and keep it open in the background. -- Amos Shapir (My other cpu is a NS32532) National Semiconductor (Israel) 6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel Tel. +972 52 522261 amos%nsta@nsc.com @{hplabs,pyramid,sun,decwrl} 34 48 E / 32 10 N