Red Hat Bugzilla – Bug 57410
groff behavier is odd for Japanese man
Last modified: 2007-04-18 12:38:40 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
In Japanese environment,
'man hexdump' shows weird warnings and doesn't show correctly.
Hyphen '-' will be replace to be 'F1'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add LANG=ja_JP.eucJP to /etc/sysconfig/i18n
4. Make sure 'env | grep ja_JP.eucJP'
5. Make sure you have man-pages-ja
6. 'man hexdump' from terminal. You can use kterm, rxvt, gnome-terminal.
Actual Results: It shows below warnings:
/usr/share/groff/1.17.2/tmac/docj.tmac:57: can't find macro file `mdoc/common'
/usr/share/groff/1.17.2/tmac/docj.tmac:58: can't find macro file `mdoc/syms'
<standard input>:64: warning: numeric expression expected (got `F')
<standard input>:205: warning: numeric expression expected (got `F')
and '-b' is showed up as 'F1b', '-c' is showed up as 'F1c'.
And the descrption in the NAME paragraph doesn't show up.
zcat /usr/share/man/ja/man1/hexdump.1.gz|LANG=japanese groff -Tnippon
-mandoc | less
works fine. So this is weird.
This problems is in RHL7.2, and doesn't fix with latest man-pages-ja,
combination in 8.0 tree.
This is different report from
so not duplicated.
Can you please test this again with the current beta and groff-1.18.1-1?
Florian La Roche
I tried it again with beta1 and groff 1.18.1-1. but it's not still fixed.
another error and warning are output:
/usr/share/groff/1.18.1/font/devnippon/M:5: error: missing code for `u0100..uFFFF'
troff: warning: can't find font `M'
/usr/share/groff/1.18.1/font/devnippon/G:5: error: missing code for `u0100..uFFFF'
troff: warning: can't find font `G'
<standard input>:47: warning: can't find character with input code 204
And manpage isn't still readable.
See also Bug 79102 for a potentially related issue with solution.
The above output is fixed and multibyte support should now be
correctly enabled plus there have been bug-fixes with japanese html
recently. Can you please test groff-1.18.1-5 or newer and let me know
if this is resolving all issues?
Florian La Roche
groff-1.18.1-7 seems to work.