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 p92F4RmX011136 for ; Sun, 2 Oct 2011 11:04:27 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 5B0EE1558AE for ; Sun, 2 Oct 2011 17:04:21 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([130.237.32.175]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id OavwLdbTbZHH for ; Sun, 2 Oct 2011 17:04:19 +0200 (CEST) X-KTH-Auth: kristaps [193.10.49.5] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from [172.16.18.84] (unknown [193.10.49.5]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 7097B1551FC for ; Sun, 2 Oct 2011 17:04:18 +0200 (CEST) Message-ID: <4E887D72.9090605@bsd.lv> Date: Sun, 02 Oct 2011 17:04:18 +0200 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110820 Icedove/3.1.12 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv Subject: -Tman with -mman Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, What sort of behaviour is most reasonable when providing a man manual to the new -Tman? I think this should be ironed out before the release. The mandoc manual says "-Tman only with mdoc" and, if man is provided to -Tman, outputs nothing (like -Tlint). It makes the most sense to me to output the original file (after preprocessing, I guess). All this requires is a duplicate buffer in read.c (conditional on -Tman being present to avoid overhead in normal usage). I don't like the idea of putting out an error (or nothing at all) because it special-cases modes for input. Thoughts? Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv