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

Re: [PATCH] Don't blow out scrollback in conflict handler prompt diff

From: Branko ─îibej <brane_at_xbc.nu>
Date: Mon, 11 Feb 2008 23:56:11 +0100

Eric Gillespie wrote:
> Many users have very little scrollback in their terminal
> emulators, and keep complaining to me about the diff option in
> our conflict handling uselessly blowing past that, ignoring their
> PAGER settings. This patch implements a new pager stream and
> uses it for the diff.
>
> I've tested on Ubuntu Dapper and Windows XP, both on i386. On
> both platforms, the tty detection works, and the pager is not
> invoked when stdout is redirected. I don't know how to get a
> pager on Windows, though. 'more' seems to work at the cmd.exe
> prompt but not via start_cmd:
>

It's more.com, not more.exe, that may be a problem depending on how you
set PAGER.

The isatty hack should be in APR; at least we should make an apr-like
function to do that and submit it for inclusion in APR. This way ... is
not nice.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-11 23:56:29 CET

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