pager -R option unrecognized by more #38
Labels
Priority: low
get to this whenever
Status: needs details
the problem description needs more information
Status: needs verification
issue needs to be verified
Status: stalled
something is blocking progress
Type: bug
an existing feature does not work
I'm on a Void linux machine running
perl v5.26.1
that comes withPerldoc v3.28
. Perldoc displays pages fine in less, but with the $PAGER environment variable unset leaves the following error when exiting the document:I am aware of this issue having been reported and addressed previously, in this discussion as well as this bug report. I gather those problems stemmed from this commit, which has now been patched up, but the problem lingers.
The problem I'm seeing on my system seems to be with this line, which pushes
more
first (and does not supersede it unless the $PAGER ENV variable is set, which in my case it wasn't ), coupled with the fact that the -R option is still set for that pager (which now perldoc guesses ismore
).I've checked that setting $PAGER to
which less
displays inless
without the trailing error after closing the documents. I'e also checked that setting $MORE to some validmore
option displays perldoc pages inmore
with no error (because as the code at teh second link says, if $ENV{MORE} is set it's left alone).The text was updated successfully, but these errors were encountered: