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:
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.
Also, what does "does not work correctly" mean?
*** Bug 16108 has been marked as a duplicate of this bug. ***
Patch added in CVS. Thanks.
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.
Thank you. Can you confirm that these problems have gone now?
I tried this patch and it worked for me. Can search for '-' in man pages w/o problems now. Thanks!