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.help Subject: Re: Tramp prompt (?) issue Date: Mon, 03 Aug 2020 21:09:18 +0200 Message-ID: <87mu3bo8bl.fsf@gmx.de> References: <87bljz5fvl.fsf@ebih.ebihd> <87r1su4qwj.fsf@gmx.de> <87bljy1dlf.fsf@ebih.ebihd> <87bljydw2m.fsf@gmx.de> <87365a0yng.fsf@ebih.ebihd> <87y2n2yn7l.fsf@ebih.ebihd> <877dule3fl.fsf@gmx.de> <87lfj1z08o.fsf@ebih.ebihd> <87mu3gdfyx.fsf@gmx.de> <871rkrxxsd.fsf@ebih.ebihd> <878seyzp0q.fsf@gmx.de> <87d04awv7w.fsf@ebih.ebihd> <878seywuow.fsf@ebih.ebihd> <87zh7exm24.fsf@gmx.de> <87o8ntq7vl.fsf@ebih.ebihd> <87ime0ozzk.fsf@ebih.ebihd> <87ft93yfvw.fsf@gmx.de> <87a6zbpuy5.fsf@ebih.ebihd> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36430"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 03 21:11:45 2020 Return-path: Envelope-to: geh-help-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 1k2fs9-0009Pc-MX for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 21:11:45 +0200 Original-Received: from localhost ([::1]:46518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2fs7-0007xO-07 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 15:11:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2fpr-0007wE-Kp for help-gnu-emacs@gnu.org; Mon, 03 Aug 2020 15:09:23 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:59655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2fpp-0000O3-Fj for help-gnu-emacs@gnu.org; Mon, 03 Aug 2020 15:09:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596481760; bh=y5Ax5CX/T6/UOXEga1umMEfESdYYChx4DGtOj8D4CZc=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=ef0iHwjPaCLaL4IvQcshw+Mz31ckWztoYgFumNNO7f7+oIbUIyylECpUvj3cl0J/j IXIYDpkwp6iTBLX9jYBQbzI0BY5qYm7yD0Z47L7ejVAEuNyeobuhar6YGTUv/5IthI ijF7lZ63hraEVlRTn5Y1iiyqjIV83UhYfBfLa52w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.54.35]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7QxL-1koJJC3F7d-017i2O for ; Mon, 03 Aug 2020 21:09:19 +0200 In-Reply-To: <87a6zbpuy5.fsf@ebih.ebihd> (Emanuel Berg via Users list for the's message of "Mon, 03 Aug 2020 18:15:14 +0200") X-Provags-ID: V03:K1:iWn1L2TK+y2Ob/P/gpDaW3byG0c0LydjzzKqMJUH0YU8ZIABEyg t9uera3EDvDzGuYd+du/+sTQF0fF5CXDeRRAjcc9TyYWhqXE1/3jnmxatrW/OsDcsDiCggl 5L+25uarlcraFh8yn9Wo4TSSN594xj86TRpQ6INcigiRq+3cK70CvWVPOrzDNXjTXXbDlPA Cc5yv6+gQ5WwD/JHfx21A== X-UI-Out-Filterresults: notjunk:1;V03:K0:rE6zNBcdJ8Q=:eRRm+kdQv3GYFDg2Co/ErN uPGvqWqwqrTNotNkp9nRUD4l4ubdbhJNEq3QkTGHtVeuUy/Wa+1UzQvV9I6MxsLv6L2yFTmd0 Dg7ShbdiiyXDoGW2xepNOdcq2zXFD+JlbnQuZ1pVUk3NQqiqAteM1N0HPBENDCax6dS0LTM9C Yy9sb/gOy2HOOFmIMOLqNnt+KUOBLdLqVSmJIEYxWRad2rJr+W7NISHQO9r5O5Cptl4A143Dk swS1d33vO1Op1jguFcyvyKnzImEOxuZt0VIr4jkgk/6a4jja4LSzUhN8wuTfeP6zJasM2jpb3 Z10Q4eF6AM0luJCzP3KylLcUpAvQTWkp+yiGKvdQKeYL341eFgTutqY539ulK8/Ms14h1y/1Y CTzbQ1U1vQmEbXLBESjgTebE5/lwiaW0gomXSMe26vQ8ZwH7xyOYBFmcwZcV+gMl7t/oGrSNR 2d/vnfXoxW+ipfMt0sn+mxjuzSfLf1NAwMZSBI5GdjTujeuuEh0gBxUgphLE22O89S4xUd0Cq xiaafsM7oP0ugltE0k0DjSkE663ZrFqBvgR2NQ8L4rj483C1Tjb7shgWMENy+VYgpk8XrBwGQ SN8MZvsMHDPF1pobHTitc1Y1gzOTL57JTI0txPptTjgem6wLqagi813vKCAfMpFgvWiLNpjLH iDKU+UNpLvZcpnUtMoRI2InAfFKVzWQxqKdr96SIZFXX1swoqAczPp+dNLBgqqIEqohslkRXf S9MDGiyuz7c9+IG98VFFst7YJsSEYILjvVoqWX6AsxyEsfASCZQ800asuVGmhiLGwcekVXjv Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/03 15:09:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123628 Archived-At: Emanuel Berg via Users list for the GNU Emacs text editor writes: Hi Emanuel, >> Let's try to control this. Pls eval the following: >> >> (add-to-list 'tramp-methods >> `("myssh" >> (tramp-login-program "ssh") >> (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") >> ("-e" "none") ("-t" "-t") ("%h") >> ("\"%l -i\""))) >> (tramp-async-args (("-q"))) >> (tramp-remote-shell ,tramp-default-remote-shell) >> (tramp-remote-shell-login ("-l")) >> (tramp-remote-shell-args ("-c")))) > > I don't have any `tramp-default-remote-shell' :( > > Only: > > tramp-default-host > tramp-default-host-alist > tramp-default-method > tramp-default-method-alist > tramp-default-method-marker > tramp-default-proxies-alist > tramp-default-user > tramp-default-user-alist Ah, right. You use an older Tramp version. 2.3.3.26.1, you've said it. So you might try instead --8<---------------cut here---------------start------------->8--- (add-to-list 'tramp-methods '("myssh" (tramp-login-program "ssh") (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c") ("-e" "none") ("-t" "-t") ("%h") ("\"/bin/sh -i\""))) (tramp-async-args (("-q"))) (tramp-remote-shell "/bin/sh") (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")))) --8<---------------cut here---------------end--------------->8--- Btw, another test worth a try would be to use method "sshx" instead of "ssh". Does this make a difference? Best regards, Michael.