22

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.

Luke Girvin
  • 13,221
  • 9
  • 64
  • 84
mjsr
  • 7,410
  • 18
  • 57
  • 83

1 Answers1

35

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

Cheeso
  • 189,189
  • 101
  • 473
  • 713
  • 1
    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 – swdev Feb 28 '11 at 01:52
  • 1
    this answer solved my two month search for running emacs in terminal, thank you. @swdev would you mind giving me hints how I can create a shell replacement then? – enthu Jan 21 '23 at 06:59
  • woa. it's been .. what? 12 years? It was using Windows .. XP I think. So, at that time we can easily replace shell=explorer.exe to shell=ourownshell.exe (I forgot where this line was configured). But have a look at this: https://learn.microsoft.com/en-us/windows/configuration/kiosk-shelllauncher And also, I think you can use https://www.autohotkey.com/ to simply run emacs -nw as default shell. Let me know – swdev Jan 22 '23 at 09:36