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.
问题很简单,在linux上我按F9,~ 如果我在solaris上用ssh shell按F9给我,或者freebsd或unix一般给我0~ 如何用波浪号设置F9?
~
0~
首先找到解决方案必须按
CTRL+V and key
在我的情况下是F9所以我做了
CTRL+V F9
并返回这个
^[[20~
现在我知道是键 20,我将它绑定到波浪号
bind '"\e[20~":"~"'
如果工作按 F9 并返回波浪号,我尝试将其放入 $HOME/.profile 以进行永久更改