Paulo,
Hmm there is no 'reset' for Cygwin users. Any one know of a method of
resetting mintty terminal when it's in a 'non-normal' state? I've been bit
by this issue a couple times--mostly by careless catting of binary files.
The only workaround was to completely kill the tmux session and then start
it up again.

-Saad


On Thu, Sep 26, 2013 at 5:56 AM, Paulo Ferreira <p...@keeh.net> wrote:

>
> 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
>
------------------------------------------------------------------------------
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