Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> While running Emacs over a modem, I got into the habit of regularly typing ^A ^E to pace my cursor back and forth across the current line, to keep connection warm.

Huh. I got into that habit recently, because over the past year, I've been frequently working on the go, by SSH-ing to my home desktop and using Emacs terminal frame (emacsclient -t)[0]. I do regular "weather checks" with ^A and ^E - because the hardware has its weather, SSH has its weather, and the link I'm on has its own weather too (particularly when using an LTE hotspot, though I've noticed even when being in the same LAN, the response time is not always consistent).

What's old is new again :).

--

[0] - With terminal emulators supporting 256 colors, it looks very similar to the GUI Emacs. This mode of working is really quite good, and lets me use my underpowered sidearm 2-in-1 tablet/netbook to do things that would ordinarily require powerful hardware.



My ISP drops SSH connections (actually any TCP connections) that have been idle for too long. I have worked around that by adding

  Host *
  ServerAliveInterval <suitable number>
to my SSH client config. Works wonders.


> > While running Emacs over a modem, I got into the habit of regularly typing ^A ^E to pace my cursor back and forth across the current line, to keep connection warm.

> Huh. I got into that habit recently, because over the past year, I've been frequently working on the go, by SSH-ing to my home desktop and using Emacs terminal frame (emacsclient -t)[0]. I do regular "weather checks" with ^A and ^E - because the hardware has its weather, SSH has its weather, and the link I'm on has its own weather too (particularly when using an LTE hotspot, though I've noticed even when being in the same LAN, the response time is not always consistent).

You may find mosh [0] to be useful, as it buffers input client side to remove input lag.

[0]: https://mosh.org/


And you're continuously sampling the weather with every keystroke, not just when you're typing ^A ^E while you're thinking or spacing out.

After a million or so keystrokes and feedback delays, your brain can't help but build a model of what it means.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: