0

我正在使用 bash 和 mintty。Ctrl-L 不会像应有的那样清除屏幕:

0920:~$ ^L
-bash: $'\f': command not found

如果我通过我的 cygwin mintty 将 ssh 编入 linux 机器,我会得到同样的错误。

4

1 回答 1

3

听起来像是 /etc/inputrc 或 ~/.inputrc 中的 readline 映射有问题。尝试添加这个:

"\Cl": 清屏

于 2015-10-14T02:22:34.917 回答