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

Re: coloring STDERR to terminal

Hash: SHA256

On Tue, 20 Jul 2004, Bart Schaefer wrote:
On Tue, 20 Jul 2004, Atom 'Smasher' wrote:

as i suspected, there doesn't seem to be a really good way to do this...
although there are several ways to ~almost~ do it well.

that said, i'd like to request a feature for coloring STDERR.

Your first sentence is quite literally true, which makes your feature
request a little pointless.  It doesn't matter by whom [*] the coloring is
done; all the problems so far discussed are still present, with the
possible exception of zsh being able to avoid printing a prompt in the
middle of the error output.

you raise some intersting issues... and not being much of a C programmer myself i'm not sure how to address them... my logic is that if the coloring of STDOUT, STDERR and echoing STDIN is handled ~internally~ by the shell, then everything else should (FTMP) work itself out.


 PGP key - http://atom.smasher.org/pgp.txt
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808

	"`Energize the demolition beams.' Light poured out into the
	 hatchways. `I don't know,' said the voice on the PA,
	 `apathetic bloody planet, I've no sympathy at all.'
	 It cut off.
	 There was a terrible ghastly silence.
	 There was a terrible ghastly noise.
	 There was a terrible ghastly silence.
		-- Douglas Adams, Hitchhikers Guide to the Galaxy
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures


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