X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CE56E3858C2C 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 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 22O8RcuI006421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1648110458; bh=+8d/kBjYSD73bM53SYvFPZarICG1IZVrcaf+A7GiMQ0=; h=Date:From:To:Subject:In-Reply-To:References:From; b=SlYPKhEgTyj3XUgrMhKrdmQfIzOeyL2uccRa4hlqRIJIOpDGDWAQO9IsfvvrQAVDw ylQWmKTE16kyZrfsqNO/nnjOkLuCE+pLnEpg6X/1RHHG2IZSXOnfRCQfu3YeL9+fE+ aGBzv8E/x73Q68OlXHEzEySZtVIPMOYutstS3f9TYLDG3+QzdmhMRCJvAo0K8bWO/9 kmzqI1vrhcLbpzBeK6k2Mr2lkZgT2vhoeF7QNBo23rO7lNfT/5UocvzInQvG0ceFux xETJnimNJCGgnsWa72IKzw7dDXNATbtXFZAqIBwcUfKdU/IgRXStrMzdsMwtRLCXTM 89Q0DdkvDVSvw== X-Nifty-SrcIP: [119.150.44.95] Date: Thu, 24 Mar 2022 17:27:52 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: "ALT-F4" does not close terminal when using Command Prompt Message-Id: <20220324172752.482440126e4a72db6ee3b3f4@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-3.9 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Wed, 23 Mar 2022 15:06:41 -0400 Mitchell Hentges wrote: > To reproduce the issue: > 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal > 2. Click the "ALT-F4" keyboard combination > > The Cygwin terminal should close (ideally allowing the shell to do cleanup, > such as writing to its history file). > However, instead, a "ding" is sounded, but the terminal remains open. This behaviour is by design. Alt-F4 generates "ESC [1;3S" just like xterm without modern window manager. -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple