Ctrl-L 在 cygwin/bash/mintty 中不清除屏幕
Ctrl-L does not clear the screen in cygwin/bash/mintty
我正在使用 bash 和 mintty。 Ctrl-L 没有像它应该的那样清除屏幕:
0920:~$ ^L
-bash: $'\f': command not found
如果我通过我的 cygwin mintty ssh 进入 linux 框,我会得到同样的错误。
听起来像是 /etc/inputrc 或 ~/.inputrc 中的 readline 映射有问题。尝试添加这个:
"\C-l": 清屏
我正在使用 bash 和 mintty。 Ctrl-L 没有像它应该的那样清除屏幕:
0920:~$ ^L
-bash: $'\f': command not found
如果我通过我的 cygwin mintty ssh 进入 linux 框,我会得到同样的错误。
听起来像是 /etc/inputrc 或 ~/.inputrc 中的 readline 映射有问题。尝试添加这个:
"\C-l": 清屏