[Tutor] colors

dman dman@dman.ddts.net
Sat, 4 May 2002 11:57:14 -0500


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

On Sat, May 04, 2002 at 09:16:02AM -0500, Cameron Stoner wrote:
| Hi all,
|=20
| How do you change the screen colors and text colors in a program?  I
| have never seen a text color or background color example anywhere.

Which terminal or which GUI toolkit?  It is very terminal specific or
GUI toolkit specific.  If you're working with a terminal look at
ncurses -- it defines everything needed for working with a terminal
without needing to know the particular terminal the user is using at
that time.  (it uses the terminfo database to know which escape codes
to use)

-D

--=20

Your beauty should not come from outward adornment, such as braided hair
and the wearing of gold jewelry and fine clothes.  Instead, it should be
that of your inner self, the unfading beauty of a gentle and quiet
spirit, which is of GREAT WORTH in God's sight.  For this is the way the
holy women of the past used to make themselves beautiful.
        I Peter 3:3-5
=20
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg


--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzUEuoACgkQO8l8XBKTpRQMYACggUR6hRpgoM9rcc0YZbJa58K+
jP0AoMmJVS0586JYRMOMa5tWkZgLDCHc
=VWyP
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--