How to start Emacs in a console window?

I would like to know how I can run emacs inside the console window, and not in a separate GUI. I am using emacs 23.2 on windows.

+8
emacs console emacs23
source share
2 answers

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

+20
source share

emacs -nw does not necessarily work on Windows. On my system, it throws

emacs: standard input is not tty

both in cygwin and in msys2.

(posted as answer above because stack exchange won't let me add a comment).

+2
source share

All Articles