[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-msys
Subject:    [Mingw-msys] How do I make printf( "\033[32mtext" ) actually change
From:       "Dmitry Kakurin" <dmitry.kakurin () gmail ! com>
Date:       2007-08-15 22:13:35
Message-ID: a1bbc6950708151513m58a04dd2m892d25140962fcc2 () mail ! gmail ! com
[Download RAW message or body]

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-msys
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic