[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: Marc Haisenko <haisenko_at_webport.de>
Date: 2004-09-03 16:01:19 CEST

On Friday 03 September 2004 15:46, David Wilson wrote:
> Hi there,
>
> [...]
>
> My basic idea is to test for something like the following or it's APR
> equivalent:
>
> (isatty(fileno(stdout)) && (pager = getenv("PAGER")) && *pager)
>
> [...]

Very nice idea ! Especially useful in connection with "svn log" ...

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 3 15:57:17 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.