Red Hat Bugzilla – Bug 86117
troff malform the text stream when used by man
Last modified: 2007-03-27 00:01:48 EDT
Description of problem:
2 problems of man was observed.
First, man can not output correct text in 8bit locale such as ru_RU.KOI8-R.
If use troff with -Tnippon (in this locale) the input stream is broken, but
all formatting is correct (all russian symbols are changed by sequence '& ').
Second, in the ru_RU.UTF-8 locale man pages have incorect width and white space
For example, type in ru_RU.UTF-8 following command:
in 80x24 terminal window you can see only half fill of it.
(russian word DESCRIPTION)
Zic word1 word2 word3 ... _CLEAN SPACE_
wordn, ... _CLEAN SPACE_
where _CLEAN SPACE_ is equal to approx. 30symbols
Another bug is incorrect calculation of white spaces.
Take above example and see this man page like this
Zic word1 word2 word3 word4_first_part
word_4_last_part word5 ...
where word4_first_part + word4_last_part equal to whole word.
For example, 'word' is broke as 'wo' + 'rd' on different lines.
Version-Release number of selected component (if applicable):
man-1.5k-6 from rawhide
groff-1.18.1-20 from rawhide
*** This bug has been marked as a duplicate of 78915 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.