Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 72125
Summary: | perldoc prints wrong characters in UTF-8 environment | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Harald Hoyer <harald> |
Component: | perl | Assignee: | Chip Turner <cturner> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | laroche |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-30 13:24:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 67218, 79579, 100644 |
Description
Harald Hoyer
2002-08-21 10:01:15 UTC
what should it print instead? I'm no *roff expert. if you can suggest what it should be doing, I can fix it, but not without knowing the exact problem. well, e.g. $ perldoc open gives me an ugly formatted screen in a UTF-8 capable terminal, where I can see the escape sequences... This may be related to bug 71913. Perhaps the problem lies in the "less" package? I first saw this in (null), someone should see what's changed since the second beta. the issue is inside of groff, it seems. florian is looking into it. Either set an option to not use the new ansi escaping in groff or add an option to the pager to display them correctly like done in man ("less -isr") Florian La Roche *** Bug 72630 has been marked as a duplicate of this bug. *** fixed in rawhide, less -isr now used as default perl pager I just downloaded -51 from rawhide, and the problem is still there. I've done everything except reboot the box. Curiously enough, if I run "less -isr /tmp/filename" while perldoc is open, I see the correct output. Do I need to get another package in addition to perl-5.8.0-51.i386.rpm, or is this not completely fixed? this is fixed in our latest internal build, -55, but hasn't made it to rawhide yet. will investigate why it isn't there. line 584 in perldoc: changed my $cmd = catfile($bindir, $pod2man) . " --lax $file | $opt_n -man"; to my $cmd = catfile($bindir, $pod2man) . " --lax $file | $opt_n -man -c"; problem with escape sequences being viewable in less went away. (by the way my env var for LESS = "CegMS" ) don't know if this is THE solution, but it's a workable one. :-) can anyone confirm if they are still having difficulties with the latest rawhide? I'm not seeing this problem any longer seems to be fixed :) |