1 # $NetBSD: man.conf,v 1.22 2006/05/30 00:40:22 christos 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/pkg/man/whatis.db 10 _whatdb /usr/local/man/whatis.db 11 12 # Subdirectories for paths ending in '/', IN SEARCH ORDER. 13 _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 14 15 # Files typed by suffix and their commands. 16 # Note the order, .Z must come after .[1-9].Z, or it will match first. 17 _suffix .0 18 _build .0.Z /usr/bin/zcat %s 19 _build .0.gz /usr/bin/gunzip -c %s 20 _build .[1-9ln] /usr/bin/nroff -msafer -man %s 21 _build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/nroff -msafer -man 22 _build .[1-9ln].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -msafer -man 23 _build .tbl /usr/bin/tbl %s | /usr/bin/nroff -msafer -man 24 _build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -msafer -man 25 _build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -msafer -man 26 _build .me /usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s 27 28 _crunch .Z /usr/bin/compress -c > %s 29 _crunch .gz /usr/bin/gzip -c > %s 30 31 # Sections and their directories. 32 # All paths ending in '/' are the equivalent of entries specifying that 33 # directory with all of the subdirectories listed for the keyword _subdir. 34 35 # default 36 _default /usr/{share,X11R6,pkg,local}/man/ 37 38 # Other sections that represent complete man subdirectories. 39 X11R6 /usr/X11R6/man/ 40 packages /usr/pkg/man/ 41 local /usr/local/man/ 42 43 # Specific section/directory combinations. 44 1 {cat,man}1 45 2 {cat,man}2 46 3 {cat,man}3 47 3F {cat,man}3f 48 3f {cat,man}3f 49 4 {cat,man}4 50 5 {cat,man}5 51 6 {cat,man}6 52 7 {cat,man}7 53 8 {cat,man}8 54 9 {cat,man}9 55 l {cat,man}l 56 n {cat,man}n 57