On Wed, 29 Dec 1999, Manafort wrote: >Ok colors are working perfectly now. Is there a way to get more than the >basic 8 dark colors? i know in the mud i put in a color patch so now i can >put &0-&9 and have dark and light of each color. anyway to do this in the >code? It's not guaranteed to work for every client, but these are some colors from one of the packages on the FTP site: /* Bold colors */ #define BNUL "" #define BNRM "\x1B[0m" #define BGRY "\x1B[0;1;30m" #define BRED "\x1B[0;1;31m" #define BGRN "\x1B[0;1;32m" #define BYEL "\x1B[0;1;33m" #define BBLU "\x1B[0;1;34m" #define BMAG "\x1B[0;1;35m" #define BCYN "\x1B[0;1;36m" #define BWHT "\x1B[0;1;37m" /* Blinking colors */ #define LNUL "" #define LNRM "\x1B[0;7;0m" #define LGRY "\x1B[0;7;30m" #define LRED "\x1B[0;7;31m" #define LGRN "\x1B[0;7;32m" #define LYEL "\x1B[0;7;33m" #define LBLU "\x1B[0;7;34m" #define LMAG "\x1B[0;7;35m" #define LCYN "\x1B[0;7;36m" #define LWHT "\x1B[0;7;37m" /* Blinking Bold colors */ #define BLNUL "" #define BLNRM "\x1B[0;1;7;0m" #define BLGRY "\x1B[0;1;7;30m" #define BLRED "\x1B[0;1;7;31m" #define BLGRN "\x1B[0;1;7;32m" #define BLYEL "\x1B[0;1;7;33m" #define BLBLU "\x1B[0;1;7;34m" #define BLMAG "\x1B[0;1;7;35m" #define BLCYN "\x1B[0;1;7;36m" #define BLWHT "\x1B[0;1;7;37m" -- George Greer, greerga@circlemud.org | Genius may have its limitations, but http://developer.circlemud.org/ | stupidity is not thus handicapped. http://www.circlemud.org/~greerga/ | -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST