delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/02/16/10:28:50

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61GFSo1u2508283
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 61GFSo1u2508283
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=MMKw4Fq6
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 059994BAD151
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1771255729;
bh=CHfUpp/ejGaj/+RWpG83kTdgWTXTQI07wxQLn8NiIbI=;
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=MMKw4Fq66Km+LHx8WAkYLPOV8TSjB1sU5D9/SN2Y2NGOI2F4Ew1G8DK391XWRwwrh
2vqKzxfosd0PmSteNLJGn8gAe5tliwUTzdMX3CXxTaGXfwrud88zCQzOToiSgnq05N
qSeLRL2TbTV5VjB8i1QvSV+ClP0nfPoP7qRjYyCw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8177A4B9DB49
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8177A4B9DB49
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771255677; cv=none;
b=cGNaxaf1PX1qZKafAjt0CVm6PmDnE2QVPhSyWXFLx1S3KrzWbBx2pGF0MYA0LXo3ahNGhhZ+TsYMYDvZIki6723gnP74vmQZLRZgCWgVY+w+329nGzsD+4y+jrtzbU/SoEdRIOOc99mwMZxps1pglgoZf1BKyFxPL/Oo1tg33WU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1771255677; c=relaxed/simple;
bh=X2fiKiCAErODMAZPfy3BrpjdzsEnxqnm+zk41bPvA/Q=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=sBxdRVSUEOoMZHDS6YLgX1RBH0Du3PoWUvivHtvCBHe2ynSzfr/tS67zIcXCwq3D+wazsbsCUnCANMiYmDBjo0WjiiVwwPhZkYds8MJ9RAJIuj6Dn4F+FfPheYHkSsrkGOkqDwLod0jaxeyhHb65W2ElPdKymcVuj8+n6Alm3mY=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8177A4B9DB49
X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6
Message-ID: <82379405-cb60-4c5b-8a13-39c27ab379cf@towo.net>
Date: Mon, 16 Feb 2026 16:27:39 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: dynamic conpty loading
To: cygwin AT cygwin DOT com
References: <f52d9663-b210-497a-867b-5193b420ea0b 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>
<aSCXcoeDbrGOrUTu AT calimero DOT vinschen DOT de>
<cc6b613b-1c02-41e3-b045-5b1723b706ab 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>
<a539ef1a-b958-492c-b271-ebaf198f4a5b AT towo DOT net>
<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>
<e682ce82-cbfb-400c-bce7-5f824fb4b40c AT towo DOT net>
<20251212074650 DOT cb007dff469bd489e6befb86 AT nifty DOT ne DOT jp>
<d5a86dcb-2d82-48cd-ae6a-509f71eaeb62 AT towo DOT net>
Autocrypt: addr=towo AT towo DOT net; keydata=
xsDNBGNaf3QBDACVevqudcTSevLThXKQPU1QpaDxtGuYjtwmr7i9wXxVGih4Y4oxOJN4PYlu
KBX9IVAI4651dA+xYtXuyIkWOPZWyyzkGKavQOn3Q7dk09oj7bh2IwOndpxXXde337D408EQ
bQEGbMHr9lOWhSAideowzgCeFIvGTf2AovbPh97HpexJn1/HCRiRAhTNlrkS1DByUgCAeEMK
fEr6aGM/Ou29MT+eTnQwOIZTnl9Z9LxM2FtqqMH3MycC7I2OoW3XXhuL8BPQdyJUjWa0/J11
Oo5jFkRXtWenIns6jGn18oW72jnDmo9jXwwS+iZWAV6Y51nhD7jSC+3xs9ORmPCdtHUSpTr1
zh67UueUJ3DUUNVuA25Hn/9EJMJ2L60BGUEr88NEB6pcZhmcwdkurAQeYT6t+frzBz2ctsoN
BoxP/Xc02yd+z7hXWRRMrJWh9WHlQHA3Z4FfmyNhyPhs3MgKTJ1E9QfzGquigAmF3/k/Dc1m
7cSOKhGYhpEJdSpdXccJFKkAEQEAAc0cVGhvbWFzIFdvbGZmIDx0b3dvQHRvd28ubmV0PsLB
BwQTAQgAMRYhBHUiRKsHn5d8BpWdP8bz0e72Bp0CBQJjWn93AhsDBAsJCAcFFQgJCgsFFgID
AQAACgkQxvPR7vYGnQKSMAv8Di+8MXB2mcfsemRdShfLLKcLOv+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8R
xDVkvA4yNDM8DrYfIVTGojwZyvx7eVKyaB/hwNlVFHpsCOiuS8zc99QLyQ+4EO9yAxrxegKpk
qNtKlowerujKnbaEaPdF3qYC6i6cfsbDtuQNaUX2k2nl2J1e+vsmUN9P15hAfN0PIgdDsnt/Z
1n6M6eB6pgx+bR14MxMhbtaegaIjQN3+QfGZJGqn6Uvj2c1nS+Sz0JGA/+rBqeajHYEvSePw2
VniprrRgSugWyalwxanxBbRxnyRYLqSCCEMB3pKO/6Ms9f5Mtomy39oiSd9CpjMnm7pfKH4ou
9HcK6zpCEezh3UeXU0nE+wl+hZY2r12A7+vnCCFCLlYd4XbpzUFiUNzKKJ70gOvko/xzedusR
JZpM91JOqiF1Ghe4gmWcbIfv0WgXUYdut3qCsXRIb5HMrhwyy3lc3bNSSs9s8axm04FFva29F
ZgAdYhaUjrWuMqFnEEAOw8+gEPcsHq/R1dW2URWg0sLuNoclB2s89GRqrdoBksnjRP3lpgtQw
H8EQx1NR0nAMcKIl45CQ6TLQ/diaUrMgyzb40rLRB9qWZIMjDb+LB/A+/m43/MwlLeetyi+st
Bl9D
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Thomas Wolff via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Thomas Wolff <towo AT towo DOT net>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Takashi,

Am 12.12.2025 um 09:23 schrieb Thomas Wolff via 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
>
I'd like to bundle this solution with mintty for the wsltty standalone 
package. I could bundle a patched version but I'd prefer an official 
release or at least test release for publishing.
I haven't seen this patch yet in the git repository, when will it be 
ready for cygwin 3.7.0?
Thanks,
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019