[PATCH] pwclient: honor PAGER for view

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Apr 23 04:20:03 AEST 2015


Jeremy, ping ^1

thanks,

On 2 March 2015 at 22:43, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On 2 March 2015 at 22:34, Stephen Rothwell <sfr at canb.auug.org.au> wrote:
>> Hi Bernhard,
>>
>> On Mon,  2 Mar 2015 16:18:34 +0100 Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> wrote:
>>>
>>> Use the PAGER of the environment to view patches
>>
>> It would be nice if PAGER was not used when stdout is not a terminal so
>> that piping the output works naturally.
>
> IIRC that works fine for me with PAGER=less LESS=-IM pwclient view 1 2
> 3 > /tmp/foo (say).
>
> http://git.busybox.net/busybox/tree/miscutils/less.c#n1647
>
> I guess the big less should work fine too, the busybox more(1) does
> the same FWIW.
>
> thanks,


More information about the Patchwork mailing list