howto send emacs control-quote (C-') via terminal (iTerm2)

半世苍凉 提交于 2020-01-05 03:06:51

问题


I have seen this answer for the case of xterm Send "C-(" to Emacs in VT100/xterm terminal (Mac OS X's Terminal)?

Yet, how would i represent the conrol key in ctrl+char combinations (like emacs C-') while sending escape-sequences or hex-codes via iTerm2 ?

Experimenting in accord with the link above, I can send C-& and C-( BUT NOT C-' . Why?

^[[27;6;38~ yields C-&    as expected
^[[27;6;39~ yields ~      only tilde 
^[[27;6;40~ yields C-(    as expected

来源:https://stackoverflow.com/questions/20874190/howto-send-emacs-control-quote-c-via-terminal-iterm2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!