Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 May 1996 22:46:32 +1000
From:      Giles Lean <giles@nemeton.com.au>
To:        "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
Cc:        bde@zeta.org.au (Bruce Evans), current@freebsd.org
Subject:   Re: Files installed to /etc, (was: review request) 
Message-ID:  <199605031246.WAA11568@nemeton.com.au>
In-Reply-To: <199605011026.DAA15481@GndRsh.aac.dev.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 1 May 1996 03:26:16 -0700 (PDT)  "Rodney W. Grimes" wrote:

> > It would make things a bit harder to find.  E.g., the i386 man pages are
> > currently linked to /usr/share/man/man* since man(1) is too stupid to find
> > them in machine-dependent places.
> 
> This was broken the day we moved from the true BSD man(1) to the gnu version,
> something we should look at reversing if we can find a suck^H^H^H^Hvolunteer
> to add manual page compression to the CSRG version of man(1).

The NetBSD man command has support for both compression and multiple
architectures.  I just compiled the NetBSD-current version on FreeBSD
FreeBSD-current (closest match ?!) and it worked, more or less.

The following man.conf file is enough to make it work on
FreeBSD-current if there are no files in the cat directories.  (NetBSD
uses a .0 extension in cat directories.)

The NetBSD code doesn't install the uncompressed page, either.

Thoughts, anyone?

Giles
--

# Sheer, raging paranoia...
_version	BSD.2

# The whatis/apropos database.
_whatdb		/usr/share/man/whatis.db

# Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir		{cat,man}{1,8,6,2,3,4,5,7,3f,9}

# Files typed by suffix and their commands.
# Note the order, .Z must come after .[1-9].Z, or it will match first.
_suffix		.0
_build		.[1-9]		/usr/bin/nroff -man %s
_build		.[1-9].Z	/usr/bin/zcat %s | /usr/bin/nroff -man
_build		.[1-9].gz	/usr/bin/gunzip -c %s | /usr/bin/nroff -man
_build		.Z		/usr/bin/zcat %s
_build		.0.Z		/usr/bin/zcat %s
_build		.gz		/usr/contrib/bin/gunzip %s
_build		.z		/usr/contrib/bin/gunzip %s
_build		.nr		/usr/bin/nroff -man %s

# Sections and their directories.
# All paths ending in '/' are the equivalent of entries specifying that
# directory with all of the subdirectories listed for the keyword _subdir.

# default
_default	/usr/{share,X11,contrib,local}/{man,man/old}/

# Other sections that represent complete man subdirectories.
X11		/usr/X11R4/man/
X11R4		/usr/X11R4/man/
contrib		/usr/contrib/man/
local		/usr/local/man/
new		/usr/contrib/man/
old		/usr/share/man/old/

# Specific section/directory combinations.
1		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat1
2		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat2
3		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat3
3F		/usr/share/man/cat3f
3f		/usr/share/man/cat3f
4		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat4
5		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat5
6		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat6
7		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat7
8		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat8
8		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat9





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605031246.WAA11568>