News for hackers. Stuff that matters.
Re:Mosh: The Mobile Shell by perryizgr8 on Wednesday August 11, 2021 @11:03PM (#28151274)
I found et which works better than mosh in some respects. It supports scrolling, and seems faster to respond.
Re:Mosh: The Mobile Shell by rattray on Wednesday August 11, 2021 @11:06PM (#28151308)
Link?

Any tradeoffs?

Re:Mosh: The Mobile Shell by banana_giraffe on Wednesday August 11, 2021 @11:08PM (#28151324)
They're talking about Eternal Terminal, I think

https://eternalterminal.dev/

I'd be curious about the trade offs too, I'll have to check it out.

Re:Mosh: The Mobile Shell by Digitalghost on Wednesday August 11, 2021 @11:37PM (#28151558)
The biggest advantage of ET is that it's still in active development and the lead developer gets feedback from reading Hacker News ;-).
Re:Mosh: The Mobile Shell by kseistrup on Thursday August 12, 2021 @04:54AM (#28153782)
The way I see it, mosh has an advantage over et: while mosh is started on connection as the remote and unprivileged user, et relies on etserver running as root on the remote box (after connection is established, etterminal runs as the unprivileged user, though), so any vulnerabilities in etserver may have serious consequences.
Re:Mosh: The Mobile Shell by perryizgr8 on Wednesday August 11, 2021 @11:19PM (#28151415)
It works in identical fashion to mosh. I don't see any trade-offs except:

1. et has scrolling support

2. et does not have local echo of your input like mosh does

Edit: The comments below do a very good job of explaining the differences. TIL.

Re:Mosh: The Mobile Shell by jclulow on Wednesday August 11, 2021 @11:45PM (#28151619)
I don't believe it's identical at all. Eternal terminal is a TCP-like abstraction that adds another layer of tracking and acknowledgement so that the reliable ordered byte stream can be reconnected and resumed. Mosh is more like a video codec mixed with a terminal that knows how to do limited, speculative local echo that gets subsequently corrected once the display round trip is complete. They're fairly different in approaches.

For example eternal terminal has to send all of the bytes in order, so more output requires more bandwidth. Mosh only has to redraw bits of the frame that have changed, at a presumably adaptive rate -- you could scroll a hundred megabytes of text by really quickly, but only need to send a few screen-fulls of updates, which is of course why it doesn't allow for regular terminal scrollback.

Re:Mosh: The Mobile Shell by vmladenov on Wednesday August 11, 2021 @11:46PM (#28151624)
> It works in identical fashion to mosh.

No, it doesn’t. The best way I understand it is that mosh syncs a “view” of your current session, whereas et just sends everything. In practice, what this means is if I accidentally cat a 5GB file, mosh zips past as if I were working locally (and ^C works!) whereas et completely locks up until the file reaches its end. That said I still prefer and use et daily due to the scrollback and tmux -CC support.