|
Bugzilla – Full Text Bug Listing |
| Summary: | umlauts in german X11 man pages | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Harald Koenig <koenig> |
| Component: | X11 Applications | Assignee: | Mads Martin Joergensen <mmj> |
| Status: | RESOLVED FIXED | QA Contact: | Stefan Dirsch <sndirsch> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
The manual page but not man is broken. Don't know why you put me in CC. its also not the man page but the pager. xman for instance works. there is afair no easy way to workaround this. Mike might know where is the problem here. From the source of the man-page:
.SH Adressfamilien
Wird das erste Argument hinter dem Schnittstellennamen als der Name einer
unterst\(:utzten Adressfamilie erkannt, so wird diese Adressfamilie dazu
benutzt um alle Protokolladressen zu dekodieren und darzustellen. Zur
Zeit werden u.A. folgende Adressfamilien unterst\(:utzt.
.B inet
What's this "\(:u"? Is this supposed to work in groff?
xman uses this command line: "| pic | eqn | tbl -Tlatin1 | GROFF_NO_SGR= groff -Tlatin1 -mandoc" see xc/programs/xman/vendor.h. "\(:u" is ü in groff yes (well as far as i can tell from the documentation) With this command line, you can also get the Umlauts using less: mfabian@magellan:~$ zcat /usr/share/man/de_DE/man8/ifconfig.8.gz | pic |eqn|tbl -Tlat in1|GROFF_NO_SGR= groff -Tlatin1 -mandoc | less mfabian@magellan:~$ This commandline works: mfabian@magellan:~$ zcat /usr/share/man/de_DE/man8/ifconfig.8.gz | groff -Tutf8 -mand oc | less mfabian@magellan:~$ This one doesn't: mfabian@magellan:~$ zcat /usr/share/man/de_DE/man8/ifconfig.8.gz | nroff -Tutf8 -mand oc | less mfabian@magellan:~$ hm so its no problem of the man-page right werner?. Could we somehow use this command for german man pages? Or is there something else wrong? mfabian@magellan:/tmp$ zcat /usr/share/man/de_DE/man8/ifconfig.8.gz | groff -Tascii8 -mandoc | less <standard input>:1: warning: can't find special character `:u' <standard input>:66: warning: can't find special character `:a' <standard input>:81: warning: can't find special character `:o' <standard input>:81: warning: can't find special character `ss' mfabian@magellan:/tmp$ The problem seems to be the -Tascii8. mfabian@magellan:/$ diff -u /usr/bin/nroff /usr/bin/nroff.new
--- /usr/bin/nroff 2006-02-28 18:08:57.000000000 +0100
+++ /usr/bin/nroff.new 2006-02-28 18:08:04.000000000 +0100
@@ -114,7 +114,7 @@
;;
# make 'man iso-8859-15' display correctly in UTF-8 locales using Euro
ca_ES*|de_AT*|de_BE*|de_DE*|de_LU*|en_BE*|en_IE*|es_ES*|eu_ES*|fi_FI*|fr_BE*|fr_FR*|fr_LU*|ga_IE*|gl_ES*|it_IT*|nl_BE*|nl_NL*|pt_PT*|sv_FI*|wa_BE*)
- T=-Tascii8
+ T=-Tlatin1
export LC_ALL=de_DE@euro
ICONV="iconv -f ISO-8859-15 -t UTF-8"
;;
mfabian@magellan:/$
Fixed groff package submitted to STABLE. Closing as FIXED. |
umlauts in german man pages don't show up using LANG=de_DE.UTF-8 with german installation there only some (very) few german man pages, and I managed to slip over one of them: man ifconfig | grep unterst shows "unterstutzten" instead of "unterstützten" many times (with and without grep:) ^