From owner-freebsd-arch Mon Oct 21 7:48:26 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 A023837B401; Mon, 21 Oct 2002 07:48:24 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BEF143E77; Mon, 21 Oct 2002 07:48:23 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id g9LEmHOD025213; Mon, 21 Oct 2002 18:48:17 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id g9LEmGcL025212; Mon, 21 Oct 2002 18:48:16 +0400 (MSD) (envelope-from ache) Date: Mon, 21 Oct 2002 18:48:16 +0400 From: "Andrey A. Chernov" To: Ruslan Ermilov Cc: Terry Lambert , "M. Warner Losh" , arch@FreeBSD.ORG Subject: Re: color, again, in grotty Message-ID: <20021021144816.GB24582@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> <20021021065156.GB14584@sunbay.com> <3DB3A962.9F26FCA0@mindspring.com> <20021021074056.GE14584@sunbay.com> <20021021105047.GA22255@nagual.pp.ru> <20021021114758.GB66084@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <20021021114758.GB66084@sunbay.com> User-Agent: Mutt/1.5.1i 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 --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