From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Date: Wed, 08 Sep 2021 09:02:39 +0200 Message-ID: <87sfyfbldc.fsf__40910.5246699014$1631084931$gmane$org@gmx.de> References: <20210903122828.16890.65271@vcs0.savannah.gnu.org> <20210903122829.EAAC220B71@vcs0.savannah.gnu.org> <87r1e4eklw.fsf@gmail.com> <87v93fnfmm.fsf@igel.home> <87lf4aooge.fsf@gmail.com> <878s0a409g.fsf@gmx.de> <87ilzef65i.fsf@igel.home> <878s0aeyna.fsf@gmx.de> <87r1e1ex7z.fsf@igel.home> <875yvcmgm2.fsf@gmail.com> <83y288nuoq.fsf@gnu.org> <87o894l0dr.fsf@gmail.com> <83tuiwnspl.fsf@gnu.org> <871r601a9f.fsf@gmail.com> <83pmtknqlq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: andrewjmoreton@gmail.com, Mark.Barton@disney.com, emacs-devel@gnu.org, schwab@linux-m68k.org, monnier@iro.umontreal.ca, 49822@debbugs.gnu.org, larsi@gnus.org, Augusto Stoffel To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 08 09:08:40 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mNrhH-0001Dm-26 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 09:08:39 +0200 Original-Received: from localhost ([::1]:49192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNrhF-0003Rk-22 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 03:08:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNrbq-00071X-Rz for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNrbq-0002SJ-Iv for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNrbq-0004XX-FI for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 03:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Sep 2021 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49822 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49822-submit@debbugs.gnu.org id=B49822.163108457517430 (code B ref 49822); Wed, 08 Sep 2021 07:03:02 +0000 Original-Received: (at 49822) by debbugs.gnu.org; 8 Sep 2021 07:02:55 +0000 Original-Received: from localhost ([127.0.0.1]:58366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNrbj-0004X4-GT for submit@debbugs.gnu.org; Wed, 08 Sep 2021 03:02:55 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:53387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNrbi-0004Wq-1h for 49822@debbugs.gnu.org; Wed, 08 Sep 2021 03:02:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631084561; bh=DXyE9wGXMutKMMYd5+ZYlOIf2hv63YvIjf6bD3oi+uk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=MLNmyJJA4Pql7MCqxMk4J7/fvyms+WqWcsKNzECoZlTtdGpN2wQIWrQhmBeYCWjXP Ut0jwHhmzcjDL2VS2xGJ1m5OHNIkDVdK491crPFoY6Gdm3fFQejqnI+bonjA6Tb8Ns SNUsWPRajaXTn+LakoclheTN6HG3i0SK4CgH3Bkw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.148.40]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mt79P-1nCoZ60EIr-00tU2W; Wed, 08 Sep 2021 09:02:41 +0200 In-Reply-To: <83pmtknqlq.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Sep 2021 22:16:33 +0300") X-Provags-ID: V03:K1:exuDSoW6GZhwKUSit4pZXZDb9lycik9itUAdPQV82/Rh++bMUKN 9KrxcWZBE2FwWvBpRcDg3KgZwUOTXj1QJ9ha0nLCZ0PffllkNlAOEFuh2F1XCR+ikV17kVj Y9goo0ramlNq1NRkQA/xziDBx+/50EL+rC1VZgHQNRZ2rO03C4CkTSDz4CQEyi5O198ZebN zSVsY71HPgvFmZVGSWJWA== X-UI-Out-Filterresults: notjunk:1;V03:K0:7YuSp1yTnGE=:6THW/pDP5pCdCW6nNpowCJ liDWDKY54unBuYVVUfHgj1BZ98iwD5fwHf0ekh1kNBdlWt+3QPvIby5+DsCZ8OigPA28K89LD qK+Ci7AnXOdiCFDwX60RP2OcbxTGQr32LlWU7OzKwrXclXOi2SpDfL3xdn7L/SyWKk7e/BcFG lmzW/We9Oc1htBUIAkHCR8LTEr8ELAfgKU+IPYeMDSd0ZU0bVMt1yNH9IWPVVXaXwXjI4WUUl Q8iC/0N88W2Pkp568qwAokTLGNofMqVkoAgmDeMECSztobagjt1udZ8r/6mGuUpv1Kiar+ejS pi2zUOSEcm3fIcKUu3r0AFLc+JJHILlaxuYpZ2yX9rxb8RtRBJ+2E+mBeLehToBtgVgj6j90G um2RMIriLRYa482IpTpY7t8IhujMLjZ3jNmVwdY1AsZ9EGjNynHmwxrmoB5wNFkpqlbGAqtB6 GeCQRgV+lm9yqf6kB2bdgqx08Xoy6p2f0JxkDwYbE8EJHIFKi2XKMzvcF/tln+s879kXs6uh/ jhLC/zMQgaH8Ocz85Dou3QhSAazw+Z0+Srb2Zf9/2wHqXnOYTuvN9DCcGgmAsNvLrUO6kLoNH CSTfuwuSc77wY6ezLBvKjPjZ9lz6SaAsdVFTJaz2ZBtKc5xYD8TBrh2aNlJ5w43sih4fpUYCG tN+IEbMgfXIMZbaAH2Nf0DzjFv0OW5iofLT3ikbyqgnvNrJybabEo+UwcdfM8+kZbVBO1v6t8 tGkh7vmiMYJ39dZ3ebzUekftvY3AljPfPTL1CBa1iT4JH6f8isy9b91yABQwR820QiKQjCLJ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:213781 Archived-At: Eli Zaretskii writes: Hi, >> I'm sitting at machine A but my inferior process is running on >> machine B and the machines talk via SSH. > > You mean, you run a remote subprocess via Tramp? > >> There are several steps in the communication here: Emacs -> SSH client >> -> SSH server -> inferior process. Each step has potential limitations. >> If the SSH server talks to the inferior process via a PTY (I'm just >> pondering, and I don't know if this is usual setup or not), then we >> would have to take machine B's PTY restrictions into account, which >> would defeat the purpose of knowing the exact characteristics of machine >> A's PTYs. > > I don't see how B's PTY restrictions are relevant, but maybe Micheal > will (assuming you are talking about remote subprocesses). Tramp tries to handle such cases. But of course, a respective test wouldn't hurt. It could be on the machine which has shown the limitations, accessing it via "/ssh::". Best regards, Michael.