[英]Backspace doesn't work in ssh in term-mode inside emacs
I'm running a terminal inside emacs, using term-mode. 我正在使用term-mode在emacs中运行一个终端。 In that terminal I'm ssh-ing to another host and on that host, the backspace key no longer works.
在该终端中,我将切换到另一台主机,并且在该主机上,退格键不再起作用。 It works fine if I'm ssh-ing from a different terminal emulator outside of emacs.
如果我从emacs之外的其他终端仿真器中切换,则效果很好。
So just to be clear, I'm not running emacs on the remote host, I'm running a remote shell inside emacs. 因此,为了清楚起见,我没有在远程主机上运行emacs,而是在emacs中运行了远程shell。
So it is your terminal in emacs you need fix, :D 所以这是您在emacs中的终端,您需要修复:D
I had a similar issue with a perticular setup where backspace key through ssh act as delete key, seems emacs sometime have problem guessing which one is which in non-GUI setting. 我在垂直设置中遇到了类似的问题,其中通过ssh的退格键充当删除键,似乎emacs有时在猜测非GUI设置中哪个是问题时遇到问题。
what I did is change (normal-erase-is-backspace-mode 1)
from 1
to 0
. 我所做的是将
(normal-erase-is-backspace-mode 1)
从1
更改为0
。 You could try that, but is sounds like a terminal issue to me. 您可以尝试一下,但对我来说听起来像是终端问题。
reference in emacs manaul about that setting emacs手册中有关该设置的参考
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.