head 1.3; access; symbols cjep_sun2x:1.3.0.44 cjep_sun2x-base:1.3 cjep_staticlib_x-base1:1.3 cjep_staticlib_x:1.3.0.42 cjep_staticlib_x-base:1.3 phil-wifi-20200421:1.3 phil-wifi-20200411:1.3 phil-wifi-20200406:1.3 pgoyette-compat-merge-20190127:1.3 pgoyette-compat-20190127:1.3 pgoyette-compat-20190118:1.3 pgoyette-compat-1226:1.3 pgoyette-compat-1126:1.3 pgoyette-compat-1020:1.3 pgoyette-compat-0930:1.3 pgoyette-compat-0906:1.3 pgoyette-compat-0728:1.3 pgoyette-compat-0625:1.3 pgoyette-compat-0521:1.3 pgoyette-compat-0502:1.3 pgoyette-compat-0422:1.3 pgoyette-compat-0415:1.3 pgoyette-compat-0407:1.3 pgoyette-compat-0330:1.3 pgoyette-compat-0322:1.3 pgoyette-compat-0315:1.3 pgoyette-compat:1.3.0.40 pgoyette-compat-base:1.3 perseant-stdc-iso10646:1.3.0.38 perseant-stdc-iso10646-base:1.3 prg-localcount2-base3:1.3 prg-localcount2-base2:1.3 prg-localcount2-base1:1.3 prg-localcount2:1.3.0.36 prg-localcount2-base:1.3 pgoyette-localcount-20170426:1.3 bouyer-socketcan-base1:1.3 pgoyette-localcount-20170320:1.3 bouyer-socketcan:1.3.0.34 bouyer-socketcan-base:1.3 pgoyette-localcount-20170107:1.3 pgoyette-localcount-20161104:1.3 localcount-20160914:1.3 pgoyette-localcount-20160806:1.3 pgoyette-localcount-20160726:1.3 pgoyette-localcount:1.3.0.32 pgoyette-localcount-base:1.3 netbsd-5-2-3-RELEASE:1.3 netbsd-5-1-5-RELEASE:1.3 yamt-pagecache-base9:1.3 yamt-pagecache-tag8:1.3 tls-earlyentropy:1.3.0.28 tls-earlyentropy-base:1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3 riastradh-drm2-base3:1.3 netbsd-5-2-2-RELEASE:1.3 netbsd-5-1-4-RELEASE:1.3 netbsd-5-2-1-RELEASE:1.3 netbsd-5-1-3-RELEASE:1.3 agc-symver:1.3.0.30 agc-symver-base:1.3 tls-maxphys-base:1.3 yamt-pagecache-base8:1.3 netbsd-5-2:1.3.0.26 yamt-pagecache-base7:1.3 netbsd-5-2-RELEASE:1.3 netbsd-5-2-RC1:1.3 yamt-pagecache-base6:1.3 yamt-pagecache-base5:1.3 yamt-pagecache-base4:1.3 netbsd-5-1-2-RELEASE:1.3 netbsd-5-1-1-RELEASE:1.3 yamt-pagecache-base3:1.3 yamt-pagecache-base2:1.3 yamt-pagecache:1.3.0.24 yamt-pagecache-base:1.3 bouyer-quota2-nbase:1.3 bouyer-quota2:1.3.0.22 bouyer-quota2-base:1.3 matt-nb5-pq3:1.3.0.20 matt-nb5-pq3-base:1.3 netbsd-5-1:1.3.0.18 netbsd-5-1-RELEASE:1.3 netbsd-5-1-RC4:1.3 netbsd-5-1-RC3:1.3 netbsd-5-1-RC2:1.3 netbsd-5-1-RC1:1.3 netbsd-5-0-2-RELEASE:1.3 netbsd-5-0-1-RELEASE:1.3 jym-xensuspend-nbase:1.3 netbsd-5-0:1.3.0.16 netbsd-5-0-RELEASE:1.3 netbsd-5-0-RC4:1.3 netbsd-5-0-RC3:1.3 netbsd-5-0-RC2:1.3 jym-xensuspend:1.3.0.14 jym-xensuspend-base:1.3 netbsd-5-0-RC1:1.3 netbsd-5:1.3.0.12 netbsd-5-base:1.3 mjf-devfs2:1.3.0.10 mjf-devfs2-base:1.3 yamt-pf42-base4:1.3 yamt-pf42-base3:1.3 hpcarm-cleanup-nbase:1.3 yamt-pf42-base2:1.3 yamt-pf42:1.3.0.8 yamt-pf42-base:1.3 keiichi-mipv6-nbase:1.3 keiichi-mipv6:1.3.0.6 keiichi-mipv6-base:1.3 cube-autoconf:1.3.0.4 cube-autoconf-base:1.3 hpcarm-cleanup:1.3.0.2 hpcarm-cleanup-base:1.3 netbsd-0-9-RELEASE:1.1.1.1 netbsd-0-9-BETA:1.1.1.1 netbsd-0-9-ALPHA2:1.1.1.1 netbsd-0-9-ALPHA:1.1.1.1 netbsd-0-9:1.1.1.1.0.2 netbsd-0-9-base:1.1.1.1 netbsd-0-8:1.1.1.1 netbsd-alpha-1:1.1.1.1 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @.\" @; 1.3 date 93.12.21.02.58.07; author mycroft; state dead; branches; next 1.2; 1.2 date 93.08.01.07.30.55; author mycroft; state Exp; branches; next 1.1; 1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches; next ; desc @@ 1.3 log @Clean up deleted files. @ text @.\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" from: @@(#)man.conf.5 5.6 (Berkeley) 5/10/91 .\" $Id: man.conf.5,v 1.2 1993/08/01 07:30:55 mycroft Exp mycroft $ .\" .Dd May 10, 1991 .Dt MAN.CONF 5 .Sh NAME .Nm man.conf .Nd configuration file for .Xr man 1 .Sh DESCRIPTION The .Xr man 1 , .Xr apropos 1 , and .Xr whatis 1 commands search for manual pages or their database files as specified by the .Nm man.conf file. Manual pages are expected to be preformatted (see .Xr nroff 1 ) and named with a trailing ``.0''. .Pp The .Nm man.conf file contains two types of lines. .Pp The first type of line is a ``section'' line, which contains a section name followed by a directory path. Lines in this format specify that manual pages for the section may be found in the directory. .Pp Directories named with a trailing slash character (``/'') are expected to contain subdirectories (see the keyword ``_subdir'' below) instead of manual pages. These subdirectories are searched instead of the directory. .Pp All directories (either explicitly specified or named with a trailing slash) may contain subdirectories. The .Xr man 1 command automatically searches any subdirectory with the same name as the current machine type before the directory is searched. No specification of these subdirectories is necessary in the .Nm man.conf file. .Pp Section names are unrestricted except for the reserved words specified below; in general, however, it is best to avoid anything beginning with an underscore (``_'') in order to avoid future incompatibilities. .Pp The section named ``_default'' is the list of directories to be searched if no section is specified. .Pp The second type of line is preceded with a ``keyword''. The possible keywords and their meanings are as follows: .Pp .Bl -tag -width indent .It _subdir The list (in search order) of subdirectories which will be searched in any directory named with a trailing slash (``/'') character. This list is also used when a path is specified by the .Ev MANPATH environment variable or the .Fl M option. .It _version The version of the configuration file. .It _whatdb The full pathname (not just a directory path) for a database to be used by the .Xr apropos 1 and .Xr whatis 1 commands. .El .Pp Multiple specifications for all types of lines (except for ``_version'') are cumulative and the entries are used in the order listed in the file; multiple entries may be listed per line, as well. .Pp Empty lines or lines whose first non-whitespace character is a hash mark (``#'') are ignored. .Sh EXAMPLES Given the following .Nm man.conf file: .Bd -literal -offset indent _version BSD.1 _subdir cat1 cat2 cat3 _default /usr/share/man/ sect3 /usr/share/man/cat3 .Ed .Pp The default .Xr mktemp 3 manual page should be stored in .Dq Pa /usr/share/man/cat3/mktemp.0 . Any .Tn VAX architecture specific version of it should be stored in .Dq Pa cat3/vax/mktemp.0 . .Pp The command .Dq Li man mktemp would search the subdirectories .Dq Pa cat1 .Dq Pa cat2 , and .Dq Pa cat3 , in .Dq Pa /usr/share/man , in that order, for .Dq Pa mktemp.0''. If a subdirectory with the same name as the current machine type existed in any of them, it would be searched as well. .Pp The command .Dq Li man sect3 mktemp would only search .Dq Li /usr/share/man/cat3 and any possible per machine subdirectory. .Sh FILES .Bl -tag -width /etc/man.conf -compact .It Pa /etc/man.conf Standard manual directory search path. .El .Sh SEE ALSO .Xr apropos 1 , .Xr machine 1 , .Xr man 1 , .Xr whatis 1 , .Xr whereis 1 .Sh HISTORY The .Nm file format .Ud . @ 1.2 log @Add RCS indentifiers. @ text @d33 1 a33 1 .\" $Id: $ @ 1.1 log @Initial revision @ text @d32 2 a33 1 .\" @@(#)man.conf.5 5.6 (Berkeley) 5/10/91 @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@