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.162]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p8PIQvYn019784 for ; Sun, 25 Sep 2011 14:26:57 -0400 (EDT) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/avgusCdvwXOZ/NA7x/bvTm77bHZLGPBRSvKJ5HAJyjk80tUFDQ== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de ([2001:6f8:13f0:31f:5e26:aff:fe1e:99a9]) by smtp.strato.de (cohen mo25) (RZmta 26.7) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id 205131n8PGaGyL ; Sun, 25 Sep 2011 20:26:42 +0200 (MEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Sun, 25 Sep 2011 20:26:41 +0200 Date: Sun, 25 Sep 2011 20:26:41 +0200 From: Joerg Sonnenberger To: discuss@mdocml.bsd.lv Cc: espie@openbsd.org, naddy@openbsd.org Subject: Re: Let mandoc pipe to less? Message-ID: <20110925182641.GA26028@britannica.bec.de> References: <20110921122358.1e15e3f2@greg.bestnet.kharkov.ua> <4E7BD897.5020403@Leviacomm.net> <20110925101243.GC4867@iris.usta.de> <20110925111746.GA14018@lain.home> <20110925180227.GJ4867@iris.usta.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110925180227.GJ4867@iris.usta.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Sun, Sep 25, 2011 at 08:02:27PM +0200, Ingo Schwarze wrote: > espie@ just brought up the idea to automatically pipe mandoc > output to less(1) if output is a tty. In general, I dislike programs doing that. *cough* git *cough* I think this behavior belongs into man(1) or similar frontends. > This could also solve naddy@'s old wish to get rid of the notorious > 2>&1 | less dance after -Tlint. The bigger question here is whether the output should actually go to stderr in first place. It's the expected output for the tool after all. Joerg -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv