On 2014-03-20 10:51:27 -0700, David Brodbeck wrote:
> On Thu, Mar 20, 2014 at 6:21 AM, Keith Winstein <kei...@mit.edu> wrote:
> > You will if you run something like: echo -e "\033(0"
> 
> For me the most common way for this to happen is to accidentally 'cat' a
> binary file to the terminal.  Does it almost every time.  I've gotten very
> good at typing 'reset' blind. ;)

The best solution is to do terminal clean-up with your shell.

But there are more important problems with escape sequences that
can be found in binary files (e.g. PDF), such as those that make
the terminal insert characters as input. There's also the following
bug in xterm:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738794

and mosh cannot avoid these problems.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
_______________________________________________
mosh-users mailing list
mosh-users@mit.edu
http://mailman.mit.edu/mailman/listinfo/mosh-users

Reply via email to