Subject: Re: uugetty for NetBSD
To: None <netbsd-users@NetBSD.ORG>
From: D'Arcy J.M. Cain <darcy@druid.com>
List: netbsd-users
Date: 04/23/1997 21:29:21
Thus spake Charles M. Hannum
> 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)?
I have already done this. I'll see how easy it is to break it out and post
it soon for inspection.
--
D'Arcy J.M. Cain | Democracy is three wolves
darcy@{druid.com|vex.net} | and a sheep voting on
+1 416 943 5281 (DoD#0082) (eNTP) | what's for dinner.
-- http://www.druid.com/darcy --