Subject: Re: uugetty for NetBSD
To: None <current-users@NetBSD.ORG>
From: Greg A. Woods <>
List: current-users
Date: 11/03/1996 19:46:16
[ On Wed, October 30, 1996 at 06:05:51 (-0500), der Mouse wrote: ]
> Subject: Re:  uugetty for NetBSD
> > uptime/w,
> I had no idea uptime and w were hardlinked.  I see no particular reason
> to do it that way, and certainly no reason there couldn't be flags to
> control the behavior.

Yes, there should be command-line flags to control their behaviour.

The only elegant alternatives would be for w to exec() uptime; or to
make the guts of uptime be a generic library function(s).

I'm not sure which I like better!  ;-)

In all seriousness it would probably be a really nice idea to start
building a libutil.a or something similar where common code from /bin
and /usr/bin utilities, etc., could be accumulated.  In particular I
have in mind the SysVr4 libgen as prior art which seemed to vastly
reduce a large number of maintenance nightmares.

							Greg A. Woods

+1 416 443-1734			VE3TCP			robohack!woods
Planix, Inc. <>; Secrets Of The Weird <>