Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why doesn't READNULLCMD default to $PAGER?
- X-seq: zsh-workers 25794
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Nikolai Weibull" <now@xxxxxxxx>
- Subject: Re: Why doesn't READNULLCMD default to $PAGER?
- Date: Wed, 1 Oct 2008 15:21:33 +0200
- Cc: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>, "Zsh Workers" <zsh-workers@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wsKpkDk+/Oe5ZEUp0ChPGJya88eQru/EtVy9E6bayYQ=; b=ty73c76+yvUbMrwg0JIiomZgOQ5uofS1PNhv6kKTgGjoHYKHpeWGTNFAbzu3FpiXup oQ2mATuTDXRrRU7G7kLOkOgFZtI0m4G0pKar1QpY/WFKGEKxPXAe6BDhgv9NE8LFCAiz D7XEyBCHIeCeV3Mufca5XzV8tIkRdZxz85xzA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=t16EJYJC1jrhMUUiImxPqAuMq5rgM1rTMfaS/Qol6LZvXUQhVHMKGx84Cl5znU42Rr FhsN4y3sIGEPhRnT5BL7t9Gfp/iiH3d9oHTzCZG60br0aSLaN/2TuqOM6pAdrvp7PhyO +bUeSq8NaOkL6GI074K3sNNMpbVyYrck23Q/s=
- In-reply-to: <dbfc82860810010144r2e428c80g5e33f346f7757fc3@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <dbfc82860809301440y27a14351u173ccf9e415c389b@xxxxxxxxxxxxxx> <080930230126.ZM32683@xxxxxxxxxxxxxxxxxxxxxx> <dbfc82860810010144r2e428c80g5e33f346f7757fc3@xxxxxxxxxxxxxx>
On Wed, Oct 1, 2008 at 10:44, Nikolai Weibull <now@xxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author