withoutboats / notty

A new kind of terminal
GNU Affero General Public License v3.0
2.31k stars 40 forks source link

Wishlist : Magic Wormhole #65

Open lord-re opened 7 years ago

lord-re commented 7 years ago

I have a little idea but don't know how it could be done or if it's even doable or not :

The magic wormhole is a fifo between multiple terminal. Let's take an example.

I discussed a bit of this on alacritty's irc channel and was redirected here. What do you think of this ? Is it out of scope ? technically not feasible ?

lheckemann commented 6 years ago

Funnily enough, there's a tool with this very name that does this (although via the network) for file transfers: https://magic-wormhole.readthedocs.io

Extending it to support reading from stdin and writing to stdout instead of regular files shouldn't be too difficult either. This doesn't seem like something the terminal needs to support though, unless the hosts in question have no internet access.

abitrolly commented 7 months ago

The only problem is to how to break the FIFO from the terminal in the middle. Who initiates the break, and how the process should work?