Typing into a remote shell feels laggy, and I’d prefer to compose a command locally and send it when I press Enter. Is there a good way to get that feel without giving up a normal terminal?
Can I make a remote terminal feel more like a local textbox?
Answers
For the exact textbox workflow, use a local editor as the place where you compose the command, then paste or send it to the shell when it’s ready. That keeps typing and editing local. It’s especially handy for long or multiline commands, though it won’t change how interactive programs behave once they’re running.
Reply to this answer
If you want to keep working in a regular terminal, check whether your terminal supports local echo. It can display keystrokes immediately while the remote response catches up. Be aware that it may not work well in every full-screen or interactive program, and the terminal’s scrollback behavior may still matter.
Reply to this answer
Mosh is worth trying for a laggy or unstable connection. It’s designed to make remote shell sessions feel more responsive, but it’s still a terminal session, not a chat-style input box. Check its behavior with the specific tools you use, since local echo and scrollback expectations can vary.
Reply to this answer
A delay around 180 to 200 ms can make every keystroke feel awkward even when the remote machine has plenty of resources. If you want to diagnose the cause, compare the same command line over another connection or from another terminal. That helps separate network delay from terminal rendering or shell configuration.
Reply to this answer
Add your answer
Answers are reviewed before publication.
velourbyte:
That sounds closer to what I want. I mainly notice the delay while entering commands, not while running them.