| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 5B5C9nkU1279488 |
| 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 5B5C9nkU1279488 |
| 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=XxNIFPQn | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 8EDF74C31875 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1764936587; | |
| bh=oE/CxHywxIPfoKKAcmncO+P4U/AUXxjS7pqFlOHTbvA=; | |
| 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=XxNIFPQnkYFNkcJSOjTWbcu+2X6rkakfkW4UnPKDxu2QHuJRS/gewJXyOw8uzqJ5y | |
| E2v+kNW5D1VSwQZCjaGXXY4DHWWFjCIKeVa3Dzjp1s4NiWPOkfG734HdABQ4VSagzK | |
| 5m53/XOnSsgFqyQXRnHhtNQfNyP7HO/4i1e3b3k8= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org A25E64C31855 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org A25E64C31855 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764936564; cv=none; |
| b=FzQV56eX5I+/a0SEuqElVUqP0XFLDx/Ag6WP+n3vwxRGgOnKygRBvb7csA3KavBbBM6N0BPSOcYvZqytG+Ui7xDDSLMQ6iwtpgzNgZjg+w0MGrtophMjltiZyp2m4J9dOI+hBIUt5u484p3Dmo+yapnnDZRRryn2c8dg1ScAshE= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1764936564; c=relaxed/simple; | |
| bh=ZhKVyNxwZ6amgbwB/fmZC1mfubGgXWSeNGlTkzaJCHA=; | |
| h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; | |
| b=oplb9aRyXKtJHtNhaYp42bkKEhgsu8CYXlrs4KPsW9fwRQBbaegVunhZCP+qQYDmZRDatNPzJKFTHnWUEro2IpQGVrQWhmYP+W16JXK9xRuITrCS1FIw9bkVz+vkXKF4YQa9lUnmbUA34B8LdC7TVa2G1DMMd5jRUmRwc0tjFZQ= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org A25E64C31855 |
| Date: | Fri, 5 Dec 2025 21:09:19 +0900 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: dynamic conpty loading |
| Message-Id: | <20251205210919.151847c5c502ec0cb92ce008@nifty.ne.jp> |
| In-Reply-To: | <aTK985UP1pCJVpyr@calimero.vinschen.de> |
| References: | <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> | |
| <aTFqJo4J6oup4yzH AT calimero DOT vinschen DOT de> | |
| <20251205185220 DOT 26512b609b7e96b388245244 AT nifty DOT ne DOT jp> | |
| <aTK985UP1pCJVpyr AT calimero DOT vinschen DOT de> | |
| X-Mailer: | Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) |
| Mime-Version: | 1.0 |
| 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: | Takashi Yano via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
| 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> |
On Fri, 5 Dec 2025 12:11:47 +0100
Corinna Vinschen wrote:
> On Dec 5 18:52, Takashi Yano via Cygwin wrote:
> > On Thu, 4 Dec 2025 12:01:58 +0100
> > Corinna Vinschen wrote:
> > > Aren't from here on two patches folded into one? All but one hunk (the
> > > one calling CreatePseudoConsole_new) seem to be entirely independent of
> > > OpenConsole.
> >
> > This part is necessary to work with OpenConsle.exe. OpenConsole.exe uses
> > also ESC[c during startup while conhost.exe uses only ESC[6n.
>
> Ok, but ESC[c is a stock vt100 sequence. Admittedly, I have no idea if
> there are other terminals out there which use this sequence at startup,
> too...
>
> > > > - static const int wpbuf_len = strlen ("\033[32768;32868R");
> > > > + static const int wpbuf_len = 64; /* for response to CSI6n nad CSIc */
> > >
> > > Is there some macro for the count of 64 in this context, by any chance?
> >
> > I'm not sure for now that 64 is really enough for the responce to ESC[c.
> > mintty returns about 30 byte responce. But some other terminal may return
> > longer responce.
>
> Per the vt100 documentation, the response is supposed to be
>
> ESC [ ? 1 ; Ps c
>
> with Ps being a character in the range 0 - 7.
>
> Just being curious, what are mintty and OpenConsole returning?
mintty: ESC[?64;1;2;4;6;9;11;15;21;22;28;29c
xterm: ESC[?64;1;2;3;4;6;9;15;16;17;18;21;22;28;29c
WindowsTerminal: ESC[?61;4;6;7;14;21;22;23;24;28;32;42;52c
conhost.exe: ESC[?61;1;6;7;21;22;23;24;28;32;42;52c
urxvt: ESC[?1;2c
putty: ESC[?6c
TeraTerm: ESC[?1;2c
> > > > [...]
> > > > if [ $(uname -m) = "x86_64" ]
> > > > then
> > > > POSTFIX="x64"
> > > > else
> > > > POSTFIX="x86"
> > >
> > > Do we really want a 32 bit version? Isn't there an aarch64 version?
> >
> > No.
>
> Weird. But Windows on AArch64 supports a x86_64 emulation, iiuc.
Ah, sorry. I meant "No, we do not want 32 bit version."
> > What should we assume result of "uname -m" in aarch64 machine?
>
> "aarch64" :)
Thanks.
> > > For a start, this may be ok, but we should really try to build our own
> > > OpenConsole package build by our own gcc or clang, IMHO.
> >
> > OpenConsole.exe also uses WIL, so it looks not easy to build it in cygwin
> > environment.
> >
> > Maybe just getting it from https://github.com/microsoft/wil/ is enough,
> > but I have not tried it yet.
>
> Oh, wow! Looks like fixes to build WIL on MingW have been merged just a
> couple of hours ago.
Thanks!
I'll try to build OpenConsole + WIL under cygwin environment
when I have time.
--
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |