[Bug 492140] Re: multiple curses initializations fail to restore terminal properly
    Bug Watch Updater 
    492140 at bugs.launchpad.net
       
    Sat Apr 23 11:02:10 UTC 2016
    
    
  
** Changed in: python
       Status: Fix Committed => Fix Released
-- 
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 Released
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