Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17580 - /usr/share/groff/site-tmac/man.local is missing a required patch
Summary: /usr/share/groff/site-tmac/man.local is missing a required patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Markus Bertheau (RETIRED)
URL:
Whiteboard:
Keywords:
: 16108 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-15 16:30 UTC by James Cloos
Modified: 2003-03-18 23:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2003-03-15 16:30:48 UTC
Some months ago a discussion on one of the i18n lists determined that the
following is required in site-tmac/man.local to ensure that man(1) does the
right thing when in a utf-8 locale:

.if '\*[.T]'utf8' \{\
.  char \- \N'45'
.  char  - \N'45'
.\}


the groff ebuild needs to patch man.local to add these lines.

Without this addition, cut-n-paste from a manpage will not work correctly in
utf-8 locales if the selection includes a '-'.

Reproducible: Always
Steps to Reproduce:
Comment 1 Markus Bertheau (RETIRED) gentoo-dev 2003-03-15 20:00:09 UTC
Do you know which mailing list exactly? Or do you happen to have a url of the thread handy?

Thanks for the report though. I'll test it.
Comment 2 Markus Bertheau (RETIRED) gentoo-dev 2003-03-15 20:02:11 UTC
Also, what does "does not work correctly" mean?
Comment 3 Markus Bertheau (RETIRED) gentoo-dev 2003-03-17 19:05:27 UTC
*** Bug 16108 has been marked as a duplicate of this bug. ***
Comment 4 Markus Bertheau (RETIRED) gentoo-dev 2003-03-17 19:06:20 UTC
Patch added in CVS. Thanks.
Comment 5 James Cloos 2003-03-17 19:56:15 UTC
The symptoms include garbage in the term when man is run and, more importantly, text cut-n-pasted from the output of man w/o these changes can contain characters (in a utf8 locale) that look like '-' but do not work for selecting options on the command line.  Visually it is impossible to tell the difference in most mono-width fonts, but the command will siply not work.
Comment 6 Markus Bertheau (RETIRED) gentoo-dev 2003-03-18 03:45:51 UTC
Thank you. Can you confirm that these problems have gone now?
Comment 7 Vlad Berditchevskiy 2003-03-18 23:51:09 UTC
I tried this patch and it worked for me. Can search for '-' in man pages w/o problems now. Thanks!