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

Re: coloring STDERR to terminal



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