From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p92FfDNm000957 for ; Sun, 2 Oct 2011 11:41:14 -0400 (EDT) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/avgusCdvwXOZ/NA7x/bslxlDPy6G726REW7piU2JIqNTwRM= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de ([2001:6f8:13f0:0:5e26:aff:fe1e:99a9]) by smtp.strato.de (klopstock mo17) (RZmta 26.9 AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id w012b3n92CjcQj for ; Sun, 2 Oct 2011 17:41:00 +0200 (MEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Sun, 02 Oct 2011 17:40:58 +0200 Date: Sun, 2 Oct 2011 17:40:58 +0200 From: Joerg Sonnenberger To: tech@mdocml.bsd.lv Subject: Re: -Tman with -mman Message-ID: <20111002154058.GA14208@britannica.bec.de> Mail-Followup-To: tech@mdocml.bsd.lv References: <4E887D72.9090605@bsd.lv> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E887D72.9090605@bsd.lv> User-Agent: Mutt/1.5.21 (2010-09-15) On Sun, Oct 02, 2011 at 05:04:18PM +0200, Kristaps Dzonsons wrote: > 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. Agreed, just giving back the original input (maybe reformatted) sounds like the best approach. Joerg -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv