From mboxrd@z Thu Jan 1 00:00:00 1970 From: patroclo7@gmail.com (Giorgio Lando) Date: Sat, 05 Jan 2008 22:32:26 +0100 Subject: [sup-talk] interface blinking and corrupted on the console In-Reply-To: <1199557847-sup-5728@south> References: <1199537691-sup-493@clarabella.clarabella> <1199557847-sup-5728@south> Message-ID: <1199568612-sup-4861@clarabella.clarabella> > I believe this is because of the way we're trying to set the X window > title. This patch should help temporarily: > > --- cut here --- > diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb > index fa1afe6..7f0ad81 100644 > --- a/lib/sup/buffer.rb > +++ b/lib/sup/buffer.rb > @@ -262,7 +262,7 @@ EOS > get_status_and_title @focus_buf # must be called outside of the ncurses > end > > - print "\033]2;#{title}\07" if title > + #print "\033]2;#{title}\07" if title > > Ncurses.mutex.lock unless opts[:sync] == false Yes, the patch fixes the issue. > > Does anyone know what the correct approach is for determining whether to > set the title or not? Is it a matter of checking $TERM? > It seems so, set title works fine both in *rxvt and screen for me, except for the fact that the title in screen persists after I quit sup; but this may be also seen as the correct behaviour. Giorgio