Seems like it would have to be significantly more complex to know what escape sequences to use (eg by looking at $TERM).
Also, IDEs would probably want to disable colors even if they run the compiler hooked up to a pty, in favor of a builtin compiler neutral colorizer. Sent from my iPhone On Dec 22, 2007, at 11:08 AM, Keith Bauer <[EMAIL PROTECTED]> wrote: >> And how will you solve it in a portable manner? > > #if !defined(_WIN32) // ideally a more robust configure-based test > if (isatty(STDOUT_FILENO)) > > ;) > > -Keith > _______________________________________________ > cfe-dev mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
