Annotation of src/etc/man.conf, Revision 1.10
1.10 ! jmc 1: # $OpenBSD: man.conf,v 1.9 2007/05/17 06:41:53 jmc Exp $
1.1 deraadt 2:
3: # Sheer, raging paranoia...
4: _version BSD.2
5:
6: # The whatis/apropos database.
7: _whatdb /usr/share/man/whatis.db
1.4 dm 8: _whatdb /usr/local/man/whatis.db
9: _whatdb /usr/X11R6/man/whatis.db
1.1 deraadt 10:
11: # Subdirectories for paths ending in '/', IN SEARCH ORDER.
1.6 millert 12: _subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 man5 cat7 man7 cat3f man3f cat4 man4 cat9 man9 cat3p man3p
1.1 deraadt 13:
14: # Files typed by suffix and their commands.
1.8 millert 15: # Note the order, .Z must come after .[1-9n].Z, or it will match first.
1.1 deraadt 16: _suffix .0
17: _build .0.Z /usr/bin/zcat %s
18: _build .0.gz /usr/bin/gunzip -c %s
1.8 millert 19: _build .[1-9n] /usr/bin/nroff -man %s
20: _build .[1-9n].Z /usr/bin/zcat %s | /usr/bin/nroff -man
21: _build .[1-9n].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -man
1.5 millert 22: _build .[1-9][a-z] /usr/bin/nroff -man %s
23: _build .[1-9][a-z].Z /usr/bin/zcat %s | /usr/bin/nroff -man
24: _build .[1-9][a-z].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -man
1.1 deraadt 25: _build .tbl /usr/bin/tbl %s | /usr/bin/nroff -man
26: _build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -man
27: _build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -man
28: _build .me /usr/bin/nroff -me %s 2>/dev/null | cat -s
1.10 ! jmc 29: _build .ms /usr/bin/nroff -ms %s 2>/dev/null | cat -s
1.1 deraadt 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
1.8 millert 36: _default /usr/{share,X11R6,X11,contrib,gnu,local}/{man,man/old}/
1.1 deraadt 37:
38: # Other sections that represent complete man subdirectories.
39: X11 /usr/X11/man/
40: X11R6 /usr/X11R6/man/
41: contrib /usr/contrib/man/
42: local /usr/local/man/
43: new /usr/contrib/man/
44: old /usr/share/man/old/
45:
46: # Specific section/directory combinations.
1.8 millert 47: 1 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}1
48: 2 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}2
49: 3 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}3
1.1 deraadt 50: 3F /usr/share/man/cat3f
51: 3f /usr/share/man/cat3f
1.7 millert 52: 3P /usr/share/man/cat3p
53: 3p /usr/share/man/cat3p
1.8 millert 54: 4 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}4
55: 5 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}5
56: 6 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}6
57: 7 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}7
58: 8 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}8
1.2 deraadt 59: 9 /usr/share/man/{cat,man}9