Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs switching out of terminal

Tags:

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.

like image 455
Jesus Ramos Avatar asked Sep 17 '11 01:09

Jesus Ramos


People also ask

How do I exit Emacs without saving?

To quit without saving, just do quit and emacs will ask if you want to save. If the keys you press seem to do weird things, then, press Ctrl + g . This will cancel the sequence of keys you may have pressed by mistake. Congratulations!

Does Emacs work in terminal?

If you are working with a command line interface with no option to start GUI application, start Emacs directly in the terminal with emacs .

How do I open Emacs?

At your shell prompt, type emacs and hit enter. Emacs should start up. If not, it is either not installed or not in your path. Once you've seen Emacs, you need to know how to exit.


1 Answers

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

like image 200
spike Avatar answered Sep 18 '22 13:09

spike