[Bug 446710] New: nroff formats documentation with nonprintable characters
https://bugzilla.novell.com/show_bug.cgi?id=446710 Summary: nroff formats documentation with nonprintable characters Product: openSUSE 11.1 Version: Beta 5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jw@novell.com QAContact: qa@suse.de CC: mfabian@novell.com Found By: --- Logged in as root on a text console, not using any personal settings: perldoc perlrun "/tmp/Q0ozIHSDX" may be a binary file. See it anyway? y All minus characters '-' in the manual page are replaced by an inverted question mark. the utf8 bytes of this glyph are hex e2 88 92, codepoint 2212 is a mathematical minus sign. Tested and first seen with perldoc, but nroff -man has the same issue, whereas nroff -mandocdb looks good. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=446710
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c1
--- Comment #1 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c2
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=446710
User jw@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c3
Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c4
Mike Fabian
Tested and first seen with perldoc, but nroff -man has the same issue, whereas nroff -mandocdb looks good.
I think nobody runs nroff -man, if you use man perlrun nroff is called with the option "-mandocdb" (You can see that in the output of "man -d perlrun"). With the option "-mandocdb" the file /usr/share/groff/site-tmac/tmac.andocdb is used, which contains: root@magellan:~# cat /usr/share/groff/site-tmac/tmac.andocdb \" tmac.(m)andocdb \" \" This is part of the man(db) package of SuSE Linux \" Author: Werner Fink \" \" Just like tmac.andoc but \" load either tmac.andb or tmac.doc \" if !\n(.g .ab These macros require groff. de Dd rm Dd do mso tmac.doc \\*(Dd\\ . de TH rm TH do mso tmac.andb \\*(TH\\ . if '\*[.T]'utf8' \{\ char \- \N'45' char - \N'45' char ' \N'39' char ` \N'96' \} . root@magellan:~# I.e. this file contains workarounds to keep some ASCII characters commonly used in source code or command lines instead of replacing them with fancy Unicode characters which cause problems when the source code ist pasted or one searches in the source code. If perldoc doesn’t used the option -mandocdb, our above workaround is not used. Why does perldoc not use -mandocdb? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=446710
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c5
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c6
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=446710
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c7
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c8
--- Comment #8 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c9
--- Comment #9 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c10
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=446710
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=446710#c11
--- Comment #11 from Mike Fabian
participants (1)
-
bugzilla_noreply@novell.com