转载-Mac下iterm无法使用rz并提示waiting to receive.**B0100000023be50

原文链接:https://www.kissfree.cn/2530.html

安装rz sz

 

 
1 2 brew install lrzsz  

 

运行rz会报类似错:rz会出现?z waiting to receive.**B0100000023be50
原因:mac上的终端不支持rz和sz,需要在iterm2配置一下

配置iterm2,添加trigger

下载脚本

github 地址

 

 
1 2 3 4 5 cd /usr/local/bin sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh sudo chmod 777 /usr/local/bin/iterm2-*  

 

打开Item2,点击preferences → profiles,选择某个profile,如Default,之后继续选择advanced → triggers,添加编辑添加如下triggers

 

 
1 2 3 4 5 6 7 8 9 10 triggers1: Regular expression: /*/*B0100 Action: Run Silent Coprocess Parameters:/usr/local/bin/iterm2-send-zmodem.sh   triggers2: Regular expression: /*/*B00000000000000 Action: Run Silent Coprocess Parameters:/usr/local/bin/iterm2-recv-zmodem.sh  

 

记得要选中哦

  配置截图:注意 转载-Mac下iterm无法使用rz并提示waiting to receive.**B0100000023be50

 

上一篇:windows安装FinalShell


下一篇:比Xshel更好用的 FinalShell