[BACK]Return to man.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

File: [cvs.NetBSD.org] / src / etc / man.conf (download)

Revision 1.29.2.1, Sat Feb 18 18:03:26 2012 UTC (7 years, 6 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.29: +14 -6 lines

Pull up following revision(s) (requested by joerg in ticket #4):
	usr.sbin/makemandb/apropos.c: revision 1.5
	external/bsd/mdocml/dist/read.c: revision 1.6
	external/bsd/mdocml/dist/mandoc.h: revision 1.2
	usr.sbin/makemandb/makemandb.c: revision 1.3
	usr.sbin/makemandb/makemandb.c: revision 1.4
	usr.sbin/makemandb/makemandb.c: revision 1.5
	usr.sbin/makemandb/Makefile: revision 1.2
	etc/man.conf: revision 1.30
	usr.sbin/makemandb/apropos.1: revision 1.3
	external/bsd/mdocml/Makefile.inc: revision 1.15
Be a bit more friendly to man pages using the roff .so command by
changing the current directory to the parent of the man -p entry, e.g.
/usr/share/man for /usr/share/man1.
Also handle hyphen replacement if it was used as plain input and no
backslash sequence was used at all in the line.
Add support for apropos -s like in the old apropos. Fix capitalisation.
Add note about optional quotation. From Abhinav Upadhyay.
Merge mandoc.h r1.99 and read.c 1.28 from upstream:
Add mparse_readmem, which allows application to run the parser directly
from memory, e.g. after de-compressing a document.
Add support for compressed man pages in all the usual formats.
Use mmap when dealing with plain files.
Add entries for bzip2 and xz.

#	$NetBSD: man.conf,v 1.29.2.1 2012/02/18 18:03:26 riz Exp $

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

# The whatis/apropos database.
_whatdb		/usr/share/man/whatis.db
_whatdb		/usr/X11R7/man/whatis.db
_whatdb		/usr/X11R6/man/whatis.db
_whatdb		/usr/pkg/man/whatis.db
_whatdb		/usr/local/man/whatis.db

# Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir		cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 cat7 man7 man3f cat9 man9 catn mann catl manl

# 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		.0.Z		/usr/bin/zcat %s
_build		.0.bz2		/usr/bin/bzcat %s
_build		.0.gz		/usr/bin/zcat %s
_build		.0.xz		/usr/bin/xzcat %s
_build		.[1-9ln]	/usr/bin/mandoc %s
_build		.[1-9ln].Z	/usr/bin/zcat %s | /usr/bin/mandoc
_build		.[1-9ln].bz2	/usr/bin/bzcat %s | /usr/bin/mandoc
_build		.[1-9ln].gz	/usr/bin/zcat %s | /usr/bin/mandoc
_build		.[1-9ln].xz	/usr/bin/xzcat %s | /usr/bin/mandoc
_build		.tbl		/usr/bin/mandoc %s
_build		.tbl.Z		/usr/bin/zcat %s | /usr/bin/mandoc
_build		.tbl.bz2	/usr/bin/bzcat %s | /usr/bin/mandoc
_build		.tbl.gz		/usr/bin/zcat %s | /usr/bin/mandoc
_build		.tbl.xz		/usr/bin/xzcat %s | /usr/bin/mandoc

_build		.me		/usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s

_crunch		.Z		/usr/bin/zcat > %s
_crunch		.bz		/usr/bin/bzcat > %s
_crunch		.gz		/usr/bin/zcat > %s
_crunch		.xz		/usr/bin/xzcat > %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,X11R7,X11R6,pkg,local}/man/

# Other sections that represent complete man subdirectories.
X11R7		/usr/X11R7/man/
X11R6		/usr/X11R6/man/
packages	/usr/pkg/man/
local		/usr/local/man/

# Specific section/directory combinations.
1		{cat,man}1
2		{cat,man}2
3		{cat,man}3
3F		{cat,man}3f
3f		{cat,man}3f
4		{cat,man}4
5		{cat,man}5
6		{cat,man}6
7		{cat,man}7
8		{cat,man}8
9		{cat,man}9
l		{cat,man}l
n		{cat,man}n

# machine classes per machine
_i386		x86
_amd64		x86
_sparc64	sparc