X-Recipient: archive-cygwin AT delorie DOT 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=fsPELS5jpjtR3Fc6dNcgh5/qhi6zPs+UHT1vusGIAgv8x2fmtvGuR +y+C7irnNOCTsF5fX9djAWOeMWEsJc3kTaYhwq+GMxGBdGQ/PX74LZmpez7H9nds Gb+8sfRECS20v7nGpIQfVKWZxmgpxpn4L8U7uV3iVuqpa/w285mr1g= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=5/QK/xwqEVCiDVHXEcnCunhDiKw=; b=b8qvT8EmGjWvIOuatZAT6OBVOb1G uIKCD1gevw51xBbpqCI1Jf0XV9D1Y5Trt8/cr4I7/BQnHAFSwSSkodx6YN/WFGvt 8IHADZz+gus7w+BlfX14Xrh4IhOfweN1eLkDifT6TPI60RtgQCKpnASoLWv/Tlyp PG0LzCCJ+yqIPxU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.0 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: dboyd2 AT mmm DOT com (J. David Boyd) Subject: Re: Ctrl-C does not work from Cygwin for the java program Date: Thu, 04 Dec 2014 12:51:57 -0500 Lines: 23 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (cygwin) X-IsSubscribed: yes Warren Young writes: > On Dec 3, 2014, at 2:12 PM, Michelle Ma 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