Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: coloring STDERR to terminal
- X-seq: zsh-users 7718
 
- From: Atom 'Smasher' <atom@xxxxxxxxxxxxxx>
 
- To: zsh-users@xxxxxxxxxx
 
- Subject: Re: coloring STDERR to terminal
 
- Date: Tue, 20 Jul 2004 15:27:54 -0400 (EDT)
 
- In-reply-to: <Pine.LNX.4.61.0407200805410.7638@xxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
 
- References: <20040627190433.Q27888@willy_wonka> <Pine.LNX.4.60.0406280815130.19831@xxxxxxxxxxxxxxxxxx> <20040629160826.GL2033@xxxxxxxxxxxxx> <Pine.LNX.4.60.0406291002300.31134@xxxxxxxxxxxxxxxxxx> <20040630070902.GO2033@xxxxxxxxxxxxx> <Pine.LNX.4.60.0406300311020.5600@xxxxxxxxxxxxxxxxxx> <20040630114341.GR2033@xxxxxxxxxxxxx> <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>
 
-----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