NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: `man` cannot find any entry
Ah thanks for pointing it out! It turns out to be a portability issue
- in FreeBSD[1] it works because `man`'s behavior of using MANPATH is
different. It allows a prefix/post colon to append/prepend the default
man path. However this is not the case in NetBSD. It also somehow
works in Linux, but I don't know the exact reason that it works.
It seems difficult to come with up a cross-platform solution to add
user customized manpath...
[1]: https://www.freebsd.org/cgi/man.cgi?man(1)
On Thu, May 13, 2021 at 9:22 PM Robert Elz <kre%munnari.oz.au@localhost> wrote:
>
> Date: Thu, 13 May 2021 15:29:25 -0700
> From: J C <jcurt312%gmail.com@localhost>
> Message-ID: <CACp_ZA3-YVR7LOMAcOT4Nc-8UqrjY44vxDece_HM8U5Bmt3NUw%mail.gmail.com@localhost>
>
> | Any idea how I can fix this?
>
> unset MANPATH
>
> Then find where it is being set, and
> make that stop happening.
>
> Use of MANPATH is for unusual situations,
> it should not normally be required.
>
> kre
Home |
Main Index |
Thread Index |
Old Index