From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Date: Tue, 07 Sep 2021 22:16:33 +0300 Message-ID: <83pmtknqlq.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, Mark.Barton@disney.com, emacs-devel@gnu.org, schwab@linux-m68k.org, monnier@iro.umontreal.ca, 49822@debbugs.gnu.org, michael.albinus@gmx.de, larsi@gnus.org To: Augusto Stoffel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 07 21:17:26 2021 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 1mNgb0-00027K-4y for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Sep 2021 21:17:26 +0200 Original-Received: from localhost ([::1]:39980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNgay-0007Kf-Ac for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Sep 2021 15:17:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNga6-0006UE-C1 for emacs-devel@gnu.org; Tue, 07 Sep 2021 15:16:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33960) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNga3-0006ih-DB; Tue, 07 Sep 2021 15:16:27 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1988 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNga2-0006FR-Vc; Tue, 07 Sep 2021 15:16:27 -0400 In-Reply-To: <871r601a9f.fsf@gmail.com> (message from Augusto Stoffel on Tue, 07 Sep 2021 21:00:28 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:274284 Archived-At: > From: Augusto Stoffel > Cc: andrewjmoreton@gmail.com, Mark.Barton@disney.com, emacs-devel@gnu.org, > schwab@linux-m68k.org, monnier@iro.umontreal.ca, 49822@debbugs.gnu.org, > michael.albinus@gmx.de, larsi@gnus.org > Date: Tue, 07 Sep 2021 21:00:28 +0200 > > >> Another open question (at least to me) is what happens when you put an > >> SSH connection in the game. Presumably it has some buffer limits as > >> well, and this seems even harder to determine exactly. > > > > SSH connection between what and what? > > 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).