Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 09:51:56 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Terry Lambert <tlambert2@mindspring.com>, "M. Warner Losh" <imp@bsdimp.com>, arch@FreeBSD.ORG
Subject:   Re: color, again, in grotty
Message-ID:  <20021021065156.GB14584@sunbay.com>
In-Reply-To: <20021018201919.GA15100@nagual.pp.ru>
References:  <20021017.101833.110719994.imp@bsdimp.com> <20021018095026.GA3386@sunbay.com> <20021018.094801.123456703.imp@bsdimp.com> <3DB06A8B.E40B3004@mindspring.com> <20021018201919.GA15100@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 19, 2002 at 12:19:19AM +0400, Andrey A. Chernov wrote:
> On Fri, Oct 18, 2002 at 13:09:47 -0700, Terry Lambert wrote:
> >=20
> > > : So we must either fix syscons(4) or to somehow tell grotty(1) to
> > > : emit old sequences to print bold and italic characters.
> >=20
> > Fixing Grotty to use the termcap ("TermCap" -- Terminal Capabilities)
> > database is the correct approach, in almost all cases.
>=20
> 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.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD4DBQE9s6QMUkv4P6juNwoRAlShAJUSl9nh0y1LJPDXQbewce4TtzdoAKCA47B6
2YOra/Wl/HnJrqPdfSpgOg==
=x09x
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--

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?20021021065156.GB14584>