For me both these files look identical when cat inside tmux and outside
tmux in both xterm and rxvt-unicode. That is, there is no difference
between how tmux and rxvt-unicode renders them.

This is the case even when I add some text after the %.

Can you send a screenshot of your output when you cat these files inside
and outside tmux so I can see exactly what the differences are?
Preferably in xterm but if the problem only happens in rxvt-unicode then
sure use it.



On Mon, Oct 31, 2011 at 09:35:34AM +0100, Natacha Port? wrote:
> Hello,
> 
> on Saturday 29 October 2011 at 10:32, Nicholas Marriott wrote:
> > What exactly is in your prompt?
> > 
> > Either send it through cat -v or run script and hit enter a few times
> > then send me the script file.
> 
> It turns out that my prompt is generated by a callback, so `cat -v` is
> not an option.
> 
> I attached prompt-bright.script exhibiting the problem (or rather, that
> would exhibit the problem if there was text entered), while
> prompt-ok.script shows a variation that is fine *except* on the first
> line (since `script` starts with a clean state, I had to use the first
> line to trigger the error reported as the bold "1" which reverts colors
> to the non-bright correct state). This is exactly how I got the two
> different versions on the screenshot.
> 
> > It is clearly your prompt that is causing tmux to leave bright turned on
> > until the SGR 27 you send causes it to reset. I bet clearing any attribute
> > will do it, not just reverse, because they will all trigger an SGR 0.
> 
> Yes, the prompt is indeed causing that, but the last part of the
> printf'ed lines in the screenshot shows that
> "\033[36m whatever \033[m" *also* triggers the problem where bright
> stays turned on, and I bet this sequence is much easier to analyze than
> my prompt.
> 
> 
> Thanks for your help,
> Natacha Port?




------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to