This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Ctrl-C does not work from Cygwin for the java program
- From: dboyd2 at mmm dot com (J. David Boyd)
- To: cygwin at cygwin dot com
- Date: Thu, 04 Dec 2014 12:51:57 -0500
- Subject: Re: Ctrl-C does not work from Cygwin for the java program
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20141203T221130-486 at post dot gmane dot org> <A86C425C-C935-464D-93C1-6A648B6A0BBD at etr-usa dot com>
Warren Young <wyml@etr-usa.com> writes:
> On Dec 3, 2014, at 2:12 PM, Michelle Ma <michellema0128@gmail.com> wrote:
>
>> If I type Ctrl-C from the windows command prompt, the "Ouput" line got
>> called. However, if I type Ctrl-c from the Cygwin, the "Output" line
>> didn't get called.
>
> I assume you are trying this from the default MinTTY shell. What happens if you run it under cmd.exe instead?
>
> That is:
>
> c:\> cd cygwin
> c:\cygwin> cygwin
> $ java /path/to/my/program/pgm.jar
>
> This may be the old native EXE console compatibility problem. (Same
> reason native ftp.exe doesnât work right under Cygwin.) I tried to
> find a FAQ entry for it, but there doesnât seem to be one.
I tried it under cmd.exe. Doesn't give me output 1 out of 4 or 5 times....
Dave
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple