Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 bash 和 mintty。Ctrl-L 不会像应有的那样清除屏幕:
0920:~$ ^L -bash: $'\f': command not found
如果我通过我的 cygwin mintty 将 ssh 编入 linux 机器,我会得到同样的错误。
听起来像是 /etc/inputrc 或 ~/.inputrc 中的 readline 映射有问题。尝试添加这个:
"\Cl": 清屏