🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #575

Re: CLOCAL, or catch-22

#575
From: allbery
Date: Sat, 15 Aug 1987 16:06
11 lines
1267 bytes
WRT getty:  if you can't find anything else, the melbourne getty for BSD is
in the mod.sources archive.  It's configurable via a file /etc/gettytab (?)
(although, as with all Berkeley-style programs, it looks suspiciously like
/etc/termcap...).

One thing to watch out for is that AT&T getty-type programs must close all
file descriptors and then re-open to the terminal -- I seem to remember that
it uses O_RDWR on 0, 1, and 2, so you can effectively read from stdout (!).
It also has to grovel in utmp and add stuff to wtmp if it exists.  The
proper utmp record is the LOGIN_PROCESS type (see utmp(3)).  I don't think
System V getty actually uses utmp(3), though...
Technical Details
Message-ID: <4178@ncoast.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!cwruecmp!hal!ncoast!allbery
References: <325@nsta.UUCP> <1302@killer.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!utgpu!water!watmath!clyde!cbosgd!cwruecmp!hal!ncoast!allbery
From: allbery@ncoast.UUCP
Newsgroups: comp.bugs.sys5
Subject: Re: CLOCAL, or catch-22
Message-ID: <4178@ncoast.UUCP>
Date: Sat, 15-Aug-87 12:06:28 EDT
Article-I.D.: ncoast.4178
Posted: Sat Aug 15 12:06:28 1987
Date-Received: Sun, 16-Aug-87 13:40:27 EDT
References: <325@nsta.UUCP> <1302@killer.UUCP>
Reply-To: allbery@ncoast.UUCP (Brandon Allbery)
Followup-To: comp.bugs.sys5
Organization: Cleveland Public Access UN*X, Cleveland, Oh
Lines: 11