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#62093: [PATCH] Let processes read nothing from stdin in tramp Date: Sat, 04 Nov 2023 18:42:06 +0100 Message-ID: <87edh5s9e9.fsf@gmx.de> References: <87wmvaudbi.fsf@n90.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11025"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Benjamin Orthen , 62093@debbugs.gnu.org To: Aleksander Trofimowicz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 04 18:42:51 2023 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 1qzKfa-0002cz-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Nov 2023 18:42:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzKfF-0008Kc-B2; Sat, 04 Nov 2023 13:42:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzKfC-0008K9-C7 for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2023 13:42:26 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzKfC-0004Kz-3x for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2023 13:42:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzKfl-0001D3-M9 for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2023 13:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Nov 2023 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62093 X-GNU-PR-Package: emacs Original-Received: via spool by 62093-submit@debbugs.gnu.org id=B62093.16991197744636 (code B ref 62093); Sat, 04 Nov 2023 17:43:01 +0000 Original-Received: (at 62093) by debbugs.gnu.org; 4 Nov 2023 17:42:54 +0000 Original-Received: from localhost ([127.0.0.1]:35679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzKfe-0001Ch-AM for submit@debbugs.gnu.org; Sat, 04 Nov 2023 13:42:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:38745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzKfb-0001CO-OK for 62093@debbugs.gnu.org; Sat, 04 Nov 2023 13:42:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1699119727; x=1699724527; i=michael.albinus@gmx.de; bh=Q/UwpUls6vBcmhbXGk9QHcoxiGOO9bWoV9jqdolAiaU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=nZ9KtGCQfCu80djXsfJNaq7TZ1SwPZgWPMKt9qIO2B8at7IwcA6ojCg6Z2SqJYde /3zao1tKG2VwU/SycKmggbjgWjoHQJuOUhKCw6de6GvZ0m5DSqagZ/XDa7yQij7WM lZuST9MMEIQrh0H5ye6vggy3jDYKdtAvuRE73N81tpBOO2yFvEgui2xZF54/srzIc HkyHHbZRAoE4WOSzJ4439zuDxgJWhbquKN1VLk+RNoPek/KHteBE9xlK6ZcRyr6Nw 8DVn5MylZs5SyIE3/TbNLpZEnFwsPi0hwfohw1R6C+M2bKvEEHFRWV5AEw9GKmpqo OAbZbAb/kth+qg2UZA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.30]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3UZ6-1qymQX238M-000dee; Sat, 04 Nov 2023 18:42:07 +0100 In-Reply-To: <87wmvaudbi.fsf@n90.eu> (Aleksander Trofimowicz's message of "Wed, 25 Oct 2023 11:40:13 +0000") X-Provags-ID: V03:K1:wthq0RPyyKj5HvUVzmXcyoL2jxpD6mVfJqCODQmoydOHbA5vQR1 SDbgTr4pnQb80yzb9KM/vXYei7quUm6NIapflR4LMCyGuT7RdRujErnSS8qQNTiwOMdqyJy 46m0SOx3n70I32t2Anm9eb23sQDRkCnRhN43Hdg0Apw3aurdyqV5GIJMcBjDDkMdXvpvLNu 7C3bHcpFFUo43dlhRwy2w== UI-OutboundReport: notjunk:1;M01:P0:5oqo8/7/r/k=;ouQbrP/J90UtvDL+hrrDr4Bk5N3 RARGkQUz85M0W8pFiPPfJQZPctrxaMigl64+6JlB2exw7Ov6xuRq07Kepvuo3baAOteQ3YLOt H6BWPqf+tpRIXYjj9HeFPIkFKzN/D9GoT6WUmceQz009vJBQAXzcsvVMphp8RCYs7f2r+aAKx 7+BPURFIJSznNXYeWYxQo+ck9/3VFRlBDhfZBELdibGKC8svw79bXClxk0J/BOCJiRGF7Nbbi TGOYLq3PGWDmuHRbPK+n/VrPeArREm+ya8OMxhyRR1g5+xtn+2nlJDOMLcaKrG4XEdoaaBg82 yVrhjFa6VVlPVwajy1geC09DaCHlaniJGzlOt2UlknCLQlVXGvgUFHTQv+9jBMkoRFS5KpOer YdcdRz9Qgvqx1u4qeK/Z076nw4fp5YfJqBhvB/Gajeb9BMgKkNqFjwBH/Cpch4oNCdK+1O4Hm HONlKMoESwhtV0GMQMVSsUTjYAY6OSJguzQqLQ7AwiRG0zuCL4amHx9XX92oOdfnaEJZxGU8W roAIsAwaaNFIORE6GZqqwzbBRBE7T0j7DQlJXMWEBzEKbGSv61yr7JY71VvOCyKyUGs3YFYmr p8cYDTL1r+TFS8Zk3LtfiRkHfxL6yDSy7oYRW2vwdVehh5kvG+h7+AkGmePX6Dq8nB3+0lEK3 Ptb+54RI+rNiYqkE/Nelt7h9T2hzcz2k4hW7SR73lOA/oIi1p13Z2eXPh+HZfFLh8Yh5cmDeV DPdigo079vYpj25hWDDo3a8W1N0hsGH+8z5WD/PgDykEpUnUQH0a+0vfPBTkAO+3tFpIpDiH 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273787 Archived-At: Aleksander Trofimowicz writes: Hi Alexander, > This minor patch is about adjustments in the terminal line settings. > > There are programs, which control flow depends on receiving 0 > from a read call on stdin. A notable example is git. I wanted to let you know that I found time to check this. Thanks for the patch. I can confirm, that I could reproduce the problem with the recipe given by Benjamin. And your patch fixes this in my local environment. Since it is a very low level change, I ran a full test campaign with recent Tramp 2.6 and your patch over the last days. I've used tramp-tests.el for this, targeting many different remote hosts. 60 different configurations have passed, but unfortunately, 3 configurations have failed. All of them did fail like --8<---------------cut here---------------start------------->8--- Running 92 tests (2023-11-04 07:23:29+0100, selector =E2=80=98(not (tag :un= stable))=E2=80=99) Remote directory: =E2=80=98/sshx:ford|su:albinus@|ssh:albinus@detlef|sudo::= /root/tmp=E2=80=99 ... Test tramp-test30-make-process condition: (ert-test-failed "`tramp-test30-make-process' timed out") FAILED 56/92 tramp-test30-make-process (31.354531 sec) at tramp-tests.= el:5354 --8<---------------cut here---------------end--------------->8--- The failed test runs have in common that there is a complex Tramp target for the test using multi-hops, like above. I suspect a problem with timing due to the several hops, but I don't know exactly what's up. Will continue to debug. Just to let you know. > Thanks, > at Best regards, Michael.