From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id 15A8E38582A3 for ; Sun, 31 Jul 2022 08:24:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 15A8E38582A3 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from HP-Z230 (ak044095.dynamic.ppp.asahi-net.or.jp [119.150.44.95]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 26V8NooB014247; Sun, 31 Jul 2022 17:23:50 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 26V8NooB014247 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1659255830; bh=ln36LZNrWfwxQq9SEfG4M/GxQM0eSBoQuEbnVCyR31w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=unv+Up4rTFz1LL1kepgaObM1whdykEUnHK5gg44EL2krIqaYgiGZ5pK5ItX08yXz1 VgGiOgcoXfJlLsHTfeL3AIaaSoI8RbjTjfDfaT3DZofAqvlDF3yiLob1vybXMEn3jV cTeVsgmlHb+jNX1Bwpbm31yY3kkGHfaxPzUdsClE4KC8BNRKK+WZjpKMmKqVl1WLbB oGtvV2fPcdSFhqcH0xLJoluRJ8zlNwRRx48pcT5NxhnQpyhmjiHknDzBytUwKuBE3y 7XwaqkWkZf46bLWxzB/TnjHe/Kt+QH8LWMB21w5NJZzOah1kRiqlc9T6w00e3id+AN 5ot2sdE+39IvA== X-Nifty-SrcIP: [119.150.44.95] Date: Sun, 31 Jul 2022 17:23:50 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Kamran Subject: Re: DOS pause command hangs in batch files Message-Id: <20220731172350.cd87ce255f6429e325031789@nifty.ne.jp> In-Reply-To: <0aac59f8-eea5-cd49-d36a-57f8267108d1@yahoo.com> References: <0aac59f8-eea5-cd49-d36a-57f8267108d1.ref@yahoo.com> <0aac59f8-eea5-cd49-d36a-57f8267108d1@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2022 08:24:09 -0000 On Sun, 31 Jul 2022 09:52:06 +0500 Kamran wrote: > Hi all > > I use some batch (*.bat/*.cmd) files for my work. > > I usually work from within cygwin/mintty > > Last year (i.e. from June 2021), > "pause" command (from DOS era) hangs > the batch file, until ^C is pressed. > > Lately pressing ^C does nothing, and > I have to kill the mintty process > from task-manager. > > This happens only when the batch file > is started from mintty. Not from cmd. > > uname -a > > CYGWIN_NT-10.0-19044 pc 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin > > mintty version 3.6.1 Thanks for the report. I will fix it shortly. -- Takashi Yano