From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10442 invoked from network); 21 Jul 2004 13:21:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Jul 2004 13:21:24 -0000 Received: (qmail 65440 invoked from network); 21 Jul 2004 13:21:18 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Jul 2004 13:21:18 -0000 Received: (qmail 12441 invoked by alias); 21 Jul 2004 13:20:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7726 Received: (qmail 12427 invoked from network); 21 Jul 2004 13:20:36 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 21 Jul 2004 13:20:36 -0000 Received: (qmail 63996 invoked from network); 21 Jul 2004 13:19:32 -0000 Received: from vinc17.net1.nerim.net (HELO ay.vinc17.org) (62.4.18.82) by a.mx.sunsite.dk with SMTP; 21 Jul 2004 13:19:30 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.32) id 1BnH0J-0005fG-O0; Wed, 21 Jul 2004 15:19:27 +0200 Date: Wed, 21 Jul 2004 15:19:27 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: coloring STDERR to terminal Message-ID: <20040721131927.GA21564@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20040701181459.GF2033@ay.vinc17.org> <20040702124259.GS2033@ay.vinc17.org> <20040720045514.V326@willy_wonka> <20040720151617.N326@willy_wonka> <20040720233037.GI28269@blorf.net> <20040721062356.GA6709@blorf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040721062356.GA6709@blorf.net> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 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 - Web: 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