[Bug 492140] Re: multiple curses initializations fail to restore terminal properly
Rolf Leggewie
492140 at bugs.launchpad.net
Wed Jun 17 11:49:54 UTC 2015
lucid has seen the end of its life and is no longer receiving any
updates. Marking the lucid task for this ticket as "Won't Fix".
** Changed in: python2.6 (Ubuntu Lucid)
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/492140
Title:
multiple curses initializations fail to restore terminal properly
Status in Python:
Fix Committed
Status in python2.6 package in Ubuntu:
Fix Released
Status in python2.6 source package in Lucid:
Won't Fix
Bug description:
Binary package hint: python2.6
When trying to open and close multiple curses sessions within python,
the terminal is not restored to a clean state after the second and
successive sessions.
A simple example:
import curses
def main():
w = curses.initscr()
curses.endwin()
w = curses.initscr()
curses.endwin()
if __name__ == "__main__":
main()
Code is tested to work on a Fedora Core 5 machine and exits with a
clean terminal, but produces a garbled terminal on Ubuntu 9.10 which
requires a 'reset' call.
python2.6 package is version 2.6.4-0ubuntu2
libncurses5 package is version 5.7+20090803-2ubuntu2
To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/492140/+subscriptions
More information about the foundations-bugs
mailing list