DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 47V5NVaf4135417 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=T6yDCwh+ X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16B50384DB45 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1725081811; bh=yQyfmzvr+cx5v0Sbs6gROklIW28iDo5UE6tNoKmqoEA=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=T6yDCwh+LSzexTfX5K9QG/qwDkJWfiO2dJgRy9fYKF696YednR9Q4eJHFU/J3QoiI HUE9bjKIJa0/s930OgpCiUXZoZCRjUL33Byv042919RzX9E7T23koDHcMq1DECSspr 0jBwCfQsXZRECt+FGceCTj0PFMyS/3OOV2xuT/YA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2C7863858420 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2C7863858420 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725081792; cv=none; b=KpZzAt2cE+n9xsqkXCmt9K6XTGWTtDEGmpduX9JC6vyMKVrmZdBTcrjDHTyCQTkpLQTfshjS9FuDdniePbqwcphk0co9uPcv5bxj0nd/M6NvXn1OPs9mflYaLBkFsFOEolrwwnS8/uK1UP0g7TBQtpsT8RYRgKIv02yKpMAivqk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725081792; c=relaxed/simple; bh=i/3ftNh0koMeH6UTJouN/ywpftGBdKv0j7DzDUkX+j0=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=NGnJyHw5+0j4t7ClQBnvmsfzVXzRLf+SSzdNrvunu9BePE0vWmz9i7n1/YJHAoLPRU9dFK76JnxHZxZJ8KS+Zmpf6dxYTmsD4+X7JSlKxh/m4ucGxHeQZq37EjScFGWr5PCQjIwk0d7Xnte55WPnp0AOCFnr3FB7EfPeSj3SzYo= ARC-Authentication-Results: i=1; server2.sourceware.org Date: Sat, 31 Aug 2024 14:23:07 +0900 To: cygwin AT cygwin DOT com Subject: Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage. Message-Id: <20240831142307.53573c160a864e7dfae13a5c@nifty.ne.jp> In-Reply-To: <20240831142004.2537636bb9f474db1e903604@nifty.ne.jp> References: <20240831113303 DOT 4e8b51e03796e2fedc3cb79d AT nifty DOT ne DOT jp> <20240831142004 DOT 2537636bb9f474db1e903604 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.8 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_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano 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 Sat, 31 Aug 2024 14:20:04 +0900 Takashi Yano wrote: > Thanks for the pointer. Unfortunately, the document does not mention > about the behaviour of WriteConsoleInput() in the win32-inpu-mode. > > I expected that ReadConsoleInput() returns the INPUT_RECORDS which > WriteConsoleInput() sends. However, that does not seem true in this > mode. Moreover, there seems to be no means to determine if win32-input-mode is enabled or not. -- 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