Félix Saparelli

(about)

a.k.a. passcod

How to avoid ISO 2022 locking escape drudgery

Posted on Sep 21 ‘14

This protip is also tagged as

Ever encountered this?

Drudgery

  1. Install mosh
  2. Run $ ssh-copy-id localhost
  3. Prepend your terminal’s starting command with mosh localhost
  4. Profit!

Moshery

If running tmux, you’re out of luck, though. You can modify the inner tmux starting command, but I’m not quite sure how mosh handles multiple connections. Also, if you prefer Tmux<1.8 behaviour when creating new panes/windows (keep the same current directory) like I do, that will kill it.