Jesus Ramos
Jesus Ramos

Reputation: 23268

Emacs switching out of terminal

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.

Upvotes: 20

Views: 11450

Answers (2)

The Codepreneur
The Codepreneur

Reputation: 29

With the assumption that you are using a Linux distro:

  1. Ctrl + d to terminate the Terminal Emulator process
  2. C-c k then ENTER to kill the associated buffer

Upvotes: 0

spike
spike

Reputation: 10004

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

Upvotes: 33

Related Questions