From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p02LdD0l014649 for ; Sun, 2 Jan 2011 16:39:13 -0500 (EST) Received: from smtp-1.sys.kth.se (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id AEBD815587F for ; Sun, 2 Jan 2011 22:39:07 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([127.0.0.1]) by smtp-1.sys.kth.se (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fK7kuOewoE5o for ; Sun, 2 Jan 2011 22:39:06 +0100 (CET) X-KTH-Auth: kristaps [85.8.61.101] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from h85-8-61-101.dynamic.se.alltele.net (h85-8-61-101.dynamic.se.alltele.net [85.8.61.101]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 71B42154129 for ; Sun, 2 Jan 2011 22:39:06 +0100 (CET) Message-ID: <4D20F07A.1060200@bsd.lv> Date: Sun, 02 Jan 2011 22:39:06 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv Subject: Re: [PATCH] man(7) .IP and .TP in literal mode References: <20110102124118.GA21085@iris.usta.de> In-Reply-To: <20110102124118.GA21085@iris.usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > finally, i came around to finish the bunch of fixes to .IP and .TP > started during p2k10. Naddy, if you still remember which port it was > that needed this, feel free to re-test; otherwise, just ignore me. > Unfortunately, i don't remeber any more which one it was... > > This is what needed fixing: > * The .IP HEAD uses the second argument as the width, not the last one. > * The .IP and .TP HEADs must be printed without literal mode, but literal > mode must be restored afterwards. > * After the .IP and .TP bodies, we only want term_newln(), not > term_flushln(), or we would get two blank lines in literal mode. > * The .TP HEAD does not use TWOSPACE, just like .IP doesn't either. > * In literal mode, clear NOLPAD after each line, or subsequent lines > would get no indentation whatsoever. > > OK? Fine by me. Can you work this into man_html.c, too? And does this require man.7 updates? Thanks, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv