I’m using Ubuntu 11.10 (Oneiric Ocelot). When I type the command "emacs" in the terminal, it opens Emacs as a separate window. How can I open it inside the terminal, like the nano editor?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Emacs takes many launch options. The one that you are looking for is
emacs -nw. This will open Emacs inside the terminal disregarding the DISPLAY environment variable even if it is set.The long form of this flag is
emacs --no-window-system.More information about Emacs launch options can be found in the manual.