Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: coloring STDERR to terminal
- X-seq: zsh-users 7723
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: coloring STDERR to terminal
- Date: Wed, 21 Jul 2004 00:30:31 -0700 (PDT)
- In-reply-to: <20040721062356.GA6709@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.60.0406300906100.5600@xxxxxxxxxxxxxxxxxx> <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>
- Reply-to: zsh-users@xxxxxxxxxx
On Tue, 20 Jul 2004, Wayne Davison wrote:
> On Tue, Jul 20, 2004 at 08:15:26PM -0700, Bart Schaefer wrote:
> > you can't invoke it blindly/automatically on every spawned command,
> > because it will play havoc with any text editor or other fullscreen
> > UI.
>
> This works the other way around -- you invoke a shell inside it and it
> colors all the stderr I/O of everything the shell runs. I ran an editor
> just fine (vim) from a zsh running under it without any havoc.
Try running, say, "less" circa version 346 under it. Or the original "vi"
... or anything that opens either FD 2 or /dev/tty to read interactive
input because stdin may have been redirected or piped ...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author