[darcs-devel] [issue610] when to use a $PAGER

2008-02-07 Thread Ori Avtalion


While the exact use-cases of the pager are still discussed, I noticed that
darcs help command launches a pager, but darcs command --help doesn't.

--
nosy: +salty-horse, wferi -wferi

__
Darcs bug tracker [EMAIL PROTECTED]
http://bugs.darcs.net/issue610
__
___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel


Re: [darcs-devel] [issue610] when to use a $PAGER

2008-01-25 Thread David Roundy
On Fri, Jan 25, 2008 at 10:33:21PM -, Mark Stosberg wrote:
 This well-commented perl function is_interactive may be of interest 
 when writing code that decides when to show color and use a $PAGER by 
 default and when to not.  It is what the 'ack' utility uses:

The problem is that it's never safe to show color and use a $PAGER by
default at the same time, because color causes many popular pagers to barf
by default.  So it's one or the other, not both.
-- 
David Roundy
Department of Physics
Oregon State University
___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel