Bug 79102
| Summary: | Broken hyphen-minus character in man pages in UTF-8 locale | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Markus Kuhn <mgk25> |
| Component: | groff | Assignee: | Florian La Roche <laroche> |
| Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://mail.nl.linux.org/linux-utf8/2002-12/msg00042.html | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-12-05 18:10:23 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: | |||
The Red Hat Linux rpm includes all debian changes and the current rawhide rpm on top of groff-1.18.1 includes this change from debian. Recompiling the rawhide rpm and using it on a RHL8 system should be no problem. Thanks a lot, Florian La Roche |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 Description of problem: gnroff under RH80 translates the HYPHEN-MINUS character (U+002D) into a Unicode HYPHEN (U+2010), which probabaly was not a good idea. As a result, cut&pasting command line examples from man pages into xterm leads to syntax errors. Version-Release number of selected component (if applicable): groff-1.18-6 man-1.5j-11 man-pages-1.53-1 How reproducible: Always Steps to Reproduce: 1. LC_CTYPE=en_GB.UTF-8 xterm 2. man ls 3. Cut & paste the displayed command line option "-a" into bash as part of the command "ls -a" Actual Results: ls: -a: No such file or directory Expected Results: A directory listing Additional info: Other distributions like SuSE and Debian fixed this by adding the following to man.local: .if '\*[.T]'utf8' \{\ . char \- \N'45' . char - \N'45' .\} Related thread on linux-utf8: http://mail.nl.linux.org/linux-utf8/2002-12/msg00042.html http://mail.nl.linux.org/linux-utf8/2002-12/msg00091.html