Tuesday, February 1, 2011

ANSI color code what to do with windows terminal .

I was trying some telnet coding on NET::TELNET and received some text as the response from mikrotik router.
[m [36m/interface [m [m [36methernet
when you see such a text file in your windows notepad editor (? ) ( i thought to replace this unwanted character :) ) what you will do ?

after some googling i found this is the ANSI color code that supported by Linux terminals, if you do cat it will display correctly . windows there are some resources seems to be outdated anyone find better resources ?
http://www.andre-simon.de/zip/download.html#ansifilter
http://www.defacto2.net/nfo-files.cfm

No comments: