delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/03/12:59:48

From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
To: <djgpp-workers AT delorie DOT com>
Subject: RE: Two glitches for autoconf 2.49b
Date: Wed, 3 Jan 2001 19:03:44 +0100
Message-ID: <NEBBIOJNGMKPNOBKHCGHAEENCAAA.tim.van.holder@pandora.be>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <Pine.SUN.3.91.1010103104332.1129D-100000@is>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA05066
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > So having, say, a $DJDIR/share/perl5/man directory, with the man
> > files in subdirectories would mirror the layout of the
> > $DJDIR/lib/perl5/ directory.
> Does "make install" in the Perl distribution indeed install the man
> pages in $prefix/share/perl/man/?  Or does it install them in the
> standard $prefix/man/ tree?
It defaults to the standard man tree, but it asks you during the
configure process, so this could be defaulted to $prefix/share/perl/man/
in the djgpp hint file. I was looking for a way to have subdirs (and the
fairly decent 8.3 support that comes with it), while not upsetting the
normal man tree too much.

> It is an issue for the way `man' is written: it looks for man pages in
> each directory mentioned in MANPATH and in its first-level
> subdirectories, but only if those subdirectories match man* and cat*
> patterns (the actual patterns are more complex than man*, to DTRT in
> various special cases).  It will not descend into deeper
> subdirectories, and it will not look for foo.1 in a directory called
> foobar/man/man5, say.
Ah, you mean it looks through the manpaths based on a pattern that
already includes the topic? If not, I don't see the problem:
you substitute '/' for '::' in the topic name; then in each top-level
subdir of the dirs in MANPATH (if they match man*/cat*), you look for
'topic.section' (so for 'Foo::Bar' in section 3, you'd look for
'Foo/Bar.3' in /dev/env/SOMEMANDIR/man3. I would expect this to DTRT
(since we crete the subdir ref by substituting ::, man doesn't need
to look though further subdirs).

In any case, for me it's mostly a moot point anyway; I rarely use plain
DOS, so the 8.3 issue doesn't really affect me. As long as mane
transparently maps :: to __ (or _, as the case may be) so 'man Foo::Bar'
works, I'll be happy.

- Raw text -


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