Web lists-archives.org

Re: [Mingw-msys] How do I recreate the MSYS distribution?




I'm using MinGW + MSys.
If I do printf( "\033[32mtext" ) in my program it just outputs garbage.
But if I pipe it into cat from msys:
myprog.exe | cat
then the actual color output is produced.
How do I make printf behave the same way in my program?
-- 
- Dmitry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys