On Sat, Jun 19, 2010 at 14:56:51 +0100, Julien Cristau wrote:

> After upgrading python from 2.5 to 2.6, the terminal is not restored
> when offlineimap quits (using default curses ui).
> 
Here's a diff of 'stty -a' output before and after running offlineimap:

--- before      2010-06-21 11:26:10.000000000 +0100
+++ after       2010-06-21 11:30:32.000000000 +0100
@@ -1,10 +1,11 @@
 speed 0 baud; rows 24; columns 80; line = 0;
-intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
-eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
-werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
+intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
+eol = <undef>; eol2 = <undef>; swtch = <undef>; start = <undef>; stop = 
<undef>;
+susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>;
+flush = <undef>; min = 0; time = 0;
 -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
--ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff
--iuclc -ixany imaxbel -iutf8
-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
-echoctl echoke
+-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon 
-ixoff
+-iuclc -ixany -imaxbel -iutf8
+-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 
ff0
+-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop 
-echoprt
+-echoctl -echoke

And (probably more readable) wdiff:

$ wdiff before after
speed 0 baud; rows 24; columns 80; line = 0;
intr = [-^C;-] {+<undef>;+} quit = [-^\;-] {+<undef>;+} erase = [-^?;-] 
{+<undef>;+} kill = [-^U;-] {+<undef>;+} eof = [-^D;-] {+<undef>;+}
eol = <undef>; eol2 = <undef>; swtch = <undef>; start = [-^Q;-] {+<undef>;+} 
stop = [-^S;-] {+<undef>;+}
susp = [-^Z;-] {+<undef>;+} rprnt = [-^R;-] {+<undef>;+} werase = [-^W;-] 
{+<undef>;+} lnext = [-^V;-] {+<undef>;+}
flush = [-^O;-] {+<undef>;+} min = [-1;-] {+0;+} time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk [-brkint-] {+-brkint+} -ignpar -parmrk -inpck -istrip -inlcr -igncr 
[-icrnl-] {+-icrnl+} -ixon -ixoff
-iuclc -ixany [-imaxbel-] {+-imaxbel+} -iutf8
[-opost-]
{+-opost+} -olcuc -ocrnl [-onlcr-] {+-onlcr+} -onocr -onlret -ofill -ofdel nl0 
cr0 tab0 bs0 vt0 ff0
[-isig icanon iexten echo echoe echok-]
{+-isig -icanon -iexten -echo -echoe -echok+} -echonl -noflsh -xcase -tostop 
-echoprt
[-echoctl echoke-]
{+-echoctl -echoke+}

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to