[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] external pager

From: Chet Ramey
Subject: Re: [Bug-readline] external pager
Date: Mon, 17 Mar 2014 16:15:18 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 3/17/14 3:07 PM, Christof Warlich wrote:
> Hi Chet,
>> Thanks for the suggestion. Right now, there's no general mechanism for
> readline to invoke another program.
> Yes I know, I had a look at the source already, realizing that the internal
> paging mechanism is quite entangled within readline.
> I even considered trying a patch myself by passing the output to popen() to
> talk to the external pager.
> I'm not sure if I really find the time, but just in case: Would you be
> inclined to accept a patch that replaces the internal pager accordingly?

I would have to see whether or not a popen-style approach would work with
applications that want to manage the terminal in other ways, its effect on
any signal handling applications want to do, and whether or not it would
work in a callback-oriented application.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]