Bug 86117 - troff malform the text stream when used by man
troff malform the text stream when used by man
Status: CLOSED DUPLICATE of bug 78915
Product: Red Hat Linux
Classification: Retired
Component: groff (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Thomas Woerner
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-03-14 05:42 EST by Andy Shevchenko
Modified: 2007-03-27 00:01 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 13:52:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andy Shevchenko 2003-03-14 05:42:12 EST
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:
man zic

in 80x24 terminal window you can see only half fill of it.
like  this:

(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 ...  
     wordn ...

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
Comment 1 Thomas Woerner 2004-04-22 08:23:02 EDT

*** This bug has been marked as a duplicate of 78915 ***
Comment 2 Red Hat Bugzilla 2006-02-21 13:52:12 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.