perldoc is broken in 9, 10 and CURRENT with "xterm" TERM
Kurt Jaeger
lists at opsec.eu
Wed Apr 15 16:35:42 UTC 2015
Hi!
> perldoc from perl 5.16 and perl 5.18 on 9, 10 and CURRENT shows ESC
> codes like this:
>
> "ESC[4mfieldsESC[24m") that do ESC[1mnot ESC[22minclude
>
> Terminal tried is "xterm" (PuTTY and cygwin's rxtv) and "cygwin"
> (cygwin's ssh from console).
What does
echo $PAGER
say ?
What does
echo $LESS
say ?
> I've found closed PR, which explains or fixes nothing:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162463
If you use less as your PAGER and add an environment variable
export LESS=-r
then perldoc works. So the behaviour is not pretty, but there is a
solution.
--
pi at opsec.eu +49 171 3101372 5 years to go !
More information about the freebsd-perl
mailing list