Hyper: Add rz sz support

Created on 19 Apr 2018  路  6Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: OSX 10.13.4
  • Hyper.app version: 2.0.0
  • Link of a Gist with the contents of your .hyper.js: N/A
  • Relevant information from devtools _(CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: N/A

Issue


I wish we can add rz sz support. It means Hyper can open a file open or save as dialog when we use rz or sz. Something like iTerm2, though it is not supported officially, someone give an alternative solution: https://github.com/mmastrac/iterm2-zmodem

help wanted Plugin Request

Most helpful comment

Not yet but issue created: https://github.com/zeit/hyper/issues/2903
Awesome idea

All 6 comments

What is rz sz? 馃

rz and sz are commands of lrzsz package (see: https://ohse.de/uwe/software/lrzsz.html). When we can access a server directly, we usually use scp to transfer files. But when we access a server through a jump server, rz and sz are really useful commands for file transfer. According to the manual, it uses XMODEM, YMODEM ZMODEM file transfer protocols. But sorry I don't know much about how it works.

Sorry I cannot write nodejs codes, but I found a repo may help with this problem, https://github.com/FGasper/zmodemjs

Nice! Using that you can write a plugin to hyper that enables it. @chabou do we have a way to add custom plugins to xterm via a hyper plugin?

Not yet but issue created: https://github.com/zeit/hyper/issues/2903
Awesome idea

I modified the hyper-status plugin and support the interactive upload and receive similar to rz/sz. It's an ugly patch, that requires ssh enable the ControlMaster option or use ssh public key authentication . hyper-statusline

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eoinmurray picture eoinmurray  路  3Comments

alejandrofloresm picture alejandrofloresm  路  3Comments

daenuprobst picture daenuprobst  路  3Comments

cilice picture cilice  路  3Comments

juicygoose picture juicygoose  路  3Comments