[PATCH] Log, annotate and diff use an environment pager if available
Martin Geisler
mg at daimi.au.dk
Thu Mar 6 13:14:31 CST 2008
David Soria Parra <sn_ at gmx.net> writes:
> This time I'll changed also hgrc to document two new variables:
> ui.pager can be used to override the default pager command and
> ui.usepager can be used to disable the use of the pager at all, but it
> defaults to True.
I'm sorry, but I think this is a bad idea -- if I want a pager, then
I'll run it myself when needed. I want to decide on a case by case
basis. Sometimes I want to run things through "colordiff.pl | less -R",
sometimes I might want to run things through "tee", and sometimes I just
want to use the scrollback buffer in my terminal.
I can see how this could be a little interesting for a platform where
there is no sane pager available by default. Linux has all the pagers I
need, but what about Windows?
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080306/825327db/attachment.pgp
More information about the Mercurial-devel
mailing list