From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Schwanberger Newsgroups: gmane.emacs.devel Subject: MS Windows: ConPTY -- can cmdproxy be patched to allow PTY for cmd (or "windows-bash")? Date: Sat, 19 Feb 2022 22:11:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000aabcbb05d865732a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8465"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 20 07:18:37 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nLfYJ-000227-2L for ged-emacs-devel@m.gmane-mx.org; Sun, 20 Feb 2022 07:18:35 +0100 Original-Received: from localhost ([::1]:34724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLfYG-0000hy-74 for ged-emacs-devel@m.gmane-mx.org; Sun, 20 Feb 2022 01:18:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLX1X-00013E-Cc for emacs-devel@gnu.org; Sat, 19 Feb 2022 16:12:11 -0500 Original-Received: from [2607:f8b0:4864:20::b32] (port=35351 helo=mail-yb1-xb32.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLX1V-00020f-AT for emacs-devel@gnu.org; Sat, 19 Feb 2022 16:12:11 -0500 Original-Received: by mail-yb1-xb32.google.com with SMTP id bt13so26391289ybb.2 for ; Sat, 19 Feb 2022 13:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=F/cbPRYyLZrBIm8Lnrul7OnU3EdmQCVWf50PPVqoRi8=; b=f/PCpAmXgvOQjmiFYb23T7ALWCanr4XA7hmOnXaZlosUioy67prz11ywehM3g6hU/7 OjM04B2vLmj1Bp6M8/s+id298h4CCRU+kZOvzbuEaHxY2EsJ5Xxs1cNFVxKdH54c71TI iqHW9aYbyp7jjSJCdII8yG1t+CuCMmcbJm2u8e6FpWjpLcopR/kf2oNGSNrSVvR7Q/g9 rFLv0b/31WmDmAVCn81/kdh0sMc1h6MtoG28pMyxci3LhdpG6WCoOtHV0Bi/mt9cBKqE Rh/kVg3q53LjqF6W4eyQUbE9Ixw3TxjTQe2jmow2t9dqmRLC/6JzboCwQ5BFy+j8jmUq vcYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=F/cbPRYyLZrBIm8Lnrul7OnU3EdmQCVWf50PPVqoRi8=; b=OfmdYrpv8+FGeIe/su3Lgt2HuKuthaV04xz3wv9VU2feTGsJcpmOXM9i0gcoLwVsRa +1lpNVvVzlOgh89xIVV5qCseCouHvUi0HMNU3n3h/0y/Q3g+GF8pm3e2i1vqKWaNmPee 6z4B+PHAQUduOldaFcBZm2ONGMaGjusQtqWE5+u15NE+zhgmIBLv/eFSEWhE8S/SbCy5 aMgtr+T/4tzLvCUSRRDeXfHBdgRGN1TIzi0AFLxRIuwJc444ngFORIyulwAQk+xJ2824 syDRSZ0FwnA10CuiQbrRH7pNufNgyPOTys6bgMov4q6y5MxU6JY0AvoEHDsRJXMVsI9F WZiw== X-Gm-Message-State: AOAM533MDYOl9bZ3T+vXl0pQnWKSRupscUntBsGZly6mWO4jLlf2pZRr gwUw3AgjvUAmYOsd+czS4geyHQHTSBQ/jfVCrdru4LnCFACkPg== X-Google-Smtp-Source: ABdhPJxFt0AEWXT8EDBiGJGoNT4+gL2iarXUNDuv470aMK29Fl/+CD6Za4NDbFsyFnKvcJRMn+JsTCphiCqGG/o/zcU= X-Received: by 2002:a25:3403:0:b0:61a:3b7e:881c with SMTP id b3-20020a253403000000b0061a3b7e881cmr12686831yba.210.1645305127417; Sat, 19 Feb 2022 13:12:07 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b32 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=schwanbergerthomas@gmail.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 20 Feb 2022 01:17:27 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286504 Archived-At: --000000000000aabcbb05d865732a Content-Type: text/plain; charset="UTF-8" Hi, Quick background: I'm forced to use MS Windows at work. In order to use tramp with my MSYS emacs 28.0.91 build for operating remote servers I have to do either of: - plink - fakecygpty with cygwin bash to simulate native "ssh" with only minor annoyances The last option is working rather well for me, but seeing as MS Windows has recently made some PTY strides ( https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/ ) Is there any plans to make use of this in w32-emacs? I presume a patch to cmdproxy might make PTY available. Is it even possible? -- I'm far out of my depth here and my presumption might be trivially false -- even so, please elaborate, if you please. Thank you for your attention. Kind regards, Thomas --000000000000aabcbb05d865732a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Quick background:
I'm forced to use MS Windows at work. In order to use tramp wit= h my MSYS emacs 28.0.91 build for operating remote servers I have to do eit= her of:
=C2=A0
- plink
- fakecygpty w= ith cygwin bash to simulate native "ssh" with only minor annoyanc= es

The last option is working rather well for me, = but seeing as MS Windows has recently made some PTY strides (https://devblogs.microsoft.com/commandlin= e/windows-command-line-introducing-the-windows-pseudo-console-conpty/)<= /div>

Is there any plans to make use of this in w32-emac= s? I presume a patch to cmdproxy might make PTY available. Is it even possi= ble? -- I'm far out of my depth here and my presumption might be trivia= lly false -- even so, please elaborate, if you please.

=
Thank you for your attention.

Kind regards,


Thomas

=
--000000000000aabcbb05d865732a--