Re: [RFC/PATCH] pager: do not fork a pager if environment variable PAGER is set to NONE
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 16, 2006, 02:01 UTC
- Message-ID
- <Pine.LNX.4.63.0604160357460.31461@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7vwtdqef6u.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sat, 15 Apr 2006, Junio C Hamano wrote:
Show 8 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > This helps debugging tremendously. > > > > Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> > > I like what this wants to do. I am not so sure PAGER=NONE is a > good convention, however.
I am sure it is not.
One solution would be to introduce yet another command line option "--no-pager", but I find that ugly.
Another solution would be to check if the environment variable NO_PAGER is set.
Wishes?
Ciao, Dscho