How do I do ANSI colours?
There are several misconceptions about colours. The first misconception is that all of the world is an IBM PC using ANSI style colours. In fact, there are many different sets of escape sequences which have the same effects depending on terminal emulation. If your goal is providing colour support to players, then limiting yourself to just ANSI support is very similar to saying “Only people with IBM compat’s can play my mud.” Well, maybe not quite that drastic, but you get the point. Also, you should keep in mind that the term ANSI has nothing to do with colours. ANSI is a standards organization, and one of the zillion things for which they have standards is escape sequences and what they do. Keep in mind that your goal is to have colours. Finally, about giving your mud colour support. The Discworld Mudlib has developed a protocol now supported by at least Dead Souls, Foundation, Lima, and TMI-2. There is no reason, however, that other libs cannot add support this protocol. It enables cr