develooper Front page | perl.perl5.porters | Postings from October 2011

Re: [perl #72156] perldoc should ask less to handle ANSI escapes

Joshua ben Jore
October 21, 2011 11:50
Re: [perl #72156] perldoc should ask less to handle ANSI escapes
Message ID:
Thanks, I'll look at this tonight. Agreed, Configure ought to be sane
and that is separable from Podlater sanity.

On Fri, Oct 21, 2011 at 11:34 AM, Tom Wyant via RT
<> wrote:
> On Mon May 23 09:04:53 2011, jjore wrote:
>> On Mon, May 23, 2011 at 8:52 AM, Dave Rolsky via RT
>> <> wrote:
>> > This is still a problem in Perl 5.14.0.
>> Oh drat, I'd forgotten completely about this issue. We have to treat
>> $Config{pager} as something to be interpreted by the shell. It's just
>> incorrect of us to use system(LIST).
>> Josh
> And in the meantime Configure's default response is still unacceptable.
> One way to deal with this is to split off the first word of the response
> and just test that. The attached patch to Configure (diff -u against
> 5.15.4) represents one way to do that.
> The attached patch does _not_ correctly handle responses in which the
> pager's name contains quoted (or presumably escaped) spaces. But maybe
> someone with more sh-fu than I have can fix it up. But neither does the
> unpatched code. And even with this restriction the patched code should
> cause the "Use this anyway" question to come up less often.
> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About