delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/01/10:33:02

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: Mon, 1 Jan 2001 16:36:59 +0100
Message-ID: <NEBBIOJNGMKPNOBKHCGHEEDICAAA.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.1010101160925.9706B-100000@is>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA03299
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

> Are you sure?  I specifically made `man' to work with _any_ extension, so 
> that foo.txt and bar.hlp could be found.  If you tried with config.sub 
> and it didn't work, I will have to look into that.
I tried config.foo. No luck. It will find config.guess.1 in man/cat1, but
it claims it's the page for 'config' in section 'guess.1' if man -l is used.

Oh, and while we're on the topic of man pages, how would you treat
Perl's man pages (eg Foo::Bar.3). These are extremely invalid names
on dos. I'd suggest that man changes '::' in a man page to a '/', so
the man pages can be in subdirs (eg man/cat3/Foo/Bar.3).

> This actually confirms what I remembered: `man' doesn't care about the 
> .bz2 extension, it just looks for `autoconf.*' in each directory along 
> MANPATH.  (Actually, it looks for `autoconf.[!iz]*', to avoid finding 
> `autoconf.igz' and `autoconf.zip'; I guess .bz2 files were not in such 
> widespread use back when I wrote `man' ;-).
Yes, but with 'man config.guess', it simply tries to look for
config.guess.[!iz]*.
So a 'man -a config' would give both config.sub and config.guess, but
there's no way to select just one of them.
Actually, even that fails: I'd put a config.guess file in both man and
man/man1, and config.sub.1 and config.guess.1 in man/cat1. 'man -a config'
properly displayed the latter two, but the first two gave this error:

G:\Djgpp\Bin/troff.exe: fatal error: can't open \
`/dev/env/DJDIR/man/man1/config.guess': No such file or directory (ENOENT)
G:\Djgpp\Bin/troff.exe: fatal error: can't open \
`/dev/env/DJDIR/man/config.guess': No such file or directory (ENOENT)

> ...or compress autoconf.info with gzip to get autoconf.igz, which will be 
> ignored by `man'.
Yes, but bzip2 compression gives better results. And I don't want to
recompile texinfo again, just to add ibz(2) to the list of known extensions.
Also, 'igz' and ibz(2) aren't recognized by auto-compression-mode in emacs;
.bz2 is :-)
And since I put my man pages in $DJDIR/man, this isn't a big issue anyway.

- Raw text -


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