I just downloaded Cygwin last week and I've been poking around on
the editors using a Linux programming book. I invoked Emacs, and every
command on it seems to work with the exception of the "quit" command (C-x
C-c). Even the Emacs help says to use this but it still does not work. The
only way I seem to be able to quit from it is to access the menu bar by
pressing F10, then Enter, then pressing "e". Has anyone ever seen this? Is
this a bug specific to Emacs in Cygwin?
Thanks,
Greg
Lucien
--
If you receive this by error, please delete it and inform the sender.
PGP Key fingerprint=F1C0 D9AE 1B18 1405 4DFA B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
Marxist South Africa $400 million in gold bullion KGB NSA fissionable
It IS weird, and I've just now discovered by accident that C-z (Ctrl-z) will
cause it to exit. That solves that I guess. :)
Thanks again,
Greg
"A. L. Meyers" <nospa...@replyto.because.this.is.invalid> wrote in
message news:87wuq57...@nomad.consult-meyers.com...
> It IS weird, and I've just now discovered by accident that C-z (Ctrl-z) will
> cause it to exit. That solves that I guess. :)
No, I think that C-z will only suspend Emacs. You can use the "fg"
command (on a Unix system) to get back to it.
What does C-h k C-x C-c say? What does C-h k C-z say?
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
Those other key sequences don't seem to say anything. C-x C-c itself
results in absolutely nothing. Emacs still sits there with a blinking
cursor.
"Kai Großjohann" <Kai.Gro...@CS.Uni-Dortmund.DE> wrote in message
news:vafd6rx...@crybaby.cs.uni-dortmund.de...
Greg> I just downloaded Cygwin last week and I've been poking around
Greg> on the editors using a Linux programming book. I invoked Emacs,
Greg> and every command on it seems to work with the exception of the
Greg> "quit" command (C-x C-c). Even the Emacs help says to use this
Greg> but it still does not work. The only way I seem to be able to
Greg> quit from it is to access the menu bar by pressing F10, then
Greg> Enter, then pressing "e". Has anyone ever seen this? Is this a
Greg> bug specific to Emacs in Cygwin?
Works for me. Emacs-21.2 on Cygwin.
I compiled it myself 'cause I wanted Motif scrollbars, but since I
used the cygwin-sources that *shouldn't* affect it.
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: 44BCCD8E
Sex, drugs and rock-n-roll
"Jochen Küpper" <joc...@unc.edu> wrote in message
news:lylm6lc...@bock.chem.unc.edu...
> Those other key sequences don't seem to say anything. C-x C-c itself
> results in absolutely nothing. Emacs still sits there with a blinking
> cursor.
Hm? If you type, say C-h k C-f, do you then get the documentation
for the C-f key?
Do you get a similar documentation after C-h k C-x C-c?
Is your window manager eating C-x or C-c, perhaps?
You could type aaa, then C-x C-c, then bbb, then C-h l. Then between
the a's and the b's you should be able to see what Emacs saw when you
typed C-x C-c.
I'm having the same trouble quiting emacs. I can't do C-h k anything
because when I do Alt-X describe-key C-h emacs recognizes it at DEL
and gives me the docs for the DEL key.
> Do you get a similar documentation after C-h k C-x C-c?
Alt-X describe-key C-x C-c results in emacs displaying "C-x C-g is
undefined" in the minibuffer. So when I type C-c emacs is seeing a
C-g.
> Is your window manager eating C-x or C-c, perhaps?
I'm running this from the cygwin shell without X.
> You could type aaa, then C-x C-c, then bbb, then C-h l. Then between
> the a's and the b's you should be able to see what Emacs saw when you
> typed C-x C-c.
emacs is seeing my C-x C-c sequence as C-x C-g which results in
nothing since the C-g (keyboard quit) cancels the C-x.
Anyone know how to fiddle with how the keys are interpreted by the
shell for cygwin?
BTW I have the same problem using C-x C-c in jed so I believe the
proper solution should lie in some sort of shell / terminal
configuration, not in .emacs
Thanks,
~>Bill
> > Hm? If you type, say C-h k C-f, do you then get the documentation
> > for the C-f key?
> I'm having the same trouble quiting emacs. I can't do C-h k anything
> because when I do Alt-X describe-key C-h emacs recognizes it at DEL
> and gives me the docs for the DEL key.
You can use F1-k instead of C-h k - in general, F1 can be used as the help-command
if your terminal absolutely won't distinguish between C-h and DEL.
> > Do you get a similar documentation after C-h k C-x C-c?
> Alt-X describe-key C-x C-c results in emacs displaying "C-x C-g is
> undefined" in the minibuffer. So when I type C-c emacs is seeing a
That's really weird. Do you happen to have some sort of keymapping going on - .inputrc,
bindkeys, wha?
--
Sacha Chua <sa...@free.net.ph> - 4 BS CS Ateneo geekette
interests: emacs, gnu/linux, wearables, teaching compsci
Okay workaround, but I usually like to remap all my F-Keys for other
purposes in my .emacs ( F1 for me is habitually ingrained to do the
same thing as "C-x 1")
> That's really weird. Do you happen to have some sort of keymapping going on - .inputrc,
> bindkeys, wha?
Nope, I did have a very small .inputrc, but I removed it and get the
same behaviour.
I'm not familiar enough yet with /etc/termcap, but I'm thinking it
might be somewhere in there near the cygwin terminal type. When I get
the chance I'll do some man'ing / digging around that and see what I
find.
~>Bill
CYGWIN=binmode ntsec tty
This fixes this problem for me, and I believe it is the tty portion of
that environment variable that is the key one to changing the
behaviour.
~>Bill
bill-g...@wishon.org (Bill Wishon) wrote in message news:<42d681a7.0209...@posting.google.com>...
David
It worked for me. Thanks. But after exit emacs and back to cygwin
shell,
any command typed won't shown (they still work though). Also, I don't
know where and how to put 'CYGWIN=binmode ntsec tty' so that emacs can
work correctly without set this environment everytime.
Thanks
It goes in your cygwin.bat file in the root of your cygwin
installation.
It should look something like:
@echo off
set CYGWIN=binmode tty ntsec
C:
chdir \cygwin\bin
bash --login -i
Reference: http://ist.uwaterloo.ca/~kscully/SSH/CygwinSSHD_W2K3.html
Matt