🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #574

Re: CLOCAL, or catch-22

#574
From: Amos Shapir
Date: Fri, 14 Aug 1987 18:41
18 lines
1526 bytes
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
Technical Details
Message-ID: <332@nsta.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!amdahl!nsc!nsta!amos
References: <325@nsta.UUCP> <25073@sun.uucp> <3607@sdcsvax.UCSD.EDU> <326@nsta.UUCP> <169@edm.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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