Subject: Re: uugetty for NetBSD
To: Curt Sampson <cjs@portal.ca>
From: Charles M. Hannum <mycroft@mit.edu>
List: current-users
Date: 11/09/1996 12:28:19
Curt Sampson <cjs@portal.ca> writes:
>
> I've modified the 1.2/current /usr/libexec/getty code to use and
> honour HDB/Taylor UUCP port locking, [...]
I'd like to see this moved into a library (say, libutil), which can be
used by all the programs that need it. e.g. One could imagine an
interface like:
opentty("/dev/ttyNN", {DIALIN,DAILOUT})
-> 0 for success
-1 for failure, leaving errno set
This would also make it easier to port such code to other systems; all
you have to do is redefine this function as appropriate, and they all
just work.
Anyone want to volunteer to do this (i.e. fully specify and implement
it)?