From owner-freebsd-current Fri May 3 05:48:52 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA23953 for current-outgoing; Fri, 3 May 1996 05:48:52 -0700 (PDT) Received: from perki.connect.com.au (perki.connect.com.au [192.189.54.5]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id FAA23946 for ; Fri, 3 May 1996 05:48:49 -0700 (PDT) Received: (from Unemeton@localhost) by perki.connect.com.au id WAA11214 (8.7.5/IDA-1.6); Fri, 3 May 1996 22:45:46 +1000 (EST) X-Authentication-Warning: perki.connect.com.au: Unemeton set sender to giles@nemeton.com.au using -f >Received: from localhost (giles@localhost [127.0.0.1]) by nemeton.com.au (8.6.12/8.6.9) with SMTP id WAA11568; Fri, 3 May 1996 22:46:33 +1000 Message-Id: <199605031246.WAA11568@nemeton.com.au> To: "Rodney W. Grimes" cc: bde@zeta.org.au (Bruce Evans), current@freebsd.org Subject: Re: Files installed to /etc, (was: review request) In-reply-to: <199605011026.DAA15481@GndRsh.aac.dev.com> Date: Fri, 03 May 1996 22:46:32 +1000 From: Giles Lean Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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