MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: Ansii color, needing some specs and or pointers.
On Mon, 27 Jul 1998, Ben Greear wrote:
> The players keep yelping at me to provide some ansi color, but I'm
> clueless on the art, so I thought I'd see if any of you had any
> pointers? Surely I'm not the only one to be faced with this
> scourge!
>
Codes below are literal text strings to send to descriptors as in:
sprintf(buf,"\033[0;33mYou are hit by a magic missile\n\033[0;37m");
Color Code Bold
----- ---- ----
black \033[0;30m \033[1;30m
blue \033[0;31m \033[1;31m
green \033[0;32m \033[1;32m
cyan \033[0;33m \033[1;33m
red \033[0;34m \033[1;34m
magenta \033[0;35m \033[1;35m
brown \033[0;36m \033[1;36m (yellow)
white \033[0;37m \033[1;37m
Note that "bold" brown is really yellow.
You can do more with ansi (background colors for instance), but it looks
rather ugly and is not really useful.
-Kat
- Thread context:
- [MUD-Dev] Re: Ansii color, needing some specs and or pointers., (continued)
- [MUD-Dev] Ansii color, needing some specs and or pointers.,
Ben Greear greear#cyberhighway,net, Tue 28 Jul 1998, 04:24 GMT
- [MUD-Dev] Re: Ansii color, needing some specs and or pointers.,
Caliban Tiresias Darklock caliban#darklock,com, Tue 28 Jul 1998, 04:50 GMT
- [MUD-Dev] Re: Ansii color, needing some specs and or pointers.,
Caliban Tiresias Darklock caliban#darklock,com, Tue 28 Jul 1998, 04:58 GMT
- [MUD-Dev] Re: Ansii color, needing some specs and or pointers.,
Katrina McClelan kitkat#the486,bradley.edu, Tue 28 Jul 1998, 05:18 GMT
- [MUD-Dev] Re: Ansii color, needing some specs and or pointers.,
J C Lawrence claw#under,engr.sgi.com, Tue 28 Jul 1998, 17:30 GMT
- [MUD-Dev] Re: Ansii color, needing some specs and or pointers.,
Ben Greear greear#cyberhighway,net, Wed 29 Jul 1998, 00:29 GMT
- [MUD-Dev] Re: Ansii color, needing some specs and or pointer,
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 03 Aug 1998, 04:28 GMT
[ Other Periods
| Other mailing lists
| Search
]