This is called background-colour-erase (BCE) and is not supported by
tmux.

Applications should not depend on this behaviour unless the bce flag
capability is in the terminfo description and for TERM=screen it is not:

$ infocmp -x xterm|grep bce
        OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, AX,
$ infocmp -x screen|grep bce
$



On Fri, Aug 12, 2011 at 08:07:55PM +0200, Julius Plenz wrote:
> Hi!
> 
> I'm not quite sure what to make of this. Both screen and tmux won't
> handle terminfo's "el" and "ed" (clear to end of line/display) the way
> I think it should work. Consider:
> 
>     echo `tput setab 2`foo`tput el`"\r"
> 
> I would expect to find the line cleared (and colored!) until the end.
> In XTerm and Rxvt this works like expected, in tmux (and screen) it
> doesn't. Take a look at the screenshot at
> http://www.plenz.com/imgdump/2011-08-12-194658_585x153_scrot.png
> - top is a regular terminal, below the same command in tmux.
> 
> Any ideas on this appreciated.
> 
> Julius
> 
> P.S.: This is not just a theoretical issue. This actually leads to
>       problems with applications like newsbeuter that are using the
>       STFL library.
> 
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy 
> to use, easy to manage, easy to install, easy to extend. 
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to