summaryrefslogtreecommitdiff
path: root/usr.bin/man
diff options
context:
space:
mode:
authorgutteridge <gutteridge@NetBSD.org>2022-06-18 02:14:39 +0000
committergutteridge <gutteridge@NetBSD.org>2022-06-18 02:14:39 +0000
commit1974c77ef4dcf81b1e63dda3c60640ced4fdbbac (patch)
tree515cfa0d719fc31bea8894a3e9c14ca1c5a5bb0c /usr.bin/man
parent49b0b52d770ec45b7c08d9e2f1e393924ab7e1da (diff)
man.1: add a small note about alternate machine name searches
Diffstat (limited to 'usr.bin/man')
-rw-r--r--usr.bin/man/man.114
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/man/man.1 b/usr.bin/man/man.1
index 49b3bf3512a..cbc4192e0fd 100644
--- a/usr.bin/man/man.1
+++ b/usr.bin/man/man.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: man.1,v 1.29 2016/06/16 15:10:58 abhinav Exp $
+.\" $NetBSD: man.1,v 1.30 2022/06/18 02:14:39 gutteridge Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)man.1 8.2 (Berkeley) 1/2/94
.\"
-.Dd June 16, 2016
+.Dd June 18, 2022
.Dt MAN 1
.Os
.Sh NAME
@@ -213,7 +213,7 @@ As some man pages are intended only for specific architectures,
searches any subdirectories,
with the same name as the current architecture,
in every directory which it searches.
-Machine specific areas are checked before general areas.
+Machine-specific areas are checked before general areas.
The current machine type may be overridden by setting the environment
variable
.Ev MACHINE
@@ -222,6 +222,12 @@ Machine-specific man pages may also be requested by
prepending the relevant subdirectory name to the page name,
separated by
.Ql Pa \&/ .
+(See also the
+.Dq _ Ns Aq machine
+line in the
+.Xr man.conf 5
+configuration file, which defines additional supplemental paths related to a
+specific machine type.)
.It Ev MANPATH
The standard search path used by
.Nm
@@ -235,7 +241,7 @@ The subdirectories to be searched as well as their search order
is specified by the
.Dq _subdir
line in the
-.Nm
+.Xr man.conf 5
configuration file.
.It Ev PAGER
The pagination command used for writing the output.