From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#39399: tramp depends on unstable details of shell command line processing Date: Thu, 06 Feb 2020 10:13:47 +0100 Message-ID: <87o8ucoz78.fsf@gmx.de> References: <87v9ooujwt.fsf@gmx.de> <87pneuvjhp.fsf@gmx.de> <7F7FAC1C-A532-4561-88D2-BAD17869C99E@exchange.mit.edu> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81524"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "39399@debbugs.gnu.org" <39399-done@debbugs.gnu.org> To: John F Carr Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 06 10:15:41 2020 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 1izdG9-000L5K-5Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Feb 2020 10:15:41 +0100 Original-Received: from localhost ([::1]:34294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izdG7-0006f6-Um for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Feb 2020 04:15:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43214) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izdFY-0006eE-GC for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 04:15:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izdFX-0006Hc-Fz for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 04:15:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izdFX-0006GB-7i for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 04:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izdFW-0000DJ-3i for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 04:15:02 -0500 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Feb 2020 09:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 39399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 39399@debbugs.gnu.org, michael.albinus@gmx.de, jfc@mit.edu Original-Received: via spool by 39399-done@debbugs.gnu.org id=D39399.1580980441716 (code D ref 39399); Thu, 06 Feb 2020 09:15:01 +0000 Original-Received: (at 39399-done) by debbugs.gnu.org; 6 Feb 2020 09:14:01 +0000 Original-Received: from localhost ([127.0.0.1]:47062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izdEX-0000BP-E5 for submit@debbugs.gnu.org; Thu, 06 Feb 2020 04:14:01 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:45555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izdEU-0000Ay-QY for 39399-done@debbugs.gnu.org; Thu, 06 Feb 2020 04:13:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1580980429; bh=VJnbUQaeammOmnKzFE0tqZAhnjVETg3K+3NeBE0e3sU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=XBVnGkiAnp0Hh1FaczTXmMmNt2lidMTu7OrU2dz85FjCa8qb1kDcSCnSmEfNAJ8UE l+6LwKUyRUQ9n+5VzpCN1ondoRdpnJ5q4yBbl30MY1IaoXPylwpQOWWf/QKy+msOC0 6sUlgUYk0TYs1M08k5SDTdrs96EPczzaD06yEJQw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.42.94]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MG9g4-1ilLUn06k0-00GYW3; Thu, 06 Feb 2020 10:13:49 +0100 In-Reply-To: <7F7FAC1C-A532-4561-88D2-BAD17869C99E@exchange.mit.edu> (John F. Carr's message of "Wed, 5 Feb 2020 23:42:00 +0000") X-Provags-ID: V03:K1:3AVzRkehbpkFW19GLIqEy5bELT0IaoRCAbJcUTNA1QALYGE7XXa jiyQkwT6r1G5irQcl5DOSjm7yujOrrS2JHjIwyX0S6rA1Q/ja/NM8uVXsdc/LinSl4jsg3/ 16AYJZPPFs7QXAOpNdhezHTBDqm402KtLLVc9AZ4sCsBgmD0xAXQwOmcm/zGxb4dj1hJiid wGqOC4cAoS2zy7G5O2dqg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ln6y8jvm5jA=:UvicCegffdzrEFLDZ91A0V /8fmbysX/xU7Sb0JXun/oPg5DDB3JXlc3irrJhFXepIxHHNTK3O4CJCn47ChA1/L7cCg+RoOH 7llid2nkKtPYFakEaxRay5ZacmsLQTjlVFBxAp2QPyFrQCiNSM5xX1GzvjO+oPC+Pysy7YMRP yrXXz6AJV70zUZEBKJf4PK+9pYoysKWxJHQVyVew3gHcsLfXdWZ2VwUMZbUsXCMglF+c6wOhn TdrIWAeXQuujoWsoh6ekFobGMaa40t7tPmgfnGArCTlXzsZhbr6JWwneA4SZKlcnK31eNWUBB S6xZgXPaQt0RQSs/gBXzk8z1zouqreXOHewSADYN9iMD9Ze4ZkH2DkPfU7h4f9+boSh2KvlBC Pd3J8v3wx3P7KnUpFlRRVCtkxpqB/F9FNS9dZK147Qf9R6xh7f9xgeIrOTHj6HTrKygB2Lfmx O9+myZ4BoJsC3DRkfIdemXMWjGusVz/oapaYl3w4YxcO42jwWIoxnQo1VMV96maeZLX8vJC4f uS/A5HOEIG/eiftFDaQFWcrPJ6zcA4h8HCQWCGnHOpCKehXicc8+ls6DknhQ4iGk6aPdhVS6n hk/I+9e2hlDw3mY7TBFzrsliCt9z0QGb7baCVn266qzYpURLeHrU/dEbu+T6YZWliKuB0f0XF fjyfG2yjr3tTwrj+yROcV5RusmgnCDokjw/oJ3WD6o7khy+/hXJFFN9cVRwi21z2dKromJBdk BfWfZbotcveEbZUqHwEzMzYc7qslt84L+tPLkMQskLlPxXORHFaT/m08JJlGGeywhTBb2/pB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:175722 Archived-At: Version: 27.2 John F Carr writes: Hi John, >> I've digged further. Likely, the problem can be avoided if we disable >> command line editing of the shell. Tramp does it already if the remote >> shell is zsh; I've added a similar parameter to the bash invocation. Fo= r >> other shells, like ksh, I haven't found a simple parameter. >> >> For that class of shells, I've added code which installs a temporary >> ~/.editrc file, containing the line 'edit off'. >> >> Could you please migrate to Tramp 2.4.3.1 from GNU ELPA? On top of this= , >> install the appended patch. >> >> And pls report, whether it works for you. > > Your change applied to tramp 2.4.3 from ELPA works. Thanks for the feedback. Since I have no *BSD machine, I couldn't test the patch; it was rather a shot into the dark. I've pushed the patch, slightly modified, to the Emacs and Tramp repositories. It won't appear with Emacs 27.1, because it is too late to commit such serious changes so close to its release; but I will merge it into the emacs-27 codebase after Emacs 27.1 has been released. The next GNU ELPA Tramp release, 2.4.3.2, will carry this patch. It will appear in a couple of weeks. Best regards, Michael.