bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info finds wrong manpage


From: Gavin Smith
Subject: Re: info finds wrong manpage
Date: Wed, 17 May 2023 20:27:37 +0100

On Mon, May 15, 2023 at 11:35:17AM +0000, Werner LEMBERG wrote:
> If I say `man fc-list`, I get the new manpage version.  However, if I
> say `info fc-list`, I get the old manpage version, i.e., the manpage
> from `/usr/share/man` gets displayed.  This smells fishy.

Can you check the output from "man -a fc-list", as info calls man with
the -a argument, meaning to find all man pages in the search path?

Also, inside Info, could you try scrolling the page to see if both
man pages are displayed?

If there is still a disparity between "man -a" and "info", then I don't
have any other ideas why this might be.


> Is it possible that `info` doesn't pass the `MANPATH` environment
> variable to the `man` subprocess?

I doubt it.

Note that a set shell variable is not necessarily inherited by
subprocesses, unless it is exported.  Have you tried "export MANPATH"
in your shell?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]