(05/18/2011 04:07 PM), Micah Cowan wrote:
> (05/18/2011 03:55 PM), Robin Lee Powell wrote:
>> On Wed, May 18, 2011 at 03:27:20PM -0700, Micah Cowan wrote:
>>>
>>> A workaround should be to alias vim to 'clear; vim' or something.
>>
>> Ah.  Yes, that works; with older tmux I had tested clear and it
>> broke in the same way vim does, but with HEAD this works fine.
>>
>>> What I don't understand is: what made vim change what it's sending
>>> in terminal codes? TERM was set to screen in both cases, right?
>>> ...or do you have TERM set inappropriately within tmux? And why
>>> isn't it doing the exact same thing when you're running it under
>>> screen? It looks like vim _is_ still sending the clear-screen
>>> codes in screen_new_1.txt (which is why it's still working)...
>>> what's different?
>>
>> *Interesting*.
>>
>> Under screen, the terminal is "screen-bce".  Under tmux, it's
>> "screen".

Although, this still doesn't explain why your earlier tests were sending
the proper "clear" sequences even under tmux (though they weren't having
the desired effect).

-- 
Micah J. Cowan
http://micah.cowan.name/

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to