30.06.2009 в 12:06:44 +0100 Colin Watson написал:
> w3mman should set MAN_KEEP_FORMATTING=1 in the environment to instruct
> man not to invoke col to strip away formatting characters, which it
> normally does by default when writing to a pipe. I added this feature to
> man-db with the express intention that it should be used by programs
> like pinfo and w3mman that invoke man and can do something with its
> formatted output. Patch attached.

Actually, w3mman in lenny shows underlined characters *unless* called
with MAN_KEEP_FORMATTING=1 (they just aren't underlined).



But it hides non-ascii section headings when called *without*
MAN_KEEP_FORMATTING=1.
And this seems to be because man in this case produces something
bogus.


This is the first section heading (ИМЯ), generated by
"MAN_KEEP_FORMATTING=1 man cp|hd" (in ru_RU.UTF-8 locale):
d0 98 08 d0 98 d0 9c 08 d0 9c d0 af 08 d0 af 0a


But "man cp|hd" generates invalid utf-8:
d0 d0 98 d0 d0 9c d0 d0 af 0a

It's supposed to be as in "echo ИМЯ|hd":
d0 98 d0 9c d0 af 0a



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to