Actually, not always.

Once upon a time I corrupted tmux session by /dev/urandom in that way,
that even status-bar and tabbar was broken. And reset has no effect on
them. The only way to 100% fix is a restart session :/

26.09.2013 19:56, Paulo Ferreira пишет:
> 
> On 23/09/2013, at 23:26, Jack O'Connor <oconnor...@gmail.com> wrote:
> 
>> Let me preface this by saying this is a stupid question. Please feel free to 
>> tell me "don't do that".
>>
>> When I run `cat /dev/urandom` inside of tmux, it usually corrupts my 
>> terminal, and I end up with something like this:
>>
>> <Screenshot from 2013-09-23 15:16:05.png>
>>
>> Gnome-terminal by itself doesn't seem vulnerable to this problem. Neither is 
>> screen or mosh. What's interesting is that if I run `mosh localhost` inside 
>> of tmux, that actually protects tmux from getting corrupted.
>>
>> I don't know if this boils down to a single class of bugs (the mosh folks 
>> talk a lot about http://www.cl.cam.ac.uk/~mgk25/unicode.html#term), or if 
>> this is a broader set of issues that are difficult to tackle. But it would 
>> be cool to get tmux to be resilient. Every so often I accidentally cat a 
>> binary into the terminal, and it makes me sad when I have to recreate the 
>> window :)
>>
>> Best,
>> Jack
> 
> No, the issue is not from tmux. 
> 
> Many other terminal emulators have that "possibility" of changing the 
> terminal mode into something other than the "normal".  It's not a bug. It's a 
> feature.  
> ;-) ;-) ;-) 
> 
> Just do "reset" on the command line (even if you don't see it), and 
> everything will go back to normal. 
> 
> 
> Best regards 
> Paulo Ferreira
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
> 





Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to