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 16:15:47 +0200 Message-ID: <87ft93yfvw.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5917"; 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 16:17:50 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 1k2bHi-0001RY-Nx for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 16:17:50 +0200 Original-Received: from localhost ([::1]:42930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2bHh-0005TG-KD for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 10:17:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2bFq-0005SE-5B for help-gnu-emacs@gnu.org; Mon, 03 Aug 2020 10:15:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:49525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2bFn-0002jH-Qv for help-gnu-emacs@gnu.org; Mon, 03 Aug 2020 10:15:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596464149; bh=akiIUSECq1a8HDihBZbvgXenfuAfkHCkuozITE4k4f8=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=dKaqH4YJtwqJIvuYZqp9wNVXefRKd2oFGxakQw9hn4O5kw9QfMqIepo7gQmZdijPV 8CLaqQZt5cHBFlQ8T85y6P5qJstdKOHhSj6tT/mhqjlSc4qHj9vKiGbvTHzPK9USl1 NI7V8ms/Dm2y7tZWbkDzT4xXa3Ly2ENG9zXQnW2Y= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.54.35]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTzay-1kC3T508Y6-00Qytb for ; Mon, 03 Aug 2020 16:15:49 +0200 In-Reply-To: <87ime0ozzk.fsf@ebih.ebihd> (Emanuel Berg via Users list for the's message of "Mon, 03 Aug 2020 11:11:43 +0200") X-Provags-ID: V03:K1:UVb2eeSM0qS6Ll9br6d9Q4cGA77qCIJGMVYW3rFP9i/EBdrgkov /uQzl6JqpdHQSgKwBJVqhuzYmcn+b2mCygk/2ZgUZGjjWn/dt/8GqvXn7WnAorLLMwqEVHr 63DU4e4/z407BkHTGKYqJ1OshA2GxjpZFPvr/aMWsmspGaJ514hWJtjZB3yBEv3F8tcKtem EGbspfD+LVd8veoJJOmqw== X-UI-Out-Filterresults: notjunk:1;V03:K0:OhOtCTg4u1M=:xNwOqUS0ZxzMIVqKg0/hI2 ISAOJwzaNEuqV7OSyzwWPLFtkoIMobSyNoEZO6Dajxxh/r306IbLIR1W1748N0hiAfKlICXJJ /UJO/hgxsBxzP+IUS/Jsl9LXjg7Bnh4ljQyYDedXJGTWdcuuteFhE0C8gUVZ6FM+OljIrRt50 qANK/Z/Sclvkvs6pmOw+9uYtMDYwQhAkJwLK3GdWXi1ow5YJ19gQfGUyVNSfdG7JTFGN8B5xv A5TpIU617hMgXlic51kMWGemXdbo929LsPKtd1wdfWC9vKTgeeMKVWdeDDDX1lHtlVuEIZjNH ONwhq7yiTJTO0K7Yv/Fg2wy68/F3lB/r80hD7b/P5qX3AlMyRbMxzv5hgYHETG0/YH9+CR8Ba vGbm+Bw4G3v7tqHzK09QKMrZZNM0pUelecaIpXa9qrW6wc9krpYhnvBkO1nSYglAjSp20UUUy ZMS4giOszj6xQvcsWADsmcqyjFEoDzN1TbYi90l0mHOcpYJFhJplVG2UIMUCSVwbkP5z97gRS QxIyA4fzFfPuXP/CYZF/RfY0pDzc9zng98u1k4FDhj91ooJp4hRGkL1CaTthTgFx4oHdYJuG2 WHv/knJ/JMDtxWAYjmmAsowZHFYvZCNqqIRBGF8KUKomFjgjr0kfhOaXiJFvvkRz3nABlwRKJ +2Ktk3jgTUm5lQTGn5Ad8ZnM2aypvj6GdRbCaW6jutQgRP2rAjvk3X3+Lr4qTRQmABdY7uXK8 JaIqP4laRZwZkdeb1x3KxEq3RO0g0JPqoenX80LWQTesxvUXgLzvS2ANUI41qiqQVfYChfgn 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 10:15:49 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, URIBL_BLOCKED=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:123625 Archived-At: Emanuel Berg via Users list for the GNU Emacs text editor writes: Hi Emanuel, > Now, after doing nothing, just removing all the > files, the shell at SunOS has switched from zsh, back > to bash! > > So now we don't need to care about zsh... > > Still DNC tho :( > > commands/settings: > > (find-file "/-:embe8573@polhem.it.uu.se:darn.txt") > > ;; ... > > (require 'tramp) > (setq tramp-default-method "ssh") > (setq tramp-verbose 10) > > Tramp log: > > https://dataswamp.org/~incal/tramp-debug/7/debug-tramp-ssh-embe8573-polhem-it-uu-se There are still just the three characters "ESC Z ESC", returning from the remote side. Maybe, it isn't a problem of the shell, but what is called remotely by ssh. Let's try to control this. Pls eval the following: --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") ("\"%l -i\""))) (tramp-async-args (("-q"))) (tramp-remote-shell ,tramp-default-remote-shell) (tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-c")))) --8<---------------cut here---------------end--------------->8--- This declares a new Tramp method "myssh", which is similar to "ssh", but calls the remote shell directly. Please open then --8<---------------cut here---------------start------------->8--- (find-file "/myssh:embe8573@polhem.it.uu.se:darn.txt") --8<---------------cut here---------------end--------------->8--- Do not use the default method "-" while we're testing. Best regards, Michael.