Web lists-archives.com

Re: How to Setup Multiple System Distro Manpages




Am 15.07.2018 um 14:19 schrieb john doe:
On 7/15/2018 9:21 AM, Brian Inglis wrote:
On 2018-07-15 00:39, john doe wrote:
On 7/14/2018 10:50 PM, Brian Inglis wrote:
I've installed a few WSL distros for comparison and downloaded a bunch of other
manpage sets and unpacked them:
$ l /proc/cygdrive/c/usr/local/share/man/
cat1/          debian@                      man1p/ mann/           SunOS-5.10/ cat3/          Debian-8.1.0/                man2/ netbsd@         suse@ cat5/          freebsd@                     man3/ NetBSD-7.1/     SuSE-11.3/
...
but despite reading docs, adding links and changing configs, I'm unable to get
man/-db to access these with or without the -m system switch.
I know I must be missing some essential point, but searching has not come up
with anything to help me fix this.
Has anyone here set this up and can suggest an approach that will work?
In addition to the other answers; maybe exporting those directories in the
'PATH' env variable...

I already tried listing them all at the end of man-db.conf and MANPATH.

I was talking about the env 'PATH' var and not 'MANPATH' but that does not make any difference. :)
Of course it does. man does not look at PATH.

$ cat ${HOME}/try/mann/bogus.n
[boring contents skipped]
$ man --manpath=${HOME}/try bogus
[...]
Redirecting the manpath and adding alternative systems as man domains are two separate issues. Both work just fine, adding another system (whether also redirected or not) works without any additional configuration.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple