Hacker News new | ask | show | jobs
by jhurliman 2158 days ago
The worst is when I see someone using vim or Emacs over SSH. If you think Electron apps are bad, imagine adding a network round trip between every keystroke!
4 comments

Suggestion for anyone who's annoyed by SSH latency - try out mosh[0]. It watches to see if your keystrokes are echoed and if they are, it'll start echoing your keystrokes locally without waiting for network roundtrip.

That, plus the ability to rejoin a session even from a different IP, makes working over SSH doable even from airplane Wi-Fi.

[0] https://mosh.org/

Gui Emacs via tramp+ssh is awesome.

Terminal Emacs over ssh is, well, just like anything else in a terminal over ssh. Can't say I notice the latency unless the datacenter is on the other side of the country.

Isnt it the same if you use tramp in the terminal, assuming you are running emacs locally and tramping into the server to edit?
Sure, although in that case why not use the GUI?
idk, vim across ssh (rn from my place in the west coast to a vps in iirc the east coast) feels a lot snappier and less frustrating than my typical interaction with slack.
You can use programs like winscp to open the file locally in your fav text editor and then upload back to the server when you click save.