delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/14/22:13:01

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=MugP0jsaXcDZ6sk+
Y0NVFw5jm/UP2v1CHhpGEU3w1ENq6dSTKJs4qTxfRCabBZJsx/OBz7ygZ/ac03RI
ZqYDXBDTB1A8LcC3W95Cm7IPsIHPOJEjQ+ON2lr7PLcjWIfwYLnQdK42hPhj3e9/
7/ZeQhBDQdsBt40UOu7h2j1E3E8=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=V9ztDvD12Z3J3qDhk1/nf3
MdWbQ=; b=HyDsZ/Zq17TpxHmPEPOq373GV+E5KYVjMWurqkA+yospj7pT6PRU1O
H+h2a/9DSSddRIrAGun4JbNM4QsfdULZhEHYmADFKf/VABFMR3TJM7zWbxzI6RHQ
K2rXnOTomXB7xvhQJg40rhRHuWoAvbToLOELKmOVoDVMNuGhSf1KU=
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=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Canada, canada, Jack, books
X-HELO: smtp-out-no.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
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> <966e8dcd-87c5-ce2f-f80c-98c8dcda570c AT aya DOT yale DOT edu>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <99bd3ae9-663b-1cfa-f918-0b1f12926acc@SystematicSw.ab.ca>
Date: Sat, 14 Jul 2018 20:12:41 -0600
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: <966e8dcd-87c5-ce2f-f80c-98c8dcda570c@aya.yale.edu>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 2018-07-14 16:40, Jack wrote:
> On 07/14/2018 04: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/
>> cat7/          FreeBSD-12-current/          man3p/  openbsd@        ubuntu@
>> cat8/          FreeBSD-ports-11.1-RELEASE/  man4/   OpenBSD-6.2/    x@
>> centos@        hpux@                        man5/   ports@          X11R7.4/
>> CentOS-7.1/    HP-UX-11.22/                 man6/   redhat@
>> darwin@        man0p/                       man7/   RedHat-9-i386/
>> Darwin-7.0.1/  man1/                        man8/   solaris@
>>
>> 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?
>>
> Purely a guess on my part, but should those directories all start with "man" (or
> "cat") ?

From docs I have checked, man is the default name for the current system e.g.
man -m man, and freebsd, debian, etc. should be at the same level, with man?,
cat?, xx_XX, directories below that, so I have linked and moved them up and down
the hierarchy, modified /etc/man_db.conf to match, rerun mandb, and tried using
"man -m freebsd ...", etc. without any success as far as I can tell.

I have other system man and cat directories in my MANPATH at various levels
above and under Cygwin, and can access those manpages, just not the alternative
systems.
I am sure I must have missed something unobvious in the docs, and noticed
nothing about this in the books, which I have checked.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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