From: "Nikolai Weibull" <now@bitwi.se>
To: "Bart Schaefer" <schaefer@brasslantern.com>
Cc: "Zsh Workers" <zsh-workers@sunsite.dk>
Subject: Re: Why doesn't READNULLCMD default to $PAGER?
Date: Wed, 1 Oct 2008 10:44:34 +0200 [thread overview]
Message-ID: <dbfc82860810010144r2e428c80g5e33f346f7757fc3@mail.gmail.com> (raw)
In-Reply-To: <080930230126.ZM32683@torch.brasslantern.com>
On Wed, Oct 1, 2008 at 08:01, Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Sep 30, 11:40pm, Nikolai Weibull wrote:
> }
> } Why doesn't READNULLCMD default to $PAGER instead of more?
>
> Because $PAGER is not a variable set or used by the shell.
Well, is there some security concern in Zsh reading it? Why not
initialize READNULLCMD as follows (converted to equivalent C code, of
course)?
READNULLCMD=${PAGER:-more}
I mean, I set PAGER because I don't want more(1) (or less(1) for that
matter) to be invoked by most other programs that need a PAGER.
next prev parent reply other threads:[~2008-10-01 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 21:40 Nikolai Weibull
2008-10-01 6:01 ` Bart Schaefer
2008-10-01 8:44 ` Nikolai Weibull [this message]
2008-10-01 13:21 ` Richard Hartmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dbfc82860810010144r2e428c80g5e33f346f7757fc3@mail.gmail.com \
--to=now@bitwi.se \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).