I updated to Lenny and the bug is still present, but the patch doesn't apply cleanly, so here it is again. It is easy to verify the bug, strace rxvt tty completely cover the window with another echo test > /dev/pts/<returned value>
--- rxvt-2.6.4/src/screen.c.orig 2009-02-07 13:01:26.000000000 -0600 +++ rxvt-2.6.4/src/screen.c 2009-02-07 13:11:36.000000000 -0600 @@ -2204,10 +2204,17 @@ scr_refresh(int type) #endif int (*draw_string) (), (*draw_image_string) (); - if (type == NO_REFRESH) - return; - if (!TermWin.mapped) - return; + + if (type == NO_REFRESH || !TermWin.mapped) + { + /* If the window is completely obscured (NO_REFRESH) we really don't + * want to refresh, that is why we are returning instead, but first we + * must say mark the flag don't refresh. A similar argument works for + * !mapped. + */ + want_refresh=0; + return; + } /* * A: set up vars -- David Fries <da...@fries.net> http://fries.net/~david/ (PGP encryption key available) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org