Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 12 Jan 2001 23:25:54 +0200
Message-Id: <200101122125.XAA16707@linux.>
From: "Ehud Karni" <ehud@unix.simonwiesel.co.il>
To: cygwin@sources.redhat.com
Subject: Re: NTEmacs shell/CygWin: should control-C work?
In-reply-to: <3A5F5F1C.3879B2CF@digitalfocus.com> (message from Daniel Barclay
	on Fri, 12 Jan 2001 14:46:36 -0500)
Organization: Simon & Wiesel Insurance agency
Reply-to: ehud@unix.simonwiesel.co.il
References: <3A5E32A6.557FEAE7@digitalfocus.com> <uyg0ip3ddt.fsf@tcsi.com> <3A5F5F1C.3879B2CF@digitalfocus.com>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.104)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-8
Content-Transfer-Encoding: 7bit

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

