From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82460 invoked by alias); 3 Apr 2019 07:28:08 -0000 Mailing-List: contact cygwin-developers-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com Received: (qmail 82451 invoked by uid 89); 3 Apr 2019 07:28:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-101.7 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=screen, H*Ad:D*ne.jp, Youll, You'll X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Apr 2019 07:28:06 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MAflI-1h4xYG0bhg-00B5xz; Wed, 03 Apr 2019 09:28:00 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 05912A8034C; Wed, 3 Apr 2019 09:27:58 +0200 (CEST) Date: Wed, 03 Apr 2019 07:28:00 -0000 From: Corinna Vinschen To: Thomas Wolff Cc: cygwin-developers@cygwin.com, Takashi Yano Subject: Re: Pseudo console support in PTY Message-ID: <20190403072758.GR3337@calimero.vinschen.de> Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: Thomas Wolff , cygwin-developers@cygwin.com, Takashi Yano References: <20190330220804.a3be5fa8c4d5569464309d66@nifty.ne.jp> <20190402110248.GP3337@calimero.vinschen.de> <20190402175055.GQ3337@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nRwNdQxTdQ7rZk9A" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-04/txt/msg00004.txt.bz2 --nRwNdQxTdQ7rZk9A Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1932 On Apr 3 09:18, Thomas Wolff wrote: > Am 02.04.2019 um 19:50 schrieb Corinna Vinschen: > > On Apr 2 19:16, Thomas Wolff wrote: > > > Am 02.04.2019 um 13:02 schrieb Corinna Vinschen: > > > > Hi Takashi, > > > >=20 > > > > On Mar 30 22:08, Takashi Yano wrote: > > > > > Patch 0003: Support pseudo console in PTY. With this patch, > > > > > native console applications can work in PTY such as mintty, > > > > > ssh, gnu screen or tmux. > > > I've now tried your patched binaries on two systems. On one they don'= t run, > > > on the other I saw no noticeable effect, particularly no impact on the > > > pty/console interoperability... > > Try starting cmd from your shell in mintty and do some native stuff. > I've now self-compiled cygwin dll on a third system and can run a cygwin > console. > But the build process did not generate the cygwin-console-helper, maybe > that's the reason why mintty does not start? >=20 > > You'll notice two differences: > >=20 > > - cmd history works > In the cygwin console, it does not, echos the cursor-up escape sequence Oh, right, ... > instead. See my previous comment that I think ConPTY should only be appli= ed > if running at a pty. (And for other reasons only when starting a non-cygw= in > app.) but you got that wrong. The conpty stuff *is* only applied for ptys. The above appears to be a fallout of the console changes to support the Windows console changes to emulate an xterm-256color, https://sourceware.org/git/?p=3Dnewlib-cygwin.git;a=3Dcommitdiff;h=3Dbd6278= 64ab41 Takashi, can you take a look? > > - dir /p will actually page > Does it also translate the character set? > Test case, when running in a German UI Windows: > xcopy > echoes either of > Unzul=EF=BF=BDssige Parameteranzahl > Unzul=C3=A4ssige Parameteranzahl I'm only running English systems, so I don't know. Is that in a console or in mintty? Corinna --=20 Corinna Vinschen Cygwin Maintainer --nRwNdQxTdQ7rZk9A Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlykYH4ACgkQ9TYGna5E T6BgERAAljkRNbbfOXzYrNIo1LV85X09oa14Hf24M/7ID1MPxwMQv8q6lQCKq6or hjN1K58A1MyGK2RTXyza3JgMLaxBPEWofYI/UG6igAPWVM3mYsC9oHRg1jkZvPoG LpdMN7ZxCPaMmkTcSOsaEPKN7suIKBejusy/mtVsVQD+xRf2Kxs/3yiW1QzPeurn 5/1WeNN4AumuNTesrxvfkJMtNK+LPOa5hOC6jMFbw4rTDynjxG5b6VDe1850CcrB cPmYdjTY6zJTxps9/MEPeuXwxdbagA5bb0fmLg+q/HJHnfz+S9b55ZQewyZiCorR PGotcaNeoIPGH3s1VpW9MOLXuY7n9pCD8KNdlbSJTsMGcfipau/IEjn5GFc60crS MufRLm7C0RWlo8r85BySEESsWsJxD/FOo47hRRt9e9BjLPvMFGtK4KnoyQxlRa+p D4AKzVHqkfBlyTtTF+f3+dTtua+t2IjkBLGEtLJSYsmUNeLMQXs5aGJqSlY5+va2 6ABaBu8vt4ccUDaw8KFzYbCRyi0i8kFxW0TLMFEidOzovpmfrN4sP7icrpSRHy1P ZhGcotUWitzy27A2E0z8oIPfidawJjvQV9RIboak0JgY1G0O+rkTrWQwKUYnmfRM RdKm8numqseooeK9INb+S/oLVxT4qE8pUItaYHZXm5XP6SQTDos= =Jic4 -----END PGP SIGNATURE----- --nRwNdQxTdQ7rZk9A--