From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p3KKAhDi026588 for ; Wed, 20 Apr 2011 16:10:44 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id A55AF14C12F; Wed, 20 Apr 2011 22:10:37 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id sluwEl2w8M23; Wed, 20 Apr 2011 22:10:34 +0200 (CEST) X-KTH-Auth: kristaps [213.103.216.43] X-KTH-mail-from: kristaps@bsd.lv Received: from macky.local (s213-103-216-43.cust.tele2.se [213.103.216.43]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 505A014C12E; Wed, 20 Apr 2011 22:10:32 +0200 (CEST) Message-ID: <4DAF3DBB.6080403@bsd.lv> Date: Wed, 20 Apr 2011 22:10:35 +0200 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: Jason McIntyre CC: tech@mdocml.bsd.lv Subject: Re: [PATCH] \*(Px and \*(Ai References: <4DAEC78B.6030002@bsd.lv> <20110420125208.GF13691@harkle.bramka> In-Reply-To: <20110420125208.GF13691@harkle.bramka> Content-Type: multipart/mixed; boundary="------------020208020206050800060001" This is a multi-part message in MIME format. --------------020208020206050800060001 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 20/04/2011 14:52, Jason McIntyre wrote: > On Wed, Apr 20, 2011 at 01:46:19PM +0200, Kristaps Dzonsons wrote: >> Hi, >> >> As discussed on tech@openbsd.org, >> >> http://comments.gmane.org/gmane.os.openbsd.tech/24663 >> >> we're missing two symbols defined in tmac.doc. The enclosed patch >> includes them (not the documentation bits for mandoc_char.7, which I'd >> include if this is ok'd). >> >> For the record, I don't particularly like these as they discourage using >> `St' in favour of hand-rolling standards. I think this should be taken >> into account when deciding on whether to ok this. >> >> So... thoughts? >> >> Kristaps > > i personally don;t care. i can remove the one instance of Px if that's > what we prefer. i certainly don;t want Px and Ai all over the manuals. Enclosed is a patch with the documentation. I think this is good enough to discourage usage. Oks? --------------020208020206050800060001 Content-Type: text/plain; name="patch.chars.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.chars.txt" Index: chars.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/chars.c,v retrieving revision 1.34 diff -u -r1.34 chars.c --- chars.c 22 Mar 2011 10:13:01 -0000 1.34 +++ chars.c 20 Apr 2011 20:09:29 -0000 @@ -41,7 +41,7 @@ #define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; -#define LINES_MAX 351 +#define LINES_MAX 353 #define CHAR(in, ch, code) \ { NULL, (in), (ch), (code), CHARS_CHAR }, Index: chars.in =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/chars.in,v retrieving revision 1.36 diff -u -r1.36 chars.in --- chars.in 16 Mar 2011 22:49:55 -0000 1.36 +++ chars.in 20 Apr 2011 20:09:29 -0000 @@ -375,6 +375,8 @@ STRING("right-singlequote", "\'", 8217) STRING("rp", ")", 41) STRING("Tm", "(Tm)", 8482) +STRING("Px", "POSIX", 0) +STRING("Ai", "ANSI", 0) /* Lines. */ CHAR("ba", "|", 124) Index: mandoc_char.7 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc_char.7,v retrieving revision 1.42 diff -u -r1.42 mandoc_char.7 --- mandoc_char.7 9 Feb 2011 22:53:20 -0000 1.42 +++ mandoc_char.7 20 Apr 2011 20:09:30 -0000 @@ -481,8 +481,12 @@ .It \e(ts Ta \(ts Ta sigma terminal .El .Sh PREDEFINED STRINGS -These are not recommended for use, as they differ across -implementations: +Predefined strings are inherited from the macro packages of historical +troff implementations. +They are +.Em not recommended +for use, as they differ across implementations. +Manuals using these predefined macros are almost certainly not portable. .Pp .Bl -column -compact -offset indent "Input" "Rendered" "Description" .It Em Input Ta Em Rendered Ta Em Description @@ -512,6 +516,8 @@ .It \e*(>= Ta \*(>= Ta greater-than-equal .It \e*(aa Ta \*(aa Ta acute .It \e*(ga Ta \*(ga Ta grave +.It \e*(Px Ta \*(Px Ta POSIX standard name +.It \e*(Ai Ta \*(Ai Ta ANSI standard name .El .Sh NUMBERED CHARACTERS For backward compatibility with existing manuals, --------------020208020206050800060001-- -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv