Date: Mon, 21 Oct 2002 01:05:55 -0600 From: Lyndon Nerenberg <lyndon@orthanc.ab.ca> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: "Andrey A. Chernov" <ache@nagual.pp.ru>, Terry Lambert <tlambert2@mindspring.com>, "M. Warner Losh" <imp@bsdimp.com>, arch@FreeBSD.ORG Subject: Re: color, again, in grotty Message-ID: <200210210705.g9L75t88021005@orthanc.ab.ca> In-Reply-To: Message from Ruslan Ermilov <ru@FreeBSD.ORG> of "Mon, 21 Oct 2002 09:51:56 %2B0300." <20021021065156.GB14584@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210210705.g9L75t88021005>