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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=rSr
	svl8Ppov2LznUwMW+AterFv8ZMdrPaWyiN935s078+Q8K84uGiQVKX/9Kz7NN0hp
	YQGX4xMVBATaE0KRWV8EFv1QWrKBpvc9vxVV3JAjTb79/7wqJmH5hPWY1vNcqBzi
	CX1TM3FP4FXU6vgjtoYhmDG8933fpGqLSanFkJkA=
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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; s=default; bh=nnsd+Te7V
	nYoH1qCdNxZXB+SkpQ=; b=jLRklhMTYvc6VhSpT2Nv73IOWXq8vB6Ac0rWUgGCW
	OCE6ZNEGW5GpMkSbdV0wkwq6GMUS9Q2/yJz9JGdYlAKF5Pofp6YyDIACvvu1Z9CU
	k1H9Kpkbt+lU/+TCAebLG5uNI99BM3n3sTvkpP+UvQKnJ4DJ2RmSxQMULJhdX9AL
	r4=
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=2.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail1.bemta12.messagelabs.com
X-Env-Sender: becao@progress.com
X-Msg-Ref: server-6.tower-152.messagelabs.com!1447447578!1566148!1
X-StarScan-Received:
X-StarScan-Version: 7.19.2; banners=-,-,-
X-VirusChecked: Checked
From: Benjamin Cao <becao@progress.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: CTRL-C not working in sh login mode?
Date: Fri, 13 Nov 2015 20:46:11 +0000
Message-ID: <a1b4980578e947a39ca64161f4cf8327@ntmaexbe03.bedford.progress.com>
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tADKkaCg026059

Hi,

We invoke a shell using a *.bat file doing sh --login.

We have discovered that when wanting to kill a long running process with CTRL-C, it does not work.

Is this expected behavior?

I've found that to be the same even if I am doing bash --login -i in my *.bat file.

Any guidance would be greatly appreciated.

Thanks,
Ben Cao

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


