[gstreamer-bugs] [Bug 474055] Default to using color only when tty

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Sep 6 12:32:09 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=474055

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #7 from Steve Fink  2007-09-06 19:32 UTC -------
I like Tim's idea. In more detail, it would be either creating a variable

  GST_DEBUG_COLOR_IF_TTY or GST_DEBUG_COLOR_ONLY_IF_TTY

or abusing GST_DEBUG_NO_COLOR by allowing the value

  notty

to mean "no color if not tty" (the double negative is unfortunate).

On the other hand, I think I no longer care all that much, because thanks to
Tim I now know of the existence of the -R option. And the other time when it's
annoying is when I'm running within emacs, and there the tty check won't help
anyway. (Yes, I'm sure emacs has a terminal mode that would handle the colors
too. But I'd rather not go to that much trouble.)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=474055.




More information about the Gstreamer-bugs mailing list