Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often ssh to a remote machine and work in an interactive shell (e.g. pry). If the ssh connection is slow, typing complex commands is very tedious because of the delay in echoing back the keystrokes.

Is there a tool I can use to type text locally and then submit the result when I'm ready? (Yes, cut-and-paste would work, but I'm wondering if there's a more elegant solution.)

For background, I'm using Terminal.app on a Mac (OS X 10.7) but not wedded to it.

Thanks!

share|improve this question

1 Answer 1

Mosh (http://mosh.mit.edu) seems to want to be what you're looking for, although I was less impressed than I'd hoped the last time I tried it.

Update: tried this again today, and it seems to actually behave much more like I'd hoped. I'm not sure how I tested it before, but I don't think I can've been doing it right.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.