Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 14:27:16 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-hackers@freebsd.org
Subject:   Re: nroff -man, .An Aq formatting
Message-ID:  <86634ojxl7.fsf@ds4.des.no>
In-Reply-To: <4BA6C5DA.6040100@FreeBSD.org> (Doug Barton's message of "Sun, 21 Mar 2010 18:20:26 -0700")
References:  <4BA5D7B0.8000507@bsdforen.de> <4BA6C5DA.6040100@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Doug Barton <dougb@FreeBSD.org> writes:
> Dominic Fandrey <des@des.no> writes:
> > It has come to my attention that whereas with LANG=3DC "nroff -man"
> > formats ".An name Aq email" as "name <email>", 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 <ENTER> and <CTRL>+<F1> 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

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86634ojxl7.fsf>