Public bug reported:

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

** Affects: python2.6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
multiple curses initializations fail to restore terminal properly
https://bugs.launchpad.net/bugs/492140
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to