osewa vs ET.
Eternal Terminal (ET) is the closest tool to osewa: a reconnecting terminal with forwards and sessions that outlive the network. ET makes a TCP connection that can't die and replays what you missed. osewa keeps the screen on the host and sends you the current one.
This page comes from reading ET 7.1.1's source and running it beside osewa on one host.
The main difference
ET puts a layer under the TCP socket. Each side numbers what it sends and keeps it, encrypted, in a buffer. After a reconnect the two sides swap sequence numbers and resend whatever the other missed, so your terminal gets every byte, in order, as if the link had never dropped. Your terminal does the rendering, and its own scrollback holds the output.
osewa runs the program under libghostty-vt on the host, which keeps the screen. A reconnect sends that screen as one snapshot, however much you missed. The output in between stays on the host, in the session's scrollback, rather than in your terminal's.
That shapes what each does badly. While the link is down, ET holds up to 64 MiB of new output, then stops reading from the program, which pauses it until you're back. And a client that starts fresh, after a crash or a reboot, resets the stream: et --attach gets the shell back, but no replay and no screen, so you see only what comes next. osewa's cost is that it has to parse everything the program writes, and it can only show what its engine understands.
At a glance
| osewa | ET | |
|---|---|---|
| Transport | QUIC, falling back to TLS WebSocket over TCP | TCP |
| Port | 7322, TCP and UDP | 2022, TCP |
| Encryption | TLS 1.3, pinned keys on both ends | libsodium secretbox, with a key sent over ssh |
| Login | ssh once, then a device key | ssh for each new session |
| On the host | A server you run as your user | etserver, usually a root service |
| After a reconnect | A snapshot of the screen | Every byte you missed |
| After a client crash | The screen, from any enrolled device | The shell, on that client, with no screen |
| Scrollback | On the host, up to 10 MiB | Your terminal's own |
| Local echo prediction | Yes | No |
| Several devices at once | Yes: one owner, the rest view | One client per session |
| Session left alone | Ends after 24 hours with nobody attached and no output | Lasts until the shell exits, by default |
| Port forwards | Local | Local, reverse, SOCKS, stdio, Unix sockets |
| Agent forwarding | No | Yes |
| Commands without a terminal | Yes, osewa exec | Yes, et -T |
| VS Code and Cursor Remote-SSH | No | Yes |
| tmux control mode | No | Yes, through its multiplexer, HTM |
| Platforms | Linux and macOS | Linux, macOS, FreeBSD, WSL |
Measured
One host and one path: a 1-vCPU, 1 GB Linode in Tokyo, from a Mac in Thailand over the public internet, about 104 ms round trip. Medians of 5 runs in the same session. These numbers describe this path, not every network. Echo is timed with prediction off.
| osewa QUIC | osewa WebSocket | ET | |
|---|---|---|---|
| Connect and run a command | 316 ms | 520 ms | 2,145 ms |
| Echo, idle | 104 ms | 103 ms | 102 ms |
| Echo during a download | 106 ms | 109 ms | 132 ms |
| Download alone | 39.0 MB/s | 26.4 MB/s | 18.5 MB/s |
| Download while typing | 37.9 MB/s | 26.5 MB/s | 18.8 MB/s |
On an idle link there's no difference in echo. ET's connect includes an ssh login and a login shell, which osewa's doesn't. Its download ran through a forward on the terminal's connection, and swung between 12.8 and 24.1 MB/s across the runs. ET also keeps its kernel send queue small, which is why its keys held up far better during a download than ssh's on the same run (208 ms).
A second test cut the link both ways for 15 seconds, then timed how long after it came back each tool caught up. Two rounds, so read these as rough.
| osewa | ET | |
|---|---|---|
| First new output | 0.9 s | 1.8–2.2 s |
| Caught up after 22 MB of output | 1.0 s, reading 2 kB | 3.3–3.5 s, reading 22.5 MB |
| Caught up after 240 MB of output | 36 s, reading 1.1 MB | 50–52 s, reading 241 MB |
The gap in resuming comes from how each looks for the link: osewa retries every 500 ms, and ET once a second, after a keepalive that can take up to 10 seconds to call the link dead. The 240 MB case is slow on both sides for different reasons. osewa sent only 1.1 MB, so the time went on the small host working through the output, not the network. ET had to carry all of it, and paused the program at its 64 MiB limit. Our test read as fast as it could, so a real terminal drawing ET's replay would take longer. The method and raw output are in the benchmark results.
Where the transport matters
ET sends everything down one TCP connection: terminal output, your keys and every forward, in one line. osewa gives each forward its own QUIC stream, so a lost packet in one doesn't hold up the others, and it holds bulk data back while you type. ET does take care over floods, though: it keeps pending output in a buffer of its own, so Ctrl-C can throw the rest away.
ET needs one open TCP port, while osewa wants UDP as well. With UDP blocked, osewa falls back to TCP and loses what QUIC adds.
Where ET is the better choice
- You want every byte in your own terminal's scrollback, with nothing rendering in between.
- You leave sessions disconnected for days.
- You need reverse or SOCKS forwards, agent forwarding, tmux control mode or FreeBSD.
- You use VS Code or Cursor Remote-SSH and want those windows to survive sleep.
- You want a more mature tool. osewa is young, and its protocol is still at v0.
Where osewa is the better choice
- You type on a slow link, where local echo prediction hides the round trip.
- You move between devices, or want to watch one session from several.
- A client crash or a reboot shouldn't cost you the screen.
- Your program writes a lot while you're away, and shouldn't pause or make you wait through a replay.
- You move a lot of data over the same connection.
- You want no root service, and no ssh needed after enrollment.