我需要发出 telnet close 命令,通常,^] (Ctrl-]) 应该可以工作。(找不到任何 emacs 特定的 telnet 文档)
当我在 emacs 中使用 M-x telnet 连接时,如何获得 telnet>
提示符?
最佳答案
通过M-x查看库注释 find-library
RET telnet
RET 显示以下内容:
;; Normally, input is sent to the remote telnet/rsh line-by-line, as you
;; type RET or LFD. C-c C-c sends a C-c to the remote immediately;
;; C-c C-z sends C-z immediately. C-c C-q followed by any character
;; sends that character immediately.
因此您可以使用以下方式发送转义字符:
C-cC-qC-]
关于emacs - 如何在 emacs telnet 模式下发出 telnet 命令?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10852616/