Usenet.com

www.Usenet.com

Group Index

Rec Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

[REQ] how to transform color-ascii-CODE-file into color text?



Maybe NTG but... 
I have Powwow MUD shell client that has a color_ascii_logging function. 
Here is a sample of log file: 


---------------------- 
^[[0;37m^[[m^[[1;33mHp:3057/3057 ^[[34mmn:1122/1122 ^[[32mq:14 
^[[m^[[33mb:0 ^[[32mf:1000 ^[[35mm:-152 ^[[m^[[1;36mnikt^[[m^[[m>look 

^[[0;1;36mAukcja: Oferta: 45.000 monet za rzecz o nazwie eteryczne sztylpy. 
^[[m^[[0;1;37mA hallway in the office 
^[[mThis is a basic hallway, free from any furnishing or decoration, 
save one large painting on the east wall. This hall sees much less 
traffic than the one south, as only Gemma's office and an odd door 
can be accessed from this direction. 
^[[0;1;37m[Wyjscia: poludnie zachod] 
------------------------ 


And that's what a see on the screen (without colors): 

------------------------ 
Hp:3057/3057 mn:1122/1122 q:14 
b:0 f:1000 m:-152 nikt>look 

Aukcja: Oferta: 45.000 monet za rzecz o nazwie eteryczne sztylpy. 
A hallway in the office 
This is a basic hallway, free from any furnishing or decoration, 
save one large painting on the east wall. This hall sees much less 
traffic than the one south, as only Gemma's office and an odd door 
can be accessed from this direction. 
[Wyjscia: poludnie zachod] 
------------------------- 

How can I translate a code (shown in first example) into a color text?? 
Is there any way to do that using shell or Powwow commans? 

Please help!




<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.