nroff mdoc character errors

Chuck Swiger cswiger at mac.com
Mon Mar 14 21:29:26 UTC 2011


On Mar 14, 2011, at 1:21 PM, Warren Block wrote:
> man mergemaster | hd | less -p'80 90'
> 
> shows 0x80 and 0x90 characters where lines should be hyphenated. 0x80 0x90 shows as "-" in an xterm, but as three non-English characters on a real console.  Likewise, parens come out as 0xa8 and 0xe2.
> 
> groff works correctly:
> gzcat /usr/share/man/man8/mergemaster.8.gz | groff -Tascii -mdoc -
> 
> nroff does not:
> gzcat /usr/share/man/man8/mergemaster.8.gz | nroff -mdoc -

I can't reproduce here, running a shell under Terminal.app (which claims to be TERM=xterm-color).  What do you have $TERM set to, and do you have $LC_ALL and friends from setlocale(3) set to something?

Regards,
-- 
-Chuck




More information about the freebsd-doc mailing list