From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8334 invoked from network); 8 Jan 2002 17:25:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 Jan 2002 17:25:18 -0000 Received: (qmail 653 invoked by alias); 8 Jan 2002 17:25:06 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4570 Received: (qmail 640 invoked from network); 8 Jan 2002 17:25:05 -0000 Date: Tue, 8 Jan 2002 18:25:02 +0100 From: Phil Pennock To: Joel CARNAT Cc: zsh-users@sunsite.auc.dk Subject: Re: Are there 8 or 16 colors ??? Message-ID: <20020108182502.A20405@globnix.org> References: <20020108182015.00b952f0.joel_carnat@yahoo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020108182015.00b952f0.joel_carnat@yahoo.fr>; from joel_carnat@yahoo.fr on Tue, Jan 08, 2002 at 06:20:15PM +0100 X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2002-01-08 at 18:20 +0100, Joel CARNAT wrote: > Is the color feature of ZSH enables 8 or 16 colors ? > I mean, typing: > echo "^[[0;32mhihi" gives a darkgreen > echo "^[[1;32mhihi" gives a lightgreen (but bold) >=20 > Can't I get a not bold lightgreen ? > Looks like I only can get 8 normal and 8 bold colors... zsh does not internally define the colours. That above is not zsh outputting colours. It's a property of the terminal. You're using the "ANSI Colour Escapes". The colours and effects are defined and standardised by the American National Standards Institute. You could modify the source-code of the terminal program to handle more colours and more effects. Many/most terminal programs will allow you to change the precise colour-tones used through their normal config. In all of this, zsh does nothing. There's a couple of added features where zsh simply knows about the escapes and can output them. --=20 Magizine: A weekly read for wise men --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (OpenBSD) iD8DBQE8OytrfDS04Uzk9lURAtM0AJ9P6r0/G6yIeeBeSdpl79wNhRoMrQCeK3gC 1cUQtb9XwFaBwzDovvcEmVA= =K8Df -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--