delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/15/09:25:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=hdVb8+Uz+uduc9JT
umW8j5VrmPJQIlGyvVeIGAC6j3O69I/uFR6XvuRtQhuYRdtLIyzrvF+BdK1jz01X
5s8aBpR12rE260jpRQ71i/gyivj8qdC4HBW+pO63CEj68ogxvoPeHk7DZ+2VCUdu
6ieWQ+BdWb0l8MkEVyKhr6UwEJI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=bl0ZjXYUuQNsdpQM/qhBDH
NqhJ0=; b=gaj9zwb9shfFhCgSlA7+kvHjk0BklRyoNRYkbZb/lrXtKDIc6xiFow
6ixgRBdfimBjF4UFyalSBlXrLPzxQWHKYqqs1vGXiktIUY6WogUoMXAmwa+W/xcq
rYbCpPz6TNfeo7DjQHkm5gFzeUkP71JcPagm28bOFJrzyHDc5szYQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB autolearn=no version=3.3.2 spammy=Hx-languages-length:1784, HContent-Transfer-Encoding:8bit
X-HELO: mout.kundenserver.de
Subject: Re: How to Setup Multiple System Distro Manpages
To: cygwin AT cygwin DOT com
References: <dff40454-bca5-6f2d-183f-7f4707ff1059 AT SystematicSw DOT ab DOT ca> <f723202a-dbe2-b95e-6dca-1012ca9fd2c7 AT mail DOT com> <e85d959b-289a-106b-b5e5-6a4a4974fccf AT SystematicSw DOT ab DOT ca> <c33f508d-cec0-0ae9-936a-9751d26e1e86 AT mail DOT com>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <d0c63f94-0cba-9e8d-90df-53d457208ea5@towo.net>
Date: Sun, 15 Jul 2018 15:25:18 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <c33f508d-cec0-0ae9-936a-9751d26e1e86@mail.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019