Emacs 退出终端
当使用 Mx term
使用 Cx Co
在 Emacs 中运行终端模式时,我无法切换到另一个缓冲区来继续处理事情。我知道这可以通过 Mx shell
实现,但使用此命令时,shell 的某些方面不起作用(less、more、手册页等)。我想知道是否有办法解决这个问题,或者在使用终端模式时,您是否被限制在终端打开的缓冲区中,直到您退出。
When running terminal mode in Emacs using M-x term
using C-x C-o
I cannot switch to another buffer to continue working on things. I know that this is possible with M-x shell
but with this command there are certain aspects of the shell that do not work (less, more, man pages, etc...). I was wondering if there is a way around this or if when using terminal mode you are confined to the buffer that the terminal is open in until you exit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在终端模式下,您必须使用
Cc o
切换到另一个缓冲区。Cc
是“终端转义字符”http://www .gnu.org/s/libtool/manual/emacs/Terminal-emulator.html
In terminal mode you have to use
C-c o
to switch to the other buffer.C-c
is the "terminal escape character"http://www.gnu.org/s/libtool/manual/emacs/Terminal-emulator.html
假设您使用的是 Linux 发行版:
Ctrl + d
终止终端仿真器进程Cck
然后ENTER
终止关联的缓冲区With the assumption that you are using a Linux distro:
Ctrl + d
to terminate the Terminal Emulator processC-c k
thenENTER
to kill the associated buffer