GNOME Bugzilla – Bug 79276
[zmodem] Add file upload/download features
Last modified: 2021-06-10 12:35:31 UTC
Hi, Back in the good old days of modems and BBSes, terminal programs supported file transfer via in-band signalling. Have you ever been logged into a system via ssh and thought "I wish I could just quickly send a file to this system"? maybe you use `cat file | xclip', then `cat > file' and paste with your mouse button. Maybe you use "scp" from another window. But "scp" takes ages, it has to re-authenticate, etc. And "scp" won't work if you're more than one level of login shells deep. To implement this is simple - allow the user to define external programs that are run when key sequences are seen on input. For instance, you might define the following sequence: "**^XB00000000000000^MM-^J^Q" to run "rz". That's download. Upload is even simpler; you just need to direct output from a user-defined command to the terminal. In the case of Zmodem, "sz" issues "rz^M" first, which will send a file to that place. I think it would be useful. What do you think?
Some interesting security issues there... ;-) What if I send you an email with "**^XB00000000000000^MM-^J^Q" in it? Anyhow, has to be done in libzvt first. I'm not sure it's worth adding the extra stuff to the profile editor dialog though. At least not unless we can get rid of an existing thing; already out of room for tabs.
I reassign this bug to vte because libzvt doesn't exist.
Hello, As I am always connected to distant machines by 2 or 3 bounces where I sometimes need to get some files, I am using Konsole on a gnome environement for this specific features. Any chance it gets implemented one day?
sebek: Konsole or gnome-terminal? Konsole is part of KDE and that doesn't use vte. This bug needs an interested person willing to create a patch. It will probably not be implemented by the gnome-terminal developer.
Olav: What I meant is that Konsole support this feature, that's why I am using it. I would prefer to use gnome-terminal for that. Time to study vte for me and start coding :-) Thanks for the quick update.
sebek, any news on this?
See also bug 132918 for another method of in-band transfer that may make more sense than zmodem in today's Internet.
*** Bug 651910 has been marked as a duplicate of this bug. ***
*** Bug 753023 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/589.