Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: coloring STDERR to terminal
- X-seq: zsh-users 7726
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: coloring STDERR to terminal
- Date: Wed, 21 Jul 2004 15:19:27 +0200
- In-reply-to: <20040721062356.GA6709@xxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040701181459.GF2033@xxxxxxxxxxxxx> <Pine.LNX.4.60.0407011645450.16728@xxxxxxxxxxxxxxxxxx> <20040702124259.GS2033@xxxxxxxxxxxxx> <20040720045514.V326@willy_wonka> <Pine.LNX.4.61.0407200805410.7638@xxxxxxxxxxxxxxxxxx> <20040720151617.N326@willy_wonka> <Pine.LNX.4.61.0407201353480.12638@xxxxxxxxxxxxxxxxxx> <20040720233037.GI28269@xxxxxxxxx> <Pine.LNX.4.61.0407202008240.14830@xxxxxxxxxxxxxxxxxx> <20040721062356.GA6709@xxxxxxxxx>
- Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
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