[Touch-packages] [Bug 356192] Re: pulseaudio puts terminal escape codes to stderr

2017-07-07 Thread Launchpad Bug Tracker
[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 Ubuntu
Touch seeded 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/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 356192] Re: pulseaudio puts terminal escape codes to stderr

2017-05-08 Thread Daniel van Vugt
Thank you for reporting this bug to Ubuntu.
Ubuntu 8.10 (intrepid) reached end-of-life on April 30, 2010.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases 

Please upgrade to the latest version and re-test.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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:
  Incomplete

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/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp