From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19092 invoked by alias); 3 Apr 2019 12:17:01 -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 19026 invoked by uid 89); 3 Apr 2019 12:17:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-101.8 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=screen, Youll, You'll, H*F:D*cygwin.com X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Apr 2019 12:16:59 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M6DSi-1hIHan0psu-006iJU; Wed, 03 Apr 2019 14:16:53 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id B026FA8034C; Wed, 3 Apr 2019 14:16:52 +0200 (CEST) Date: Wed, 03 Apr 2019 12:17:00 -0000 From: Corinna Vinschen To: Thomas Wolff Cc: cygwin-developers@cygwin.com, Takashi Yano Subject: Re: Pseudo console support in PTY Message-ID: <20190403121652.GW3337@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> <20190403072758.GR3337@calimero.vinschen.de> <02bf16d7-a4cd-61f5-6434-1cbf474cb0bf@towo.net> <20190403080222.GU3337@calimero.vinschen.de> <58a92b8b-f121-a185-0e8f-7906f79430f6@towo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Hnpg0BSo5EvPlUVi" Content-Disposition: inline In-Reply-To: <58a92b8b-f121-a185-0e8f-7906f79430f6@towo.net> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-04/txt/msg00008.txt.bz2 --Hnpg0BSo5EvPlUVi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2466 On Apr 3 13:32, Thomas Wolff wrote: > On 03.04.2019 10:02, Corinna Vinschen wrote: > > On Apr 3 09:55, Thomas Wolff wrote: > > > Am 03.04.2019 um 09:27 schrieb Corinna Vinschen: > > > > 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 patc= h, > > > > > > > > > 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 t= hey don't run, > > > > > > > on the other I saw no noticeable effect, particularly no impa= ct on the > > > > > > > pty/console interoperability... > > > > > > Try starting cmd from your shell in mintty and do some native s= tuff. > > > > > 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? > > > Can you give a hint that enables me to test the patch? > > >=20 > > > > > > You'll notice two differences: > > > > > >=20 > > > > > > - cmd history works > > > > > In the cygwin console, it does not, echos the cursor-up escape se= quence > > > > Oh, right, ... > > > >=20 > > > > > instead. See my previous comment that I think ConPTY should only = be applied > > > > > if running at a pty. (And for other reasons only when starting a = non-cygwin > > > > > app.) > > > > but you got that wrong. The conpty stuff *is* only applied for pty= s. > > > So cygwin running as cygwin console still sets up a pty? > > Still? It never did. Call tty in a console and you get /dev/consX. > Misunderstanding, didn't mean "still", sorry. > > The ConPTY stuff only runs if the application requests a pty. > OK, but I think it should additionally be restricted to running non-cygwin > apps. >=20 > By the way, when I previously reported the patch to have no effect, that = was > on a Windows 7 system, so of course it couldn't, sorry :/ > Still failing to test the patch in mintty on Windows 10... WJFFM, given the current restrictions. W10 1703 or later? Corinna --=20 Corinna Vinschen Cygwin Maintainer --Hnpg0BSo5EvPlUVi Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlykpDQACgkQ9TYGna5E T6CZEA/8DlPcU//x3bqAV2kq58tVSu9EE0p9htOk5AY65+xvEFyjSqTIuckl9pLW wfZgOiiQr9DVDkQ30k/d1zUAicVM2ai13IwLOd6uSkfI+PuHZuaFavFzwG+TG5hT RwbDvLqtOtiyChjMJU3Se+jUWCHl2zwet3gT2swG50mqgZsSmCj59AFQuwbqCp32 u0xuyMj8zt9iDxsEUBSEuBN7WlXsdm0kQk209GQR+YXiDDmWvraf8SuZzsFjRHy9 /KfrFa7PfUlaaK2VIbrIRB11uJmg5uaXiLzpWj3mU8x7ZQ2Gbv6O87OWm4+XSaWd 4A0nxDwULZJ77kkypM6EPGZAIaa6rmGXAICshdOVDDn5+RQkLAWy8PxvNssNdk+J LXYijPMFG5anpN/Ovsfd5KS9Y4ay2fwuRvDpSUZIw5x9Uv1pFf7gyClezeQJAram C3I3n06GcbNtzTjTYnO3NCSrv0Tfvs+z/wSSLSN6M9OpNecFCoufZe2vpvjrDWYQ nkTDESUVfH/2At6XupmfNCC2bheq9X18VC40r0L/oZWfhjUIF//4JRGtuV+3XWha UpCBtOaQerTX2gyGXwjhJtuzs0q+sMvOTIbV89laU4ESDVnHy6du/42C2iN8Vze+ ZNGsXy2IEIyyh4KwMxJQk/9JX01OquTUmqgSWK/nFYPmHQCDDmQ= =Sg2x -----END PGP SIGNATURE----- --Hnpg0BSo5EvPlUVi--