affects 586433 offlineimap thanks * Julien Cristau <jcris...@debian.org>, 2010-06-19, 14:56:
After upgrading python from 2.5 to 2.6, the terminal is not restored when offlineimap quits (using default curses ui).
I believe this is a bug in python2.6. Minimal example attached. $ stty; python2.5 curses-sample.py; stty speed 38400 baud; line = 0; iutf8 speed 38400 baud; line = 0; iutf8 $ stty; python2.6 curses-sample.py; stty speed 38400 baud; line = 0; iutf8 speed 0 baud; line = 0; intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>; start = <undef>; stop = <undef>; susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>; flush = <undef>; min = 0; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
-- Jakub Wilk
#!/usr/bin/python from curses import wrapper def dummy(stdscr): pass wrapper(dummy) wrapper(dummy)
signature.asc
Description: Digital signature