Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2011 13:29:14 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        doc@freebsd.org
Subject:   Re: nroff mdoc character errors
Message-ID:  <821F52B1-F457-4FF0-A7EC-B24DEF460767@mac.com>
In-Reply-To: <alpine.BSF.2.00.1103141406500.69969@wonkity.com>
References:  <alpine.BSF.2.00.1103141406500.69969@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?821F52B1-F457-4FF0-A7EC-B24DEF460767>