From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by sourceware.org (Postfix) with ESMTPS id B35E2386180C for ; Mon, 31 Aug 2020 14:22:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B35E2386180C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Johannes.Schindelin@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598883741; bh=qTlrQjeda5HsouUobZi1oxjhvvXVbnDOJxapwdSPI+4=; h=X-UI-Sender-Class:Date:From:To:cc:Subject:In-Reply-To:References; b=jxK5OC9X+168OlXiAyfwuJHXebN6Q/w+r9kq9J8BzxoXbRUAv2VhDs9oeIVh9mDQW zkM8dfuCkmt34h9olM3mbyFq7QO1kMKdBG3MQZPx/zVN13AnO6ix53rl2v06NnvUoo 0xJdmjOkmr74jJmxFywinm9l594QnyM1BUho9Djc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [172.18.169.176] ([89.1.213.246]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MCbEp-1kLrFm2pUZ-009d8v; Mon, 31 Aug 2020 16:22:21 +0200 Date: Mon, 31 Aug 2020 16:22:20 +0200 (CEST) From: Johannes Schindelin X-X-Sender: virtualbox@gitforwindows.org To: Takashi Yano cc: cygwin-developers@cygwin.com Subject: Re: New implementation of pseudo console support (experimental) In-Reply-To: <20200831231253.332c66fdddb33ceed5f61db6@nifty.ne.jp> Message-ID: References: <20200722174541.c8113635236fd217cb9ebb77@nifty.ne.jp> <20200723093328.709654ea6a539cb9b3251ab2@nifty.ne.jp> <20200724143842.020cea9ffa2f6e7ffe760f67@nifty.ne.jp> <20200724202219.16ad238f515da19db21d3a6c@nifty.ne.jp> <20200803111103.27ef6554df7f40d1142bceee@nifty.ne.jp> <20200803212342.8b14a3164ed66bd521774fe4@nifty.ne.jp> <20200811201258.4bffb987ecdb96583c516bc2@nifty.ne.jp> <20200813185813.2d851113b6e134db371d35b4@nifty.ne.jp> <20200817205718.a0fcc08bf21be4ba5f10ba3d@nifty.ne.jp> <20200819203959.9d220306c58736f94381d1e6@nifty.ne.jp> <20200819134156.GP3272@calimero.vinschen.de> <20200820170210.e066c8ad933ca31061130ba9@nifty.ne.jp> <20200831231253.332c66fdddb33ceed5f61db6@nifty.ne.jp> User-Agent: Alpine 2.21.1 (DEB 209 2017-03-23) MIME-Version: 1.0 Content-ID: X-Provags-ID: V03:K1:BkjQT++mKWdUCsgx/RxIjzakJZqBSpYxXSOSsfvyawMaW+80pMf TRfS8ey3sggAnNRew93aYdjNDvclcGH33J/ffUckF8o++cgNRb8aFPokcu5vDoMRt00pliX I/G+LiC4z64jUgRreETOZFXTGZNn+XIjfN8KxIzKhNz/44wz1suybws9/6tjddTHb/pGvys Qa19pJrwz/XssX2SOeT3g== X-UI-Out-Filterresults: notjunk:1;V03:K0:Gr7yOP6Mk80=:Q/mEqaDHxG1arHlNyB8hGw SBorNeQltAaP4x137+EX0Meu0Ui2FKp5Qhq2SAqze4m3d3nENNHXo+HKOqmUoNG/ev8xO57Ja FrdTFY8K+2vEI30NYBFJZ30jaSiUFdY4KPUFqQp7zhxxqC4YaXeshpM0Xv8uypu1cqQM8tOVs /DTzJxHvp8vZQTn6tQWLCAfibtFpqiFN/JybjCz34hXxaiLzDewhpgtOQJOPpAKurNDwHIy44 1DvP11LCCoa1HpeHAWuAaYKv1rwQnhJRI25/PZsgVfGd8RFWiXRUix37biRHFgC84oBUxH+88 mqTc8VwhtD6DWo8rveliOFPKYYA36gq2LttyEHTy39JKu/QkudSxGvIifM8TBig2VdjlQBNqC 4Ld0MWYRUCO9QGx4fl8QxnAaF8fCzoz46Erq/D+qSLsUwINL3RcD+Eae6nb+9d4CeZefifbGY vZB8gcHPuKcrrIquPKGo9bjYPtwBNdonkMZbvx0WHBrB/ouOsm7sg/5Y103a5HZGivCw7/+gh rUqrzFWKDNYRpMFAQABVECVVQJN9faTbVpknCl1OxotM9eYGm8v7xqL+ccCv4DJBsX9RT5F5B arwNIkpR+jaJde980G1lWEcK9T6jIZD9Fh1V+f5odhllwRuyWE8fDPhFEQ8zntGoL1EvlZgEH bxW0LPTXLaK6gh5Z+9tjAvL6gr3X2CiKDPxU263JdbxT0wM2lBRLokNjMwajwRjos2s7RAiNL bNwcSX1NQBVt2Mti8pELGpaevBk8C5Far0KMZqUNaHUOIrh0t1eIzsvoACXELtJbpopHFcCIJ pSIml8L6C4IBMa/sAJXydSOfSiBek0KBOYQif4q7WdhQyWwTPtqyeJ3yh7TSInPgIql5Oo9cz qgWpziz4IBmgU7GVM2rRMLvQRhPxp1wDjKDsIReFLIyiW2z+jW+QkG37WGh9q1rXUsh3Ll3/v 7RHwqTALwNA42GzU1eNaIjIYBVYtNLYDDEzels1Bih13RRxebOvXwv7xd7Jz0QiGZdtEpG0PA eRlxWcSiO9cGOPS1GjTlApAR1tVa9ifNe3iaRGLRzMdeh7Cp6M9uLqpA8qkFqDHxkcBzyRat5 zKwG4ldg7b/YtLDcXQBxZUdLcvx0SGDgt2l9SIV5TM05F/tIqlQYHg5NiVjGsiW0siD7G11Gf z3ZQ4m4Igy2xBipeF1/6D+ewfTVhYP3xQbvFHGndDoLH65C4eA3jJZhNu/PNHBBSJdV1xMBCD rRgar/BjuYHfL2ExLdeS1nsBYghOzmLfp/OWL/Q== X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; CHARSET=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2020 14:22:28 -0000 Hi Takashi, On Mon, 31 Aug 2020, Takashi Yano wrote: > On Mon, 31 Aug 2020 14:49:04 +0200 (CEST) > Johannes Schindelin wrote: > > > On Thu, 20 Aug 2020, Takashi Yano via Cygwin-developers wrote: > > > > > On Wed, 19 Aug 2020 15:41:56 +0200 > > > Corinna Vinschen wrote: > > > > Guys, > > > > > > > > On Aug 19 20:39, Takashi Yano via Cygwin-developers wrote: > > > > > On Mon, 17 Aug 2020 20:57:18 +0900 > > > > > > Adapted to the current git head. > > > > > > > > > > Aligned the timing of seup_locale () call with the recent pty ch= ange. > > > > > > > > Shall we release 3.1.7 as bugfix release and then merge this patch > > > > and bump to 3.2.0? > > > > > > It might be time to do so. Thanks. > > > > Sorry to latch onto this thread with something slightly different, but= we > > do see pretty serious encoding problems (both with and without > > `CYGWIN=3Ddisable_pcon`) in the Git for Windows and the MSYS2 projects= . For > > example, in https://github.com/msys2/MSYS2-packages/issues/1974 the > > following issue was reported. If you compile a _MINGW_ program from th= is > > source code: > > > > -- snip -- > > #include > > > > int main(){ > > puts("=D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82 =D0=BC=D0=B8=D1=80! Hello= world!"); > > return 0; > > } > > -- snap -- > > > > and then execute it, you will see this output: > > > > -- snip -- > > =E2=95=A8=C6=92=E2=95=A4=C3=87=E2=95=A8=E2=95=95=E2=95=A8=E2=96=93=E2= =95=A8=E2=95=A1=E2=95=A4=C3=A9 =E2=95=A8=E2=95=9D=E2=95=A8=E2=95=95=E2=95= =A4=C3=87! Hello world! > > -- snap -- > > I guess your program (binary exe) does not work as you expect > in command prompt as well. If you want to use UTF-8 coding in > output, you should add SetConsoleOutputCP(CP_UTF8) call befere > puts(). That may be, but I would like to point out that the very same executable worked quite well in a MinTTY using v3.0.7... Meaning: the default changed, and that broke a lot of users' expectations. Is there really _no_ easy way to get the old behavior back? Ciao, Johannes > > > Piping the output through `cat.exe` "fixes" the issue. I tried both wi= th > > v3.1.7 and with the tip of the main branch. Could I ask you to have a = look > > at this? > > > > Ciao, > > Johannes > > > -- > Takashi Yano >