From owner-freebsd-arch Mon Oct 21 0: 6:17 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 009F537B401; Mon, 21 Oct 2002 00:06:17 -0700 (PDT) Received: from orthanc.ab.ca (orthanc.ab.ca [216.123.203.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 582CC43E3B; Mon, 21 Oct 2002 00:06:16 -0700 (PDT) (envelope-from lyndon@orthanc.ab.ca) Received: from orthanc.ab.ca (localhost.orthanc.ab.ca [127.0.0.1]) by orthanc.ab.ca (8.12.6/8.12.6) with ESMTP id g9L75t88021005; Mon, 21 Oct 2002 01:05:55 -0600 (MDT) (envelope-from lyndon@orthanc.ab.ca) Message-Id: <200210210705.g9L75t88021005@orthanc.ab.ca> To: Ruslan Ermilov Cc: "Andrey A. Chernov" , Terry Lambert , "M. Warner Losh" , arch@FreeBSD.ORG Subject: Re: color, again, in grotty In-Reply-To: Message from Ruslan Ermilov of "Mon, 21 Oct 2002 09:51:56 +0300." <20021021065156.GB14584@sunbay.com> X-Mailer: mh-e 6.1+cvs; nmh 1.0.4; Emacs 21.2 Date: Mon, 21 Oct 2002 01:05:55 -0600 From: Lyndon Nerenberg Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov writes: >> I agree. Grotty should get termcap color capabilities using TERM env. =20 >> variable, if output isatty(). That is termcap purpose. >>=20 >It is almost never isatty(), because the most typical scenario is >to pass the output through a pipe to ${PAGER}, or to a compressor. The default output format for nroff (and grotty) must continue to be for a dumb, overstriking, hardcopy printer. Changing this breaks too many things. If the GNU folks insist on having color printing on their ANSI terminals they should create a groansi, use 'groff -Tansi', and leave nroff alone. --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message