Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Does mandir get saved some place?
- X-seq: zsh-users 22795
- From: Jim <linux.tech.guy@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Does mandir get saved some place?
- Date: Sun, 6 Aug 2017 14:20:07 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=7AsB64lakV47pth2CsMPf5+9st9UoNyP9KCO79uJnNU=; b=Vt3Ay7giL/MAr/mU0NHzpM+51WSVDGs8EbVYeviOFUfo5bLTeJnuLU11w6TuXWYnTX vnHmPjUaulkxMe3qfVgGVcFhUKtqjvuRXiZshzZfa+wvsH5Nal6yWoDds5UKniMMdhp0 BxFGGxtCDNbDItdjgoMd7PXhdGEvO0soPLjc/3GuGiL2YMg4vQT7xNGpO0O7nnSfhPMr QcTNlbnBD8+dC8/yGNb0lNSnk1dMu7eJrXpud5peh98FMJP4wzDaNhv4CNWO3yee+QlU pGnSTRWPVtk22U8lTNVkVwAzFSjuft+cH3R3w1Lv/h0WGl9GP30SFFue7mVV1jvVm71s 4d0g==
- In-reply-to: <CAH+w=7YVeioBBctWLH_qqQw-42aooobt3kpsUJKMsFUs=xWoiA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CA+rB6G+XTk5JvKQQ=8RTic4j+92UgvBpn6p6Q=P0hJBmz1uoaA@mail.gmail.com> <CAH+w=7YVeioBBctWLH_qqQw-42aooobt3kpsUJKMsFUs=xWoiA@mail.gmail.com>
- Reply-to: linuxtechguy@xxxxxxxxx
Bart,
On Sun, Aug 6, 2017 at 6:02 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
wrote:
> On Thu, Aug 3, 2017 at 8:01 AM, Jim <linux.tech.guy@xxxxxxxxx> wrote:
> >
> > With the fact that the configure script has the option "mandir=<some
> dir>"
> > I assumed(bad thing to do) that there would be an easy way to discover
> > where the man pages were saved.
>
> Ah, well, the purpose of the configure option is so you can tell "make
> install" to put the manual pages in a place that's already in your
> $MANPATH. It's not intended to change the shell to know about some
> new location.
>
> Understand. Wasn't looking at it from that point of view.
> > would it be unreasonable to ask that a variable like "mandir" be set with
> > the path to those man pages?
>
> It wouldn't be unreasonable to ask, but I wouldn't promise an
> affirmative response.
>
In light of that, a rethink is in in order. The one thing that still
bothers me
is that if you just use the defaults when building multiple versions the man
pages are overwritten. Without a rebuild there is currently no way, that I
can see, to get a specific version of the man pages back without a rebuild.
Reminds me of the saying, "If it hurts, don't do it". But it does hurts
anyone
who is not aware of this. Not sure there is an easy answer.
Zsh is version "wise", so it doesn't seem unreasonable to have the man
pages do the same(like ${prefix}/share/zsh/{version}/man) It would take
the guesswork out of where the man pages are and make it easier to set
MANPATH when changing versions. This can be done with the --mandir
option and a few lines in .zshrc. The default man pages would be whatever
version of zsh your distribution has installed. But most distributions are
behind the current version, which started me down this rode in the first
place. :-( As long as things are under my *own* control, this will work.
Thanks for responding and listening,
Jim
Messages sorted by:
Reverse Date,
Date,
Thread,
Author