Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Julius Plenz
Hi, Micah! * Micah Cowan [2011-08-12 20:36]: > > Question remains whether it's STFL's or curses' fault to use bce > > though it's not advertised... > Curses would definitely know better (at least, if it's ncurses). My > money'd be on STFL. Solved the issue... it was not STFL's problem, neither

Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Micah Cowan
(08/12/2011 11:32 AM), Julius Plenz wrote: > Hi, Micah! > > * Micah Cowan [2011-08-12 20:19]: >> IIRC, screen _can_ support it, if the host terminal does. > > True, setting "bce on" from within screen works just fine. Question > remains whether it's STFL's or curses' fault to use bce though it's

Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Micah Cowan
(08/12/2011 11:07 AM), 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

Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Julius Plenz
Hi, Micah! * Micah Cowan [2011-08-12 20:19]: > IIRC, screen _can_ support it, if the host terminal does. True, setting "bce on" from within screen works just fine. Question remains whether it's STFL's or curses' fault to use bce though it's not advertised... Thanks, Julius ---

Re: tmux and terminfo's "el" and "ed"

2011-08-12 Thread Nicholas Marriott
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, xen

tmux and terminfo's "el" and "ed"

2011-08-12 Thread Julius Plenz
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