Bug 162463

Summary: lang/perl5.12: perldoc shows escape codes
Product: Ports & Packages Reporter: edwin
Component: Individual Port(s)Assignee: Edwin Groothuis <edwin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description edwin 2011-11-11 07:50:07 UTC
When running "perldoc Data::Dumper", I get the following output:

ESC[1mNAMEESC[0m
       Data::Dumper - stringified perl data structures, suitable for both
       printing and "eval"

ESC[1mSYNOPSISESC[0m
           use Data::Dumper;

Using "PAGER= perldoc Data::Dumper", I get the expected output.
Using "man Data::Dumper", I get the expected output.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-11-11 23:00:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skv

Fix synopsis and assign.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2013-04-22 17:13:46 UTC
Responsible Changed
From-To: skv->freebsd-ports-bugs

skv's ports bit has been taken in for safekeeping
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2013-04-29 12:51:53 UTC
Hi Edwin,

a search on the net resulted in [1] and [2], which led me to trying

$ export LESS="-r"

and then try "perldoc Data::Dumper" again. That doesn't show the escape
codes with me. I don't know what that means in the end - I don't use
perldoc...

Best regards,
Stefan

[1]: http://forums.gentoo.org/viewtopic-t-555915-start-0.html
[2]: http://forums.gentoo.org/viewtopic-t-670013.html
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2013-04-29 12:57:40 UTC
State Changed
From-To: open->feedback

Awaiting submitter's feedback. 


Comment 5 Stefan Walter freebsd_committer freebsd_triage 2013-04-29 12:57:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Track this while waiting for feedback.
Comment 6 Stefan Walter freebsd_committer freebsd_triage 2013-05-02 10:36:06 UTC
Responsible Changed
From-To: stefan->edwin

Assign to submitter. (I assume this is resolved, though...)
Comment 7 Vick Khera 2013-05-24 15:10:16 UTC
FWIW, this fix works for me. I use the "-R" variant in preference, as =
that solve the exact problem with perldoc, without affecting other =
escape codes less needs to protect.
Comment 8 Andrej Zverev freebsd_committer freebsd_triage 2014-02-14 17:55:22 UTC
State Changed
From-To: feedback->closed

lang/perl5.12 removed from ports tree