[Expired for pulseaudio (Ubuntu) because there has been no activity for
60 days.]

** Changed in: pulseaudio (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/356192

Title:
  pulseaudio puts terminal escape codes to stderr

Status in pulseaudio package in Ubuntu:
  Expired

Bug description:
  Binary package hint: pulseaudio

  Ubuntu 8.10, pulseaudio 0.9.10-2ubuntu9.3.  Error messages to stderr
  have escape codes added to make some of the text bold, etc.  E.g.

      $ pulseaudio --check
      W: ltdl-bind-now.c: Failed to find original dlopen loader.
      $

  with the "Failed to find original dlopen loader." in bold.  strace
  shows

      write(2, "W: ltdl-bind-now.c: \33[1mFailed t"..., 67)

  and src/pulsecore/log.c's pa_log_levelv_meta() has code like

      /* Yes indeed. Useless, but fun! */
      if (isatty(STDERR_FILENO)) {
          if (level <= PA_LOG_ERROR) {
              prefix = "\x1B[1;31m";
              suffix = "\x1B[0m";
          } else if (level <= PA_LOG_WARN) {
              prefix = "\x1B[1m";
              suffix = "\x1B[0m";
          }
      }

  It's not fun.  It's pointless and surprising to the user.  And assumes
  things about their TERM -- it doesn't do it properly using terminfo.
  What if every program started highlighting errors in bold, red, or
  blinking?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/356192/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to