Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: coloring STDERR to terminal



On 2004-07-20 23:23:56 -0700, Wayne Davison wrote:
[color-my-world.c]

I haven't tried, but what about if stderr contains escape sequences?
IMHO, coloring should only be done at the terminal level, after the
escape sequences have been interpreted. So, the terminal should be
able to read from two input streams. I don't know if this possible,
but definitely not standard and not related to zsh.

Also, I've noticed that in practice, programs use stderr for other
things than error/warning messages, and sometimes not in a consistent
way.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author