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

Re: coloring STDERR to terminal



-----BEGIN PGP SIGNED MESSAGE-----
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.
<<snip>>
================

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.


        ...atom

 _________________________________________
 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJA/XJAAAoJEAx/d+cTpVciMkoIAIeAXCFMjV0q2hKeldkNt3qS
aXVOVbGLD1Y83GyaK2yXOQftxPlI3HI/5sMF+DkwvyJ6BW2gZWpx4zEkweE7Z3jy
z6X+NPSdwEkRzQl61e31v48hcxqVCijskRju2Tubbsk9D/3os7YorkO4qqbH00Dk
Jc1nugT8mkep+XaZrtlzTQAzAgtaSKlPeeFeJtToV0sVQvTsI15XTkWdPWYr70X6
bxypD0FGAvdkuUIpT3Rj2WfXRBhgZ/5iutfSs9krXkeH0tqJhHM4x90KPPEMgUMR
MdaVrPGfF8N5EQi+FdkjdwwKAWjd4LQJ10UMfKuXHfkR4MrpHfbfgsnSIFaZJ+U=
=LQxS
-----END PGP SIGNATURE-----



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