Date: Mon, 21 Oct 2002 18:48:16 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: Terry Lambert <tlambert2@mindspring.com>, "M. Warner Losh" <imp@bsdimp.com>, arch@FreeBSD.ORG Subject: Re: color, again, in grotty Message-ID: <20021021144816.GB24582@nagual.pp.ru> In-Reply-To: <20021021114758.GB66084@sunbay.com> 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> <20021021065156.GB14584@sunbay.com> <3DB3A962.9F26FCA0@mindspring.com> <20021021074056.GE14584@sunbay.com> <20021021105047.GA22255@nagual.pp.ru> <20021021114758.GB66084@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 21, 2002 at 14:47:58 +0300, Ruslan Ermilov wrote: > OTOH, ANSI SGR sequences allow one to manipulate both attributes and > colors. One day soon, less(1) will be "fixed" to map the ANSI SGR > escapes back to the terminal's native, like it currently does for > backspace sequences. It actually already semi-supports them through > the -R option (in that sense that they are accounted for properly). >=20 > Would you tell me the same if both less(1) and ul(1) were capable of > handling ANSI SGR sequences by default using the terminal's hardware > capabilities? In theory - I have nothing against SGR default if all less(1), ul(1), col(1), colcrt(1) (I hope I not forget something) will be able treat it properly. Moreover, upper level utilities like man(1) should be fixed to use new options for that case too. In practice - in its current form less -R can cause keyboard lock or other unpleasant effects for terminals which not understand SGR, so can't be=20 used for man(1) manpage displaying. --=20 Andrey A. Chernov http://ache.pp.ru/ --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iQCVAwUBPbQTsOJgpPLZnQjrAQFr4AQAmgk2y+XbAdrnu2VQ4SIclXpT+ZDogOZT akcH91xBbwFz3n/n4P8xgdYAW0mg0qQrOsldC1NK+65ulZBcmTJ9bJYuizJTiflQ fiGzOfQh5k0j9+lF9ztgGGvvIcx7Nu+uCrzYBucD+uPLOnOv6ii2CVbxbmt7nYg8 xKSAWF5Rb5E= =IJn6 -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- 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?20021021144816.GB24582>