This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: NTEmacs shell/CygWin: should control-C work?


On Fri, 12 Jan 2001 14:46:36 -0500, Daniel Barclay <Daniel.Barclay@digitalfocus.com> wrote:
> 
> "David M. Karr" wrote:
> > 
> >   Daniel> In a shell buffer in NTEmacs configured per the shell-setup instructions
> >   Daniel> in the CygWin FAQ at http://sources.redhat.com/cygwin/faq/faq.html#SEC5,
> >   Daniel> control-C doesn't seem to work.
> ...
> > This bites me several times a day.  It is a known problem...
> 
> Do you mean it's a known problem that crops up (for some people), or that
> it simply doesn't work at all (for anyone combining Emacs and CygWin)?

I think he meant it is a general problem for everyone. The base of this
is that the emacs shell buffer is not a tty. You can check it by doing
`stty', you'll get: "stty: standard input: Not a character device".

And hence, it is not a tty ==> it will not generate SIGINT for ^C.

Ehud.


-- 
 @@@@@@ @@@ @@@@@@ @    @   Ehud Karni  Simon & Wiesel  Insurance agency
     @    @      @  @@  @   Tel: +972-3-6212-757    Fax: +972-3-6292-544
     @    @ @    @ @  @@    (USA)  Fax  and  voice  mail:  1-815-5509341
     @    @ @    @ @    @        Better     Safe     Than     Sorry
 http://www.simonwiesel.co.il    mailto:ehud@unix.simonwiesel.co.il

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]