Public bug reported: 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' ``` ** Affects: ncurses (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ncurses in Ubuntu. https://bugs.launchpad.net/bugs/1999171 Title: tparm dynamic variables broken Status in ncurses package in Ubuntu: New 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 -- 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