DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BC8Nn473293217 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5BC8Nn473293217 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=lWqkVDVY X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02C4F4BA2E23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1765527828; bh=dQq7LKeYwCoz39cP/6zc7oozgFVJUusidDCieiSGrO4=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=lWqkVDVYkja5oFGUeNZWEddVY60XJxYNQyvwDfksDvg9wyJqi45Dq7LRWUWZN6mr4 /ZLZ5OOyjBQ7KwCIfiNMcNEMLWv0n5NjknPYY2akPFbTWveCst4rULHu0J8FLzkj+L r4mZcm5GdlCQm+ybDNJ1fUVo1nHlaA18/BukaCQU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0A4814BA2E04 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0A4814BA2E04 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765527807; cv=none; b=FYCh3HVum7I6P6aQU7XlJEDYQ4fRD1EPz0Lb3jg9mMyi1UWqzQdM/0rf24wyVtYJyYg9TGo3xBdUibOIt/xX8nBH0ar4Man0O8xeln5gVxXPIAz6d8SMFYG6uwpZHv8eMA8kpvAsgrPjiC4VzRfBZr+OtOdlMxwI4IYuBMO6qjM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765527807; c=relaxed/simple; bh=jjZWqN9T+gH3FGiug5Jc4gak/TyeNT3VPNxLSlxZPTQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=EZUZ/EbBdhSEyFBuQFQ37bemCtPiTEORsxe4fcyFhV3RQUNLJUJ0ih5/tM3z6tG8AAvN47BBzYeilX57rDyhIScVBM2JoCwWHcod/ycNkU8Dav2Zo+RSdBfQzakl+PHGovrDZcCXWOYsRbicRqi44dpePQxFrUz53S1CersTP/Q= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A4814BA2E04 X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Message-ID: Date: Fri, 12 Dec 2025 09:23:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: dynamic conpty loading To: cygwin AT cygwin DOT com References: <30deef29-ba20-49d9-9b38-28020941b0ef AT towo DOT net> <707f4d4c-a20d-4f1d-bdbd-65a2392dea15 AT towo DOT net> <20251121190433 DOT 4a37dc959848a0aea89a8922 AT nifty DOT ne DOT jp> <62f3c1ae-1fd9-477d-a837-d865094dab06 AT towo DOT net> <20251126193220 DOT 1b890f58a121add2f0d05fa5 AT nifty DOT ne DOT jp> <3a6ed5bc-24fd-42b0-9f57-83c8eb678a1b AT towo DOT net> <20251127172026 DOT 6b6f876fd341f9c0cbd1f876 AT nifty DOT ne DOT jp> <20251203175638 DOT 0b4f51242c8fdab685ad9b7e AT nifty DOT ne DOT jp> <1691264462 DOT 1837628 DOT 1764761641527 AT mail DOT yahoo DOT com> <20251203214927 DOT 6980d78e8956dc6c7f99c4ae AT nifty DOT ne DOT jp> <20251207064052 DOT 438f025c5cdc844632e2aba5 AT nifty DOT ne DOT jp> <7a237de9-ec11-4c41-a873-b37715b436a1 AT towo DOT net> <20251211210658 DOT 993ac33f7744ca5e6a75ba67 AT nifty DOT ne DOT jp> <20251212074650 DOT cb007dff469b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WidW0wze26peYlxYVgH1+T9wMTW2oiTBybfAMHBAxUP7Gr1WUo/oJEr0srWhatz8AwydP y7NwFbdpYn0NcFBaIlLW/JL11Eovwlivow+oGpzGFuuzSuflp2q9s2JWtn4EhW0kEs93D0LP iuJWvRaCZ6aD3uF3FMW8wyVWZYsLrzune2jH8w/uKMprDEOGOm+BcyhEFedTyY1ygbZKl+0G kQ== In-Reply-To: <20251212074650.cb007dff469bd489e6befb86@nifty.ne.jp> X-Provags-ID: V03:K1:T1pYjsTBKtFY9yBs/xzrqTSF3k6A8hdPoBIRhDF/cWeZmf2o5Sn UErJqttRJP5EYUn2a2HjPhvJ9+A4PKAWyXEL+Fe7naiUo2nmXMeRsI00vaYo7mIuWWUZl0N n5arq6HBIMdSHvtj/HUNXw8dJr9ZDThWNHxWzqHkHWuMfjb5jvjE+JwW2v1GUWsuE0Kbyc/ u5Vko6/rnw9/dEja/v5LQ== UI-OutboundReport: notjunk:1;M01:P0:TPmxcZgpNZE=;Q3AsXYze1VgSN+0yWezVasxndHI QIR2ijpTocw+oZtqqU+sxz5VyrPfGlm8ygh7Qa+DKYUZk+jqGkZgu5PrR99kmY+h71hERmMsN hJ4BB4+lMgW2XqxcXs4JArWUuLcmStKUfsn4pH9lWe2mmJfur9EW1i21qR/FIcN41U8ZePWtw 9h8aZwz/FAzTsGzqMl14OplcQSAbkipsoaqxLFFDBdE6iXbRJu5cZt/VYkLCOnlswKwebSV5E u6TvH4BIXCMNWg2bfc6pSbgBvqmazNJb2kHvjhwx89vsROseUPsphFxTlrn4dGu0DRaRb494c luLhFrR0i0UjvzFOegty/8fk32VrfddH7Kyvjt0HI/rIp7ckkhX56dqZEcN9R/BFglVFI0Cyw E6EAHD2dQqkYj7BXt2E5My2qBUkXZSN5BteLFsYWCVj0FHzLOXABBAAblPUhTlTNHnId1cEbY rWXpnaFCuIOpLulY+YMO5IexU8xFWnNvNYPdt1BL+n1i7OxiFMkdtuMbouCXxkYTwTQwK2y4y 45bGj0UuyZPm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ZhXW606oHn lItAlozAg1BXJkxMxr32idzK3Xq/hjSlLm8WbLcQqLaxbJ7A+q2pPJ8/3C+UHYXvcOHwNtOE6 wr7iZ9MKu1d1jaUY/f82TzXq+ZL168AjfwRaohbFkw+RO6S7TGahk1BRAoOVjJnSI7hTe9Dhe HhfpIUUqnQU2J 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: Thomas Wolff via Cygwin Reply-To: Thomas Wolff Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Am 11.12.2025 um 23:46 schrieb Takashi Yano via Cygwin: > On Thu, 11 Dec 2025 15:01:14 +0100 > Thomas Wolff wrote: >> Hi Takashi, >> >> Am 11.12.2025 um 13:06 schrieb Takashi Yano via Cygwin: >>> Hi Thomas, >>> >>> Thanks for the reply. >>> >>> On Thu, 11 Dec 2025 10:45:52 +0100 >>> Thomas Wolff wrote: >>>> Hi Takashi, >>>> sorry, I just saw this mail right now. >>>> >>>> Am 06.12.2025 um 22:40 schrieb Takashi Yano via Cygwin: >>>>> Hi Thomas, >>>>> >>>>> On Sat, 6 Dec 2025 18:48:29 +0100 >>>>> Thomas Wolff wrote: >>>>>> Am 03.12.2025 um 13:49 schrieb Takashi Yano via Cygwin: >>>>>>> On Wed, 3 Dec 2025 11:34:01 +0000 (UTC) >>>>>>> matthew patton wrote: >>>>>>>> the libopenconsole.postinstall script ihas some glaring issues. >>>>>>>> >>>>>>>> * define strings once and then use the variable instead of repeating over and over and over the long-ass path names. >>>>>>>> >>>>>>>> * the wget to STDOUT strikes me as pointless. use curl if you're going to resort to that kind of operation. Otherwise just save the .zip to disk already without gratuitous memory buffering >>>>>>>> >>>>>>>> * /tmp should not be assumed. use $TMPDIR >>>>>>>> >>>>>>>> * use trap to clean up after yourself in both the successful and unsuccessful cases >>>>>>>> >>>>>>>> * 'POSTFIX' makes no sense. it's ARCH or PLATFORM >>>>>>>> >>>>>>>> * personally I would have versions.txt be a tab deliminted file with version_num\tsha256 of x64\tsha256 of x86 or something along those lines. >>>>>>> Thanks! >>>>>> Unfortunately, this does not work for me on Windows 10. >>>>>> And I cannot test on Windows 11; my previous report was bogus, I >>>>>> self-compiled the unpatched cygwin1.dll for a cross-test but it fails. >>>>>> Running bash from a Windows console, then Cygwin console works, also >>>>>> running wsl from there. Running `mintty -h alw` says >>>>>> The handle is invalid. >>>>>> Error code: Bash/Service/ERROR_INVALID_HANDLE >>>>> Thansk for testing. >>>>> Do you mean `mintty -h alw` works on self-compiled-unpatched >>>>> cygwin1.dll but does not work on self-compiled-patched cygwin1.dll? >>>> No, I mean in my Windows 11 system, it failed even with a self-compiled >>>> unpatched cygwin1.dll, right now. >>>> (I was having cygwin build problems before...) >>>> So I took a fresh approach, fresh git clone, then followed the >>>> cumbersome build instructions (which I had put into my own configure >>>> wrapper and used to work before). >>>> Not quite understanding the purpose of that package, or the postinstall >>>> script which told me >>>> cat: /etc/libopenconsole/version.txt: No such file or directory >>>> sha256sum: >>>> /etc/libopenconsole/Microsoft.WindowsTerminal__x64.zip.sha256: No such >>>> file or directory >>>> , I just copied OpenConsole.exe manually into /bin. And yes, now it >>>> works in Windows 11, even with OpenConsole from WT 1.23 (which is a bit >>>> surprising as there was a bug which they fixed later). >>>> >>>> Copied the solution to Windows 10 but unfortunately it does not work >>>> there. Kind regards Thomas >>> What happens in Windows 10 case? Does cygwin itself start and it >>> has a problem when starting non-cygwin app? Or does not start at all? >> No, wsl was running normally, just the fixes of terminal interworking >> (esp. character attributes, test file attached) did not work. >> ... >> >>> In my environment, patched cygwin1.dll works under both Win10 and 11. >> Well, yeah, I gave it a fresh go under Win10 as well and miraculously >> now it works! >> With OpenConsole from either 1.23, 1.24 pre-release, or 1.25 "canary". >> Thanks a lot for making this work. > Thanks for testing and the test file. > With mintty 3.8.1, the test script works with the following settings, > with/without wls in mintty window. > > Show bold: as font > Allow blinking: on > Show dif as fot: on > > Without OpenConsole.exe, "5: text blinking" and "6: text blinking rapidly" > are the same result and "CMYK colour" does not work while all attributes > work with OpenConsole.exe. Actually, with the original Windows conhost.exe in $WINDIR/System32 (size 867KB), all attributes in the test file except normal blinking are broken for me; bold is the only one rendered but enforces white colour. The patch plus OpenConsole.exe fixes this, not only for wsl but also for Windows console programs, test case cmd /C type xtextattr1 Another test case: wsl sh -c '/bin/echo -e "\e[c\e[>c"' > Thanks! Thanks to you. Will the patch be available as a cygwin release or prerelease soon? Thomas -- 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