[Circle] Ansi Colours correct??

From: DJ Pure (pure@ozramp.net.au)
Date: 11/08/96


Are these ansi colours correct .. i'm not sure...

C=normal
B=bold
BK=back ground

I DO get colours, but they are not the ones that i want ..
My normals are bold and my bolds are normls (reversed). I know i can
easily swap the 0's for 1's
ie. #define CRED  "\x1B[0;31m" can now be #define CRED  "\x1B[1;31m", but
i thought this doesn't apply with the ansi standard (like in the snippets
page).

These define's are taken from the easy-color.c patch on the ftp site.

Thanks heaps as always.

jussy


#define CNRM  "\x1B[0;0m"
#define CRED  "\x1B[0;31m"
#define CGRN  "\x1B[0;32m"
#define CYEL  "\x1B[0;33m"
#define CBLU  "\x1B[0;34m"
#define CMAG  "\x1B[0;35m"
#define CCYN  "\x1B[0;36m"
#define CWHT  "\x1B[0;37m"
#define CNUL  ""

#define BRED  "\x1B[1;31m"
#define BGRN  "\x1B[1;32m"
#define BYEL  "\x1B[1;33m"
#define BBLU  "\x1B[1;34m"
#define BMAG  "\x1B[1;35m"
#define BCYN  "\x1B[1;36m"
#define BWHT  "\x1B[1;37m"

#define BKRED  "\x1B[41m"
#define BKGRN  "\x1B[42m"
#define BKYEL  "\x1B[43m"
#define BKBLU  "\x1B[44m"
#define BKMAG  "\x1B[45m"
#define BKCYN  "\x1B[46m"
#define BKWHT  "\x1B[47m"
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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