xref: /netbsd-src/etc/man.conf (revision e4d7c2e329d54c97e0c0bd3016bbe74f550c3d5e)
1#	$NetBSD: man.conf,v 1.17 1999/08/02 10:43:30 mrg Exp $
2
3# Sheer, raging paranoia...
4_version	BSD.2
5
6# The whatis/apropos database.
7_whatdb		/usr/share/man/whatis.db
8_whatdb		/usr/X11R6/man/whatis.db
9_whatdb		/usr/X11/man/whatis.db
10_whatdb		/usr/pkg/man/whatis.db
11_whatdb		/usr/local/man/whatis.db
12
13# Subdirectories for paths ending in '/', IN SEARCH ORDER.
14_subdir		cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 cat7 man7 cat3f man3f cat9 man9 catn mann catl manl
15
16# Files typed by suffix and their commands.
17# Note the order, .Z must come after .[1-9].Z, or it will match first.
18_suffix		.0
19_build		.0.Z		/usr/bin/zcat %s
20_build		.0.gz		/usr/bin/gunzip -c %s
21_build		.[1-9ln]	/usr/bin/nroff -msafer -man %s
22_build		.[1-9ln].Z	/usr/bin/zcat %s | /usr/bin/nroff -msafer -man
23_build		.[1-9ln].gz	/usr/bin/gunzip -c %s | /usr/bin/nroff -msafer -man
24_build		.tbl		/usr/bin/tbl %s | /usr/bin/nroff -msafer -man
25_build		.tbl.Z		/usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -msafer -man
26_build		.tbl.gz		/usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -msafer -man
27_build		.me		/usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s
28
29_crunch		.Z		/usr/bin/compress -c > %s
30_crunch		.gz		/usr/bin/gzip -c > %s
31
32# Sections and their directories.
33# All paths ending in '/' are the equivalent of entries specifying that
34# directory with all of the subdirectories listed for the keyword _subdir.
35
36# default
37_default	/usr/{share,X11R6,X11,pkg,local}/man/
38
39# Other sections that represent complete man subdirectories.
40X11R6		/usr/X11R6/man/
41X11		/usr/X11/man/
42packages	/usr/pkg/man/
43local		/usr/local/man/
44
45doc		/usr/{pkg,share}/doc/{sendmail/op,sendmail/intro}
46
47# Specific section/directory combinations.
481		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}1
492		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}2
503		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}3
513F		/usr/{share,pkg}/man/{cat,man}3f
523f		/usr/{share,pkg}/man/{cat,man}3f
534		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}4
545		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}5
556		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}6
567		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}7
578		/usr/{share,X11R6,X11,pkg,local}/man/{cat,man}8
589		/usr/{share,pkg}/man/{cat,man}9
59l		/usr/{X11R6,X11,pkg,local}/man/{cat,man}l
60n		/usr/{X11R6,X11,pkg,local}/man/{cat,man}n
61