How start Emacs in a console window?

14,585

Solution 1

As I said in my comment, emacs -nw works on Windows.

Solution 2

emacs -nw doesn't necessarily work in Windows. On my system it throws a

emacs: standard input is not a tty

error, in both cygwin and msys2.

(posted as response to above because stack exchange won't allow me to add a comment).

Share:
14,585

Related videos on Youtube

mjsr
Author by

mjsr

Computer Science Engineer that loves programming!!

Updated on November 07, 2020

Comments

  • mjsr
    mjsr over 3 years

    i would like to know how can i launch emacs inside the console window, not in a separated GUI. Im using emacs 23.2 in Windows.

    • Jeremiah Willcock
      Jeremiah Willcock about 13 years
      Does emacs -nw work on Windows? That is the command to start Emacs in a shell on Unix.
    • Oleg Pavliv
      Oleg Pavliv about 13 years
      Try to install cygwin with Emacs
    • mjsr
      mjsr about 13 years
      @Cheeso @jeremiahWillcock if you make an answer i could marks as that, :) that command works.
  • swdev
    swdev about 13 years
    this is my favorite : emacs -nw I create a shell replacement, that basically start an emacs -nw as the default shell (first run application after user login). It run in Console DOS Prompt! love it