Killing Cygwin Emacs
This has been bothering me for a long time. According to an old post, Ctrl-C can’t be properly mapped in the normal Cygwin console running under Windows; so Ctrl-X-Ctrl-C-ing out of Emacs under Cygwin is not an option.
Alternatives are as follows:
- Set the environmental variable
CYGWIN=tty. (This may disable echo back to the local terminal when you exit Emacs.) - Run emacs under rxvt or X.
- Use
M-x kill-emacs. (I wish I had know about this years ago.)
Die, emacs. Die.



December 1st, 2007 at 9:18 pm
[...] Killing Cygwin EmacsBy nurikabeAccording to this old post, Ctrl-C can’t be properly mapped in the normal Cygwin console running under Windows; Ctrl-X-Ctrl-C-ing out of Emacs under Cygwin is not an option. Alternatives are as follows:. Set the environmental variable …blog.arithm – http://blog.arithm.com [...]
December 2nd, 2007 at 11:25 am
But why would you want to leave emacs?
December 2nd, 2007 at 1:49 pm
Clearly I need to spend more time with M-x doctor.
October 11th, 2009 at 11:50 am
Hm, I just use Ctrl-Z to stop the process then kill -9 with the process ID to kill it.