On Sun, Aug 08, 2010 at 08:32:22AM -0700, Michael Elkins wrote: > On Sun, Aug 08, 2010 at 07:32:20AM +0200, ubitux wrote: > >Try with a terminal multiplexer such as screen, you should expect the > >issue. Also, your #undef HAVE_BKGDSET seems to solve it just fine for me > >:) > > When using screen, I do see this behavior in both xterm and gnome-terminal. > > >Is there a reason for not getting this by default? > > If you don't use bkgdset(), any time there is a non-default > background color used and the text does not reach the right column, > the space from the end of the text to the right column will be the > background color rather than the color the user requested. > > >About that problem, the FAQ tells to use the screen's bce option, but that > >does not work really well… > > I put this in my ~/.screenrc: > > defbce on > term screen-bce >
Mmmh sorry I may have screwed up a thing; yeah it works fine after a re-test. But it also seems some ncurses applications are able to handle that well, without depending on special settings for the terminal multiplexer; take irssi for example: it is able to display a whole line (even with a special background color, default or not) without getting "copiable spaces characters". Maybe a workaround is possible with default settings (both mutt and screen)? > and then the problem went away under both xterm and gnome-terminal. > > What wasn't working when you tried it? > > me -- ubitux
