最新消息:20210917 已从crifan.com换到crifan.org

[未解决]SecureCRT中通过SSH连接CentOS的zsh命令行输入命令有残留

CentOS crifan 3408浏览 0评论

背景是用SecureCRT通过SSH连接到CentOS,在终端命令行中输入命令,但是输入完毕后,有时候终端有残留。

比如:

输入了ca

再去按Tab

希望输出cat

然后再去加上文件去打印出文件内容的

结果取消输入时,最开始部分的还有2个字母残留:ca

上面截图中,只输入了ll

但是显示的效果是:

加上之前残留的ca,变成了call

比如后来又遇到的:

执行完毕了:

export FLASK_APP=hello.py

结果ex残留了:

后面的命令的最开始,多了ex,变成了:

exflask run –host=0.0.0.0

而实际上是:

flask run –host=0.0.0.0

输入和使用其它命令时,也是类似的:

经常性的,残留2个字母

zsh shell first two char

securecrt centos zsh remain two latter

去把SecureCRT从Linux换成Xterm

还是没用。

securecrt centos zsh shell two char

SecureCRT – FAQ

centos zsh shell two char

centos zsh show part previous command

shell – How do I repeat the last command without using the arrow keys? – Unix & Linux Stack Exchange

zsh – How to repeat the last part of a previous command? – Stack Overflow

zsh – Last command in same terminal – Stack Overflow

shell – How do I reuse the last output from the command line? – Unix & Linux Stack Exchange

后来的后来,貌似重启电脑后就解决了?

转载请注明:在路上 » [未解决]SecureCRT中通过SSH连接CentOS的zsh命令行输入命令有残留

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
99 queries in 0.199 seconds, using 23.32MB memory