[cfe-dev] Colorized compiler errors
onesadcookie at gmail.com
Sat Dec 22 12:30:31 PST 2007
> Seems like it would have to be significantly more complex to know what
> escape sequences to use (eg by looking at $TERM).
The ANSI color escapes seem pretty standard. Do you know of a
terminal that uses a different set? There are definitely terminals
which don't support them at all, which might be more of an issue.
> 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
Why would they run the compiler hooked up to a pty? Lots of unix
tools use the tty-ness of stdin/stdout to change their behavior (eg.
using interactive prompts), it seems like doing this would be a recipe
More information about the cfe-dev