如何在emacs telnet模式下发出telnet命令?

时间:2012-06-01 14:55:19

标签: emacs telnet

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

当我在emacs中使用M-x telnet连接时如何获得telnet>提示?

1 个答案:

答案 0 :(得分:3)

通过 Mx查看库评论 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-C Ç-Q Ç - ]