Annotation of src/etc/man.conf, Revision 1.21
1.21 ! schwarze 1: # $OpenBSD: man.conf,v 1.20 2014/02/24 20:11:53 espie 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.21 ! schwarze 8: _whatdb /usr/X11R6/man/whatis.db
! 9: _whatdb /usr/ports/infrastructure/man/whatis.db
1.4 dm 10: _whatdb /usr/local/man/whatis.db
1.1 deraadt 11:
12: # Subdirectories for paths ending in '/', IN SEARCH ORDER.
1.18 schwarze 13: _subdir {cat,man}1 {cat,man}8 {cat,man}6 {cat,man}2 {cat,man}3 {cat,man}5 {cat,man}7 {cat,man}4 {cat,man}9 {cat,man}3p {cat,man}3f {cat,man}n
1.1 deraadt 14:
15: # Files typed by suffix and their commands.
1.12 jmc 16: # Note the order: .Z must come after .[1-9n].Z, or it will match first.
1.1 deraadt 17: _suffix .0
18: _build .0.Z /usr/bin/zcat %s
1.12 jmc 19: _build .0.gz /usr/bin/gzcat %s
1.20 espie 20: _build .[1-9n] /usr/bin/mandoc %s
21: _build .[1-9n].Z /usr/bin/zcat %s | /usr/bin/mandoc
22: _build .[1-9n].gz /usr/bin/gzcat %s | /usr/bin/mandoc
23: _build .[1-9][a-z] /usr/bin/mandoc %s
24: _build .[1-9][a-z].Z /usr/bin/zcat %s | /usr/bin/mandoc
25: _build .[1-9][a-z].gz /usr/bin/gzcat %s | /usr/bin/mandoc
26: _build .tbl /usr/bin/mandoc %s
27: _build .tbl.Z /usr/bin/zcat %s | /usr/bin/mandoc
28: _build .tbl.gz /usr/bin/gzcat %s | /usr/bin/mandoc
1.1 deraadt 29:
30: # Sections and their directories.
31: # All paths ending in '/' are the equivalent of entries specifying that
32: # directory with all of the subdirectories listed for the keyword _subdir.
33:
34: # default
1.17 sthen 35: _default /usr/{share,X11R6,local,ports/infrastructure}/man/
1.1 deraadt 36:
37: # Other sections that represent complete man subdirectories.
1.11 jmc 38: X11 /usr/X11R6/man/
1.1 deraadt 39: X11R6 /usr/X11R6/man/
40: local /usr/local/man/
41:
42: # Specific section/directory combinations.
1.11 jmc 43: 1 /usr/{share,X11R6,local}/man/{cat,man}1
44: 2 /usr/{share,X11R6,local}/man/{cat,man}2
45: 3 /usr/{share,X11R6,local}/man/{cat,man}3
1.13 jmc 46: 3F /usr/local/man/{cat,man}3f
47: 3f /usr/local/man/{cat,man}3f
48: 3P /usr/{share,local}/man/{cat,man}3p
49: 3p /usr/{share,local}/man/{cat,man}3p
1.11 jmc 50: 4 /usr/{share,X11R6,local}/man/{cat,man}4
51: 5 /usr/{share,X11R6,local}/man/{cat,man}5
52: 6 /usr/{share,X11R6,local}/man/{cat,man}6
53: 7 /usr/{share,X11R6,local}/man/{cat,man}7
54: 8 /usr/{share,X11R6,local}/man/{cat,man}8
1.2 deraadt 55: 9 /usr/share/man/{cat,man}9
1.14 deanna 56: n /usr/local/man/{cat,man}n