NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: correct way to append to search directories for man
On Sat, 10 Aug 2024, Will Senn wrote:
I also tried adding a section in /etc/man.conf where all those other
directories come from:
# Other sections that represent complete man subdirectories.
X11R7 /usr/X11R7/man/
packages /usr/pkg/man/
local /usr/local/man/
# mine
share /usr/local/share/man/
Add it to `_default':
```
$ diff -u /etc/man.conf{.orig,}
--- /etc/man.conf.orig 2024-01-29 23:14:46.000000000 +0000
+++ /etc/man.conf 2024-08-11 08:03:26.043097894 +0000
@@ -38,7 +38,7 @@
# directory with all of the subdirectories listed for the keyword _subdir.
# default
-_default /usr/{share,X11R7,pkg,local}/man/
+_default /usr/{share,X11R7,pkg,local}/man/ /opt/lynx/share/man/
# Other sections that represent complete man subdirectories.
X11R7 /usr/X11R7/man/
$
```
-RVP
Home |
Main Index |
Thread Index |
Old Index