https://bugzilla.redhat.com/show_bug.cgi?id=1329059
--- Comment #3 from Pavel Raiskup <praiskup(a)redhat.com> ---
(In reply to Petr Pisar from comment #1)
I cannot reproduce it on Fedora 23:
I feel I'm facing some magic, because I'm not able to reproduce this on F23
neither, *now*.
To the question: Yes, perldoc has "-t" argument that
disables ANSI sequences
on the output. I think "perldoc --help" is not so hard way to discover it.
The question is whether it would be possible to not print terminal sequences
*by default*; not how it can be done. But yes -- as it obviously works on
F23, there is no need to change anything.
I suspect perldoc sets LESS=-R. I dont' have the variable in my
environment:
That's right.
From my point of view, perldoc is fine in Fedora. This is issue in
RHEL-7's
perldoc.
Correct.
(In reply to Petr Pisar from comment #2)
Actually I cannot reproduce it in RHEL-7 either. Thought it works
there
probably for some other reason. If you want to open a bug for RHEL-7, I need
the reproducer.
In RHEL7, I'm able to reproduce it. Perldoc does not set the LESS variable,
can be debugged by:
$ cat lesswrap
#! /bin/sh
env | grep -i less
less "$@"
$ PAGER=./lesswrap perldoc perlreref
Petr, can you confirm?
--
You are receiving this mail because:
You are on the CC list for the bug.