1

When I run Gnu Emacs under cygwin on Windows and I press "ctrl-x ctrl-c" to exit I get the message:

ctrl-x ctrl-g is undefined

: However, when I run Xemacs the "ctrl-x ctrl-c" works fine

yazz.com
  • 57,320
  • 66
  • 234
  • 385
  • How are you running GNU Emacs? In a xterm window? In a DOS box? Using X-Windows? Are you running Xemacs the same way? – Daniel Stutzbach Apr 06 '10 at 13:54
  • And for XEmacs I type "XEmacs" at the cygwin prompt – yazz.com Apr 06 '10 at 14:43
  • "From Cygwin" could mean a dozen different things. What *exactly* are you typing "emacs" into? Does emacs pop up its own window, or does it appear in whatever you typed "emacs" into? How about XEmacs? – Daniel Stutzbach Apr 06 '10 at 21:36
  • Sorry, I mean from a Cygwin command prompt. If I type XEmacs then it pops up into its own window – yazz.com Apr 07 '10 at 08:15

1 Answers1

4

I think you want to put set CYGWIN=tty in your cygwin.bat. See http://www.cygwin.com/cygwin-ug-net/setup-env.html. Or you could try running emacs under rxvt. Or you could do what I do, which is use "native" win32 emacs.

offby1
  • 6,767
  • 30
  • 45
  • Thanks, this worked setting CYGWIN=tty. My .emacs files loads 10x slower in emacs than in XEmacs but it works! I tried the "native" Win32 emacs link but it says "Server not found" – yazz.com Apr 07 '10 at 08:14