简体   繁体   English

在mac os x上showkey等价?

[英]showkey equivalent on mac os x?

I'm debugging an emacs keyboard binding on my mac (C-/ to undo, if you're curious), and I came across a suggestion on EmacsWiki that I could use "showkey" to find the scancode. 我正在调试我的mac上的emacs键盘绑定(C- /撤消,如果你很好奇),我在EmacsWiki上发现了一个建议,我可以使用“showkey”来查找扫描码。 But it looks like a GNU/Linux-only kinda thing. 但它看起来像只有GNU / Linux的东西。 Didn't find it on MacPorts. 没有在MacPorts上找到它。 Anyone know of an alternative or something I'm missing? 任何人都知道一个替代或我错过的东西?

Key Codes may be what you're looking for generally, even if you're out of luck with C-/ . 密钥代码可能正是您正在寻找的,即使您对C-/运气不好。

The emacs-app port works well if you need to escape from Terminal.app 如果您需要从Terminal.app转义,emacs-app端口运行良好

Showkey's home page is http://catb.org/esr/showkey/ . Showkey的主页是http://catb.org/esr/showkey/

FYI, if you're using Terminal.app, there's something of a known issue that C-/ is broken and doesn't get sent through to underlying applications. 仅供参考,如果您使用的是Terminal.app,则存在一些已知问题,即C- /被破坏并且不会被发送到底层应用程序。 iTerm.app doesn't have that issue. iTerm.app没有这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM