pager and stderr

Matt Mackall mpm at selenic.com
Fri Nov 20 15:42:33 CST 2015


On Fri, 2015-11-20 at 15:35 -0500, Bryan O'Sullivan wrote:
> I ask because I've added some code that, if Mercurial is sent
> SIGUSR1, it
> prints a traceback to stderr, which is helpful in figuring out what a
> long-running command is doing.

Aka contrib/showstack.py!

> It seems highly undesirable to me to have stderr go through the
> pager. Am I
> alone?

No, but also not in a clear or timely majority. There are obvious
usability advantages to having paged stderr and a lot of people will be
sad if you make them figure out how to Unix good.

I'd take a config option though.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list