News for hackers. Stuff that matters.
Re:Mosh: A replacement for SSH by matthiasv on Monday September 01, 2014 @08:19AM (#8252484)
If you do know screen, then tmux is going to blow your mind.
Re:Mosh: A replacement for SSH by jnbiche on Monday September 01, 2014 @08:46AM (#8252561)
Well, this is probably as good a place as any to ask a tough TMUX question I've had for several years. I love TMUX, but whenever I'm working with protocols or anything binary, if I accidentally push any binary out of stdout, it corrupts the display, and the only way I've figured out how to fix this once it's happened is to totally restart TMUX.

Does anyone know how to fix this?

(don't usually ask SO questions on HN but this has been bugging me for years)

Re:Mosh: A replacement for SSH by jdelStrother on Monday September 01, 2014 @11:57AM (#8253459)
'reset' might work, but often when this happens to me, it's because the window's name has been changed to something ridiculous. Hit "<prefix>," and rename your window back to something sensible.
Re:Mosh: A replacement for SSH by jnbiche on Monday September 01, 2014 @10:26PM (#8255540)
'reset' combined with renaming the window may just work. Thanks for everyone's input!
Re:Mosh: A replacement for SSH by fmoralesc on Monday September 01, 2014 @09:23AM (#8252669)
Tried 'reset'?
Re:Mosh: A replacement for SSH by marcosdumay on Monday September 01, 2014 @09:12AM (#8252637)
I have very litle experience with TMUX... But you can try runnng the "reset" command. It resets the TTY, if TMUX does not use any crazy magic it should work.
Re:Mosh: A replacement for SSH by cel1ne on Monday September 01, 2014 @09:44AM (#8252764)
lesspipe [0] might fix your problem to some part.

[0] http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html

Re:Mosh: A replacement for SSH by JoshTheGeek on Monday September 01, 2014 @12:32PM (#8253642)
Kill the pane (prefix x) and then run `reset`, maybe?