[sbopkg-users] Search window on sbopkg beta

Pierre Cazenave pwcazenave at gmail.com
Thu Jul 30 11:29:49 UTC 2009


Mauro Giachero wrote:
>  Ah, the joys of computer programming...
>
>  The extra chars appear from within screen sessions. SSH isn't
>  required.
>
>  We're facing another dialog bug. Try this in a screen session inside
>  Konsole: dialog --title "foo" --inputbox "bar" 8 20 If you resize the
>  Konsole window, the characters appear. Now, the resize event is
>  notified to the application with a SIGWINCH, which is exactly the
>  signal we send in the background to dialog in screen sessions to
>  force a repaint (to work around another dialog bug which sometimes
>  prevented the dialogs from being drawn).
>
>  I have no idea on how we can work around both problems.
>
>  On the plus side (sort of), I've been unable to reproduce the issue
>  on S12.2 in qemu. Any idea on when the problem started?
>
>
>  -------------------------
>
>  _______________________________________________ sbopkg-users mailing
>  list sbopkg-users at sbopkg.org
>  http://sbopkg.org/mailman/listinfo/sbopkg-users

Aren't these upstream bugs? If they occur only in screen, then surely 
the problem is either in dialog or screen?

I'd be inclined to just do:

if [ $TERM == "screen" ]; then
    dialog --msgbox "Using sbopkg within screen causes display 
problems." 7 60
fi

I know this doesn't help fix anything, but at least people will be 
prepared for the glitches!

Pierre


More information about the sbopkg-users mailing list