2

我需要发出 telnet close 命令,通常,^] (Ctrl-]) 应该可以工作。(找不到任何 emacs 特定的 telnet 文档)

telnet>在 emacs 中使用 Mx telnet 连接时如何获得提示?

4

1 回答 1

4

通过查看图书馆评论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-]

于 2012-06-01T16:07:30.147 回答