[Bug 438413] Re: init_color (and the <initc> capability) for terminal type "linux" fails when red, green and/or blue is set to the maximum value (1000)

Thomas Dickey dickey at his.com
Sat Mar 16 20:19:01 UTC 2013


I'm confused by your comment, since the linux-16color entry does use
ncv#54

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ncurses in Ubuntu.
https://bugs.launchpad.net/bugs/438413

Title:
  init_color (and the <initc> capability) for terminal type "linux"
  fails when red, green and/or blue is set to the maximum value (1000)

Status in “ncurses” package in Ubuntu:
  Fix Released

Bug description:
  When using init_color(3ncurses) or the underlying <initc> capability,
  the red, green and blue color components are specified on a scale of 0
  to 1000, inclusive. However, the terminfo data for the "linux"
  terminal type has a buggy <initc> which fails for component value 1000
  (full intensity.)

  Also, the Linux console shows 16 colors, not the 8 suggested by
  <colors>. Since the bold attribute (which triggers the brighter color
  set for foreground colors) and the blink attribute (which triggers the
  brighter color set for background colors on the framebuffer console
  with a 256-position font) are not listed in <ncv>, applications get
  all sorts of nasty surprises when they redefine colors and then use
  them in combination with these attributes.

  ProblemType: Bug
  Architecture: i386
  Dependencies:
   
  DistroRelease: Ubuntu 9.04
  Package: ncurses-term 5.7+20090207-1ubuntu1
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ncurses
  Uname: Linux 2.6.25-20090223.1.olpc.69098d87d56945c i586

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




More information about the foundations-bugs mailing list