delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/21/11:34:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <9bbd2794050721074320a6caef@mail.gmail.com>
Date: Thu, 21 Jul 2005 07:43:47 -0700
From: Alex Goldman <alex DOT gman AT gmail DOT com>
Reply-To: Alex Goldman <alex DOT gman AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Ctrl-C not working as well as on Linux
In-Reply-To: <20050721142320.GB14376@trixie.casa.cgf.cx>
Mime-Version: 1.0
References: <9bbd2794050721014940f12467 AT mail DOT gmail DOT com> <42DF8FCF DOT 4050201 AT byu DOT net> <20050721142320 DOT GB14376 AT trixie DOT casa DOT cgf DOT cx>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6LFYrRT003730

My tty settings are fine. I run Rxvt by calling 

C:
chdir C:\cygwin\bin
set CYGWIN=codepage:oem tty binmode title
rxvt -sl 1000 -e bash --login -i


Looking into this more closely, I noticed that the problem occurs for
programs compiled using the free MSVC++ Toolkit 2003, but not GCC.

I think you can reproduce this behavior, if you have this compiler
installed and configured:
compile the program below with

cl loop.c

and run it:

./loop.exe

I can not terminate it using Ctrl-C. I think this has something to do
with signal handling.

---- loop.c ----

int main() {
    for(;;);
    return 0;
}

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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