配置cygwin的ssh server 修改~/.bashrc alias adbshell='stty -icanon -echo -echoe intr ^0 ; adb shell ; stty sane' 或者 adb() { if [[ $@ == "shell" ]]; then command stty -icanon -echo -echoe intr ^0 ; adb shell ; stty sane else command adb "$@" fi }
没用呀,不知道啥原因,这个吗?stty: 缺少"intr" 的参数