[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Piping copious output to PAGER automatically.

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-06 00:35:41 CEST

David Wilson wrote:
> On Sun, Sep 05, 2004 at 10:47:34AM -0700, Peter S. Housel wrote:
>
>> Setting PAGER just lets you choose *which* pager you want to use, for
>> programs that use one; it's not a license for arbitrary programs to
>> start piping things to PAGER.
>
> That's a fair point, but what of the case where we are more than likely
> flooding the user's screen, and here is an obvious and unintrusive way
> of preventing that?
>
> What are peoples' thoughts on making it a (default off) option, or one
> that can be applied like:
>
> [miscellany]
> auto-pager = cat diff blame
>
> The latter resolves the issue of which commands to apply the
> functionality to.

Ouch.

I've just realized that for this feature to be truly useful for me, it would
need to support different pagers for different svn commands!

log => less - streamy display
diff => vimless - syntax highlighting, not streamy

Umm...

Maybe I'm better off using explicit pipes...

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 6 00:36:34 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.