This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Ctrl-C not working as well as on Linux


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/


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