X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; q=dns; s=default; b=e1tI72tPEQBpu3uBAWmjBqeE3AcT
	TjdpOi13gPxuaGxTv7j/OqtlDb8zCI3rPftLNs+nXdIToxctsmx8WZjR8S63iIhO
	toY9SWo0GAeFKJMB30o5S2j/5tVxez/3I5+4Imz2D6gLPJ3xt+pz6lm3ZVInrEtf
	4Q1Fft7dzPGtqQc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; s=default; bh=JriQMTcWH3TZRABriwyewxUVgCc=; b=RK
	SDrLmMOkXz15s5n6FZFopMA6W+MRpluCzsFk6VSU8pxcn4jFCMJLK0JjRbh9nvP5
	DIhkgmu5Hykbi1wawaPOE0klumkJPicWdzvuWl3EU/e6WLMD3PsQZXrGz5Zc24o5
	K+Vk1M/S/+LAzbDuILmFKe+P1joBsh6v6ennhck9s=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: Ctrl-C does not work from Cygwin for the java program
From: Warren Young <wyml@etr-usa.com>
In-Reply-To: <loom.20141203T221130-486@post.gmane.org>
Date: Wed, 3 Dec 2014 16:19:10 -0700
Message-Id: <A86C425C-C935-464D-93C1-6A648B6A0BBD@etr-usa.com>
References: <loom.20141203T221130-486@post.gmane.org>
To: cygwin@cygwin.com
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sB3NJrQx003171

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.
--
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


