contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.38k stars 102 forks source link

VT sequence: file transfer #164

Open christianparpart opened 3 years ago

christianparpart commented 3 years ago

Should support:

Checklist

jerch commented 2 years ago

@christianparpart I also came across this demand, mainly from zmodem support requests. I know a few xtermjs integrations with zmodem support (and we even had an official addon for it in v3). When I took a closer look at zmodem to re-enable it for xtermjs I found it subpar for 2 reasons:

That all said I think a genuine terminal sequence for file up-/download (both directions) would be good to have. And maybe we can still learn from zmodem, because it has some valuable goodies.

What I came up with conceptually so far:

christianparpart commented 2 years ago

Oh yes. Thanks @jerch for the input. I first want to push for feedback on our unicode draft spec discussion in at least windows terminal dev community (and have it implemented as PoC such that notcurses can experiment with it). Then got image protocol (finally!). And then i think at least i have room for the file transfer idea (got image protocol outcome might come in handy here for sure).

jerch commented 2 years ago

@christianparpart Yes, I also think we might see some similarities between GIP and a file transfer thingy, due to the needed (prolly bigger) binary transports.