Subject: Re: whatis.db does not contain the architecture name
To: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
From: David Brownlee <abs@netbsd.org>
List: tech-userlevel
Date: 02/15/2000 10:34:10
	Looks good to me...


		David/absolute

On Sun, 13 Feb 2000, Julian Coleman wrote:

> Now we have all the manual pages for all the ports installed, I can browse
> all ports' man pages ... if I know which architecture they belong to.  For
> example (on a sparc) :
> 
>   $ man -k mouse
>   busmouse (4) - Bus mouse driver
>   lms (4) - Logitech-style bus mouse driver
>     ...
>   $ man lms
>   man: no entry for lms in the manual.
> 
> Hmm ... aha!
> 
>   $ for p in /usr/src/sys/arch/*; do MACHINE=`basename $p` man lms; done # ;-)
>   man: no entry for lms in the manual.
>   man: no entry for lms in the manual.
>     ...
>   LMS(4)                 NetBSD/i386  Programmer's Manual                 LMS(4)
> 
> Wouldn't it be nice if `man -k` said :
> 
>   busmouse (4 i386) - Bus mouse driver
>   lms (4 i386) - Logitech-style bus mouse driver
> 
> (or similar)?
> 
> J
> 
> (I was thinking of adding this anyway, but I thought I'd just gather opinion
> first.)
> 
> -- 
>                     My other computer also runs NetBSD
>                           http://www.netbsd.org/
>