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.

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5.00 out of 5)
Loading ... Loading ...

Possibly Related:


4 Responses to “Killing Cygwin Emacs”

  1. Open Source News » Blog Archive » Killing Cygwin Emacs Says:

    [...] 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 [...]

  2. Chris Says:

    But why would you want to leave emacs?

  3. nurikabe Says:

    Clearly I need to spend more time with M-x doctor.

  4. Jacob Says:

    Hm, I just use Ctrl-Z to stop the process then kill -9 with the process ID to kill it.

Leave a Reply