delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/16:34:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 12 Jan 2001 23:25:54 +0200
Message-Id: <200101122125.XAA16707@linux.>
From: "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il>
To: cygwin AT sources DOT redhat DOT 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 AT unix DOT simonwiesel DOT co DOT il
References: <3A5E32A6 DOT 557FEAE7 AT digitalfocus DOT com> <uyg0ip3ddt DOT fsf AT tcsi DOT com> <3A5F5F1C DOT 3879B2CF AT digitalfocus DOT com>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.104)
MIME-Version: 1.0

On Fri, 12 Jan 2001 14:46:36 -0500, Daniel Barclay <Daniel DOT Barclay AT digitalfocus DOT 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 AT unix DOT simonwiesel DOT co DOT il

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019