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

Re: [PATCH] pager support for command line client

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 06 Feb 2014 19:39:16 +0100

On 06.02.2014 17:38, Ben Reser wrote:
> This does raise another point. This means we need to defer enabling
> the automatic pager until we are actually ready to display output
> because the pager will block prompting for passwords.

Not in general; the pager intercepts stdout, but we prompt to and read
responses directly from the terminal. Only in extreme cases do we fall
back to prompting to stderr and reading responses from stdin. All of the
above is true for Windows, too.

When I rewrote the terminal abstraction for prompting, I tested it by
redirecting both stdout and stderr to /dev/null; and I still got the
prompts in the terminal.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-02-06 19:39:53 CET

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.