ANSI (color)codes ...

From: Katzlberger Thomas (cat@vuse.vanderbilt.edu)
Date: 04/23/96


Hi all ...

I tried to connect to the ANSI www site and
forund out that they charge you MONEY for
getting out their codes this really SUCKS !

hngf !

So far I collected the following codes:

#define KNUL  ""
#define KNRM  "\x1B[0m"
#define KRED  "\x1B[31m"
#define KGRN  "\x1B[32m"
#define KYEL  "\x1B[33m"
#define KBLU  "\x1B[34m"
#define KMAG  "\x1B[35m"
#define KCYN  "\x1B[36m"
#define KWHT  "\x1B[37m"

#define KBLK  "\x1B[0;30;30;1m"
#define KDER  "\x1B[0;31;31;1m"
#define KNRG  "\x1B[0;32;32;1m"
#define KLEY  "\x1B[0;33;33;1m"
#define KULB  "\x1B[0;34;34;1m"
#define KGAM  "\x1B[0;35;35;1m"
#define KNYC  "\x1B[0;36;36;1m"

#define BONUL  ""
#define BONRM  "\x1B[1;0m"
#define BOGRY  "\x1B[1;30m"
#define BORED  "\x1B[1;31m"
#define BOGRN  "\x1B[1;32m"
#define BOYEL  "\x1B[1;33m"
#define BOBLU  "\x1B[1;34m"
#define BOMAG  "\x1B[1;35m"
#define BOCYN  "\x1B[1;36m"
#define BOWHT  "\x1B[1;37m"

Anyone know more of them ?

Do you have to reset the color before each change ?
My client doesn't care it sets absolute colors
depending on the code.

Cat.
---
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/                                                            _/_/
_/_/  Thomas Katzlberger                                        _/_/
_/_/  katzlbt@vuse.vanderbilt.edu                               _/_/
_/_/  @aWhiteNeXT.called.garfield                               _/_/
_/_/  http://www.vuse.vanderbilt.edu/~katzlbt/                  _/_/
_/_/                                                            _/_/
_/_/  "You can tune a file system, but you can't tune a fish."  _/_/
_/_/                                UNIX man page for tunefs.   _/_/
_/_/                                                            _/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



This archive was generated by hypermail 2b30 : 12/18/00 PST