Mail Archives: djgpp-workers/2001/01/01/10:33:02
> 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 -