ANSI代码
           /*  前景色  */                                     
                                                                       
 BLK ESC+"[30m"          /* Black    */
 RED ESC+"[31m"          /* Red      */
 GRN ESC+"[32m"          /* Green    */
 YEL ESC+"[33m"          /* Yellow   */
 BLU ESC+"[34m"          /* Blue     */
 MAG ESC+"[35m"          /* Magenta  */
 CYN ESC+"[36m"          /* Cyan     */
 WHT ESC+"[37m"          /* White    */

           /*  亮前景色  */              

 HIR ESC+"[1;31m"        /* Red      */
 HIG ESC+"[1;32m"        /* Green    */
 HIY ESC+"[1;33m"        /* Yellow   */
 HIB ESC+"[1;34m"        /* Blue     */
 HIM ESC+"[1;35m"        /* Magenta  */
 HIC ESC+"[1;36m"        /* Cyan     */
 HIW ESC+"[1;37m"        /* White    */
                                       
           /* 亮背景色  */               
                                       
 HBRED ESC+"[41;1m"       /* Red      */                               
 HBGRN ESC+"[42;1m"       /* Green    */                               
 HBYEL ESC+"[43;1m"       /* Yellow   */                               
 HBBLU ESC+"[44;1m"       /* Blue     */                               
 HBMAG ESC+"[45;1m"       /* Magenta  */                               
 HBCYN ESC+"[46;1m"       /* Cyan     */                               
 HBWHT ESC+"[47;1m"       /* White    */                               

            /*  背景色  */                                     
                                                                       
 BBLK ESC+"[40m"          /* Black    */                               
 BRED ESC+"[41m"          /* Red      */                               
 BGRN ESC+"[42m"          /* Green    */                               
 BYEL ESC+"[43m"          /* Yellow   */                               
 BBLU ESC+"[44m"          /* Blue     */                               
 BMAG ESC+"[45m"          /* Magenta  */                               
 BCYN ESC+"[46m"          /* Cyan     */                               
 BWHT ESC+"[47m"          /* White    */                            
                                                                              
 NOR ESC+"[2;37;0m"      /* 正常色 */          

/*  Additional ansi Esc codes added to ansi.h by Gothic  april 23,1993 */     
/* Note, these are Esc codes for VT100 terminals, and emmulators */           
/*       and they may not all work within the mud               */            
                                                                              
 BOLD ESC+"[1m"          /* 粗体字 */  
 CLR ESC+"[2J"           /* 清屏幕  */                       
 HOME ESC+"[H"           /* Send cursor to home position */            
 REF CLR+HOME            /* Clear screen and home cursor */            
 BIGTOP ESC+"#3"         /* Dbl height characters, top half */         
 BIGBOT ESC+"#4"         /* Dbl height characters, bottem half */      
 SAVEC ESC+"[s"           /* Save cursor position */                   
 REST ESC+"[u"            /* Restore cursor to saved position */       
 REVINDEX ESC+"M"        /* Scroll screen in opposite direction */   
 SINGW ESC+"#5"          /* Normal, single-width characters */         
 DBL ESC+"#6"            /* Creates double-width characters */         
 FRTOP ESC+"[2;25r"      /* Freeze top line */                         
 FRBOT ESC+"[1;24r"      /* Freeze bottom line */                      
 UNFR ESC+"[r"           /* Unfreeze top and bottom lines */           
 BLINK ESC+"[5m"         /* 字符闪烁 */                   
 U ESC+"[4m"             /* Initialize underscore mode */              
 REV ESC+"[7m"           /* Turns reverse video mode on */             
 HIREV ESC+"[1,7m"       /* Hi intensity reverse video  */             