[Bug 1999171] Re: tparm dynamic variables broken

Thomas Dickey 1999171 at bugs.launchpad.net
Sat Dec 10 19:26:33 UTC 2022


Dynamic variables are maintained as part of the currently opened terminal.
As noted, if you want to open a bug against ncurses (rather than Ubuntu packaging),
this won't get as much attention as the bug-ncurses mailing list, or the Debian package
(which Ubuntu provides without change).

** Changed in: ncurses (Ubuntu)
       Status: New => Invalid

-- 
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/1999171

Title:
  tparm dynamic variables broken

Status in ncurses package in Ubuntu:
  Invalid

Bug description:
  I use the Python curses library for convenience, but this seems to be
  an ncurses bug as Python simply wraps the ncurses library.

  As you can see from example below, the dynamic variable x gets stored as 4, but, when it's
  recalled, 0 is returned instead of 4. This was on 22.04 and 20.04 with libncurses6 6.3-2.

  I've confirm the behavior is correct on Fedora 36 with ncurses-
  libs-6.2-9.20210508. I apologize I haven't been able to narrow it down
  farther, but figured it would be good to get a bug logged in case
  someone has more insight.

  ```
  Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import curses
  >>> curses.setupterm()
  >>> curses.tparm(b'%p1%Px', 4)
  b''
  >>> curses.tparm(b'%gx%d')
  b'0'
  ```

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




More information about the foundations-bugs mailing list