zsh-workers
 help / color / mirror / code / Atom feed
From: "Richard Hartmann" <richih.mailinglist@gmail.com>
To: "Nikolai Weibull" <now@bitwi.se>
Cc: "Bart Schaefer" <schaefer@brasslantern.com>,
	 "Zsh Workers" <zsh-workers@sunsite.dk>
Subject: Re: Why doesn't READNULLCMD default to $PAGER?
Date: Wed, 1 Oct 2008 15:21:33 +0200	[thread overview]
Message-ID: <2d460de70810010621v72afc678y69daf7d11c83cdd3@mail.gmail.com> (raw)
In-Reply-To: <dbfc82860810010144r2e428c80g5e33f346f7757fc3@mail.gmail.com>

On Wed, Oct 1, 2008 at 10:44, Nikolai Weibull <now@bitwi.se> wrote:

> 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.

Off topic, but if you are using most instead of less just for color
support, you might find happiness with


    if [ $terminfo[colors] -ge 8 ]
    then
        export LESS_TERMCAP_mb=$'\E[01;31m'
        export LESS_TERMCAP_md=$'\E[01;31m'
        export LESS_TERMCAP_me=$'\E[0m'
        export LESS_TERMCAP_se=$'\E[0m'
        export LESS_TERMCAP_so=$'\E[01;44;33m'
        export LESS_TERMCAP_ue=$'\E[0m'
        export LESS_TERMCAP_us=$'\E[01;32m'
    fi


Richard


      reply	other threads:[~2008-10-01 13:22 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
2008-10-01 13:21     ` Richard Hartmann [this message]

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=2d460de70810010621v72afc678y69daf7d11c83cdd3@mail.gmail.com \
    --to=richih.mailinglist@gmail.com \
    --cc=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).