emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#10861: closed (tee swallowing colours)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10861: closed (tee swallowing colours)
Date: Tue, 21 Feb 2012 12:58:01 +0000

Your message dated Tue, 21 Feb 2012 12:54:39 +0000
with message-id <address@hidden>
and subject line Re: bug#10861: tee swallowing colours
has caused the debbugs.gnu.org bug report #10861,
regarding tee swallowing colours
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10861: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10861
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: tee swallowing colours Date: Tue, 21 Feb 2012 09:16:42 +0100 (CET)

Hi,

I use tee on W7 pro.
tee reports itself as follows:

Usage: tee [OPTION]... [FILE]...
Copy standard input to each FILE, and also to standard output.

  -a, --append              append to the given FILEs, do not overwrite
  -i, --ignore-interrupts   ignore interrupt signals
      --help     display this help and exit
      --version  output version information and exit

If a FILE is -, copy again to standard output.

Report bugs to <address@hidden>.

D:\bp\Allgem>tee --version
tee (GNU coreutils) 5.3.0
Written by Mike Parker, Richard M. Stallman, and David MacKenzie.

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



I use tee often to duplicate output of several build processes. This output happens to be coloured. However - once output is passed through tee, the colours disappear. I would be happy to see preserved colours :)

Regards,
Pelle.


--
"Derjenige, der zum ersten Mal an Stelle eines Speeres ein Schimpfwort benutzte, war der Begründer der Zivilisation."
(Sigmund Freud, 06.05.1856 - 23.11.1939, österr. Neurologe u. Psychoanalytiker)
  

SMS schreiben mit WEB.DE FreeMail - einfach, schnell und   
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

--- End Message ---
--- Begin Message --- Subject: Re: bug#10861: tee swallowing colours Date: Tue, 21 Feb 2012 12:54:39 +0000 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0
On 02/21/2012 08:16 AM, Carsten Palleske wrote:
>    Hi,
>    I use tee on W7 pro.
>    tee reports itself as follows:
>    Usage: tee [OPTION]... [FILE]...

>    I use tee often to duplicate output of several build processes. This
>    output happens to be coloured. However - once output is passed through
>    tee, the colours disappear. I would be happy to see preserved colours

tee doesn't adjust the data.
I'm guessing what's happening is the process
generating the colors is doing so conditionally
upon being connected to a tty.
This is fine as long as there is a way to override it.
Consider:

ls --color=always | tee -
ls --color=auto | tee -

cheers,
Pádraig.

p.s. if you want to display the output logs
containing ansi color codes etc. on a web page
you can process using a tool like:
http://www.pixelbeat.org/scripts/ansi2html.sh


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]