bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] external pager


From: Christof Warlich
Subject: Re: [Bug-readline] external pager
Date: Tue, 18 Mar 2014 17:41:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 17.03.2014 21:15, schrieb Chet Ramey:
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.

Chet
Fair enough :-) Thanks,

Chris



reply via email to

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