Skip Menu |

This queue is for tickets about the Pod-Perldoc CPAN distribution.

Report information
The Basics
Id: 69380
Status: resolved
Priority: 0/
Queue: Pod-Perldoc

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 3.17



Subject: docs claim to do |$PAGER , but actually does $PAGER $tmpfile
This works for manpages: PAGER='sh -c "col -b -x | more"' man man But doing the same with perldoc doesn't: PAGER='sh -c "col -b -x | more"' perldoc perldoc because the output isn't actually piped through $PAGER. One must instead do: PAGER='sh -c "col -b -x | more" <' perldoc perldoc Either the docs need to be updated, or the call to system needs to be replaced with a call to open.
On Sun Jul 10 11:59:20 2011, justincase wrote: Show quoted text
> This works for manpages: > > PAGER='sh -c "col -b -x | more"' man man
I don't have a fix for this yet, but can you tell me why you use col there and which system you're using? There's some code in ::ToMan that uses that for HPUX. I don't know the various details about different systems handling the input differently.
From: justincase [...] yopmail.com
On Sat Nov 19 14:42:15 2011, BDFOY wrote: Show quoted text
> On Sun Jul 10 11:59:20 2011, justincase wrote:
> > This works for manpages: > > > > PAGER='sh -c "col -b -x | more"' man man
> > I don't have a fix for this yet, but can you tell me why you use col > there and which system > you're using? There's some code in ::ToMan that uses that for HPUX. I > don't know the various > details about different systems handling the input differently.
col is used to strip out ansi escape codes. this allows man pages to be viewed in terminals that are not fully functional, in my case gvim.
The shell redirect is included by default when adding $ENV{PAGER} to the list of pagers perldoc uses. So this should be resolved and will be included in release 3.16.
From: justincase [...] yopmail.com
On Fri Mar 16 23:40:41 2012, mallen wrote: Show quoted text
> The shell redirect is included by default when adding $ENV{PAGER} to > the list of pagers perldoc > uses. > > So this should be resolved and will be included in release 3.16.
The issue remains if the user is using $PERLDOC_PAGER instead of $PAGER
Thanks for the report. It's patched in a0da12a