我下载编译后,安装了aterm 1.0.1。我无法使用退格键或删除键。我已经尝试了在网上找到的所有相关内容。
aterm*backspacekey: \010
aterm*deletekey: \177
aterm*backspacekey: ^?
我什至用选项重新编译了它。
--disable-backspace-key
disable any handling of the backspace key by us - let the X server
do it
--disable-delete-key
disable any handling of the delete key by us - let the X server
do it
当我重新安装它,然后启动它..在术语中输入一些内容,然后按退格键或删除键,无论我以何种方式构建它,它都会向前移动...当我尝试其他“关键代码”时,它只会将它们输入到屏幕上。
根据这到目前为止我读到的很少。
At any rate, first find out whether the terminfo entry for xterm is in
accordance with your xterm settings: infocmp | grep kbs
should return a line which includes kbs=\177. This means DEL (or ^?)
is mapped to the backspace key, which is what we want.
这就是我得到的。
$infocmp | grep kbs
kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^H,
我正在使用 BASH sh。无效的Linux,i3 wm。
谢谢