From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 22 13:27:18 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 976B41065670; Mon, 22 Mar 2010 13:27:18 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 58A228FC0C; Mon, 22 Mar 2010 13:27:18 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 66EC41FFC22; Mon, 22 Mar 2010 13:27:17 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 3C9F08449F; Mon, 22 Mar 2010 14:27:17 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Doug Barton References: <4BA5D7B0.8000507@bsdforen.de> <4BA6C5DA.6040100@FreeBSD.org> Date: Mon, 22 Mar 2010 14:27:16 +0100 In-Reply-To: <4BA6C5DA.6040100@FreeBSD.org> (Doug Barton's message of "Sun, 21 Mar 2010 18:20:26 -0700") Message-ID: <86634ojxl7.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: Dominic Fandrey , freebsd-hackers@freebsd.org Subject: Re: nroff -man, .An Aq formatting X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 13:27:18 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Doug Barton writes: > Dominic Fandrey writes: > > It has come to my attention that whereas with LANG=3DC "nroff -man" > > formats ".An name Aq email" as "name ", it uses different > > characters with LANG=3Den_GB.UTF-8 "name =E2=9F=A8email=E2=9F=A9". Thes= e characters > > are appropriate, but a lot of unicode fonts don't seem to have them. > AFAIK our standard is -mdoc, not -man. Is there a specific purpose for > which you need -man? And if not does the problem exist with -mdoc? Yes to the latter. This is definitely a bug, since (as avg@ points out) you can no longer copy-paste the name & address into an email client. AFAIK (judging from the Unicode group they're in) these characters are intended mainly for writing things like and + in technical documentation. I've attached a patch. --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=groff-angle-brackets.diff Index: contrib/groff/font/devutf8/R.proto =================================================================== --- contrib/groff/font/devutf8/R.proto (revision 204870) +++ contrib/groff/font/devutf8/R.proto (working copy) @@ -68,9 +68,11 @@ : 24 0 0x003A ; 24 0 0x003B < 24 0 0x003C +la " = 24 0 0x003D eq " > 24 0 0x003E +ra " ? 24 0 0x003F @ 24 0 0x0040 at " @@ -810,8 +812,6 @@ HE 24 0 0x2665 DI 24 0 0x2666 OK 24 0 0x2713 -la 24 0 0x27E8 -ra 24 0 0x27E9 ff 24 0 0xFB00 fi 24 0 0xFB01 fl 24 0 0xFB02 --=-=-=--