From owner-freebsd-doc@FreeBSD.ORG Mon Mar 14 21:29:26 2011 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66FAB1065673 for ; Mon, 14 Mar 2011 21:29:26 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8FF8FC08 for ; Mon, 14 Mar 2011 21:29:26 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp025.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LI200E57E8QJ960@asmtp025.mac.com> for doc@freebsd.org; Mon, 14 Mar 2011 13:29:15 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-03-14_05:2011-03-14, 2011-03-14, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1103140133 From: Chuck Swiger In-reply-to: Date: Mon, 14 Mar 2011 13:29:14 -0700 Message-id: <821F52B1-F457-4FF0-A7EC-B24DEF460767@mac.com> References: To: Warren Block X-Mailer: Apple Mail (2.1082) Cc: doc@freebsd.org Subject: Re: nroff mdoc character errors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 21:29:26 -0000 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