Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I running Avrora simulation for tinyOS application using cygwin. But the colors are appearing as the underlying ANSI codes (for example: ←[0;34;1m).

I experience the problem on Windows7 32-bit. I can see colors if I do something like ls --color.

share|improve this question

1 Answer 1

Presumably Avrora is not a Cygwin program, and you're using the default Cygwin console. Cygwin does support ANSI colour codes in the console, as you saw with ls --color, but only for Cygwin programs, i.e. those linked against the Cygwin DLL. Non-Cygwin programs just see a standard Windows console, which does not support ANSI codes.

You should be able to get this working, however, by using one of the alternative Cygwin terminals such as mintty or xterm.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.