-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Considering ZMODEM forwarding #48
Comments
I decided to have a look at Some documents on ZMODEM are: And in summary they say:
In So here's the plan that's ripening:
This allows There could be room for default connections to the enclosing terminal. This might require option setting. It might cause multiple attached displays to exchange files too. |
Zmodem is a bear. I implemented it similarly to your strategy early on for Qodem, but could not obtain some of the values I wanted to expose on the download/upload screen. In the end I implemented the entire protocol myself and discovered numerous errors in both the protocol and the (l)rzsz implementation. Most are noted at the top of this. If you are just looking for a way to do Zmodem download inside any terminal session, LCXterm in passthru mode ('lcxterm -p') will do Zmodem (and Kermit) autostart and download. |
Spooky, I just compiled QODEM today! Now also got LCXTERM [0], as it seems to be an interesting tool -- TWIN has value as a TUI that does many of the things you do with LCXTERM, but LCXTERM can be run in other/graphical environments to do the same. I started this topic with an idea that is new AFAIK, namely to directly connect two terminal sessions engaging in ZMODEM where the TUI or GUI is merely a connector; in the understanding that an admin would trust the sites he visited, he could send from one logged-in host and receive on another, and use this to share files. I regularly need that to keep replicated setups properly in sync. This is a new idea, and it could be very pleasant. I did not finish the work, mostly because I'm better at infrastructure than at user interface code, but the idea is still lurking in my mind. Other uses of ZMODEM that I can see include running a remote configuration shell and needing to pass data in and out for commands, such as certificates or other goodies. When we operate the shell as an AMQP command queue I can easily attach files to commands, but it would be wonderful to have a shell analogon. [0] Note that your v0.9 release does not have a tag in Git, and lacks the Makefile.in in the release download. |
Is it a strange idea to support ZMODEM passthrough
via a service in the event interface? I still think of it as a highly useful protocol, but it is ancient... so, to refresh your memory:sz
orrz
as contained in packagelrzsz
on a TTYD-supported terminalWhat could make sense?
sz
andrz
initiation frames to a central place, which connects them/dev/pts/7
to/dev/pts/12
)$HOME/Downloads
or dynamic plugins such as USB storage sticks may provide a ZMODEM upload/download target.twdialog
ordialog
could arrange file transmission viasz
.The flavour one would desire is a matter of taste, I suppose. All it requires is recognising the initial TTY codes for ZMODEM, and passing them to a central place in the TWIN environment that implements the personal taste.
I was wondering if it made sense to use your event system for these ZMODEM connections, but I cannot tell as I find the code difficult to follow.Any suggestions or guidance?The text was updated successfully, but these errors were encountered: