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: Wed, 29 Jul 2020 20:18:09 +0200 Message-ID: <87bljydw2m.fsf@gmx.de> References: <87bljz5fvl.fsf@ebih.ebihd> <87r1su4qwj.fsf@gmx.de> <87bljy1dlf.fsf@ebih.ebihd> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37879"; 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 Wed Jul 29 20:19:51 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 1k0qgB-0009iN-3y for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 20:19:51 +0200 Original-Received: from localhost ([::1]:42992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0qg9-0008Q1-TI for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 14:19:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0qee-0008Pf-1W for help-gnu-emacs@gnu.org; Wed, 29 Jul 2020 14:18:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:44879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0qea-0003BK-Ua for help-gnu-emacs@gnu.org; Wed, 29 Jul 2020 14:18:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1596046690; bh=es9123UHRpF4RA0VCkrm3VXA73fYYZyJ4TzWyr3vZ1A=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=idKBTyO/g7mPIH2fSv59CFkGGb4ZN0q67KULb27MiBb0Lyzv8Ybnp8rFqmeNaHqWh hOHmPP2wLcBTfJ/2xxYcgV+O78WPHmSqzVozqodY603h1zP8yvJDbPGanp2Ecka9+Q JKjQg2Y4c+7JmZ8jULh7pwt68DksV3OnuASZRguc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.42.3]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Ma20q-1kF9yY1F12-00Vx5c for ; Wed, 29 Jul 2020 20:18:10 +0200 In-Reply-To: <87bljy1dlf.fsf@ebih.ebihd> (Emanuel Berg via Users list for the's message of "Wed, 29 Jul 2020 18:38:04 +0200") X-Provags-ID: V03:K1:ku04c4gFz+gwBC1BKgv0tkFSzfCbHIC5mBjEjz7HdJPlaWpkTCy qG5NHPHLwer852sKnqPRxXZB6F6szDUvxk0NfBWYb6TvZ3YYIiKQcKupYEzqtAbkDrORtSV O0nKLc8XPqUZw90bDqHYmmfKfDag4u04fNM4B4BHokY2HOB65UhDKnFrUS28LDeF6xznZVU Tlo5/bjjXrGk4K2dIdNGA== X-UI-Out-Filterresults: notjunk:1;V03:K0:ge/5/0sfrbk=:FBK5lduDNe9pkbwhEN2Q2b hYVL8qmvTF2KoyWlT0DvMei0VFpPZnDH7mB+ZrgFTC2OuI3t5Uq2W0/xjR4igu7mAGtU0ycNE sdcYfAzZJpMjyg951b82H/CrRGaTUJzibPDk36OAtbsuk2cnc82JQMP+hJN7/nxWp6tODHCqe Eik74IDRjM37Q/vEIP3i8Ly1E1IdmDdZoY4aFbVd95wO1ClbYYy8RcFJQuNcfA7+Ri8QRlQK8 OokBTcRdkqLKjXA5FXPyIW5uDw/jnY4kBb9QXI6RsjpNiMwDWbNpGYjcwoWOGB9eGBmarQiW9 6QP8+zz0HXqvfzIMiGf5aFwxG72XnCVJqI5vOxEN62+C1cZNVjBnVhuE2RqXMLFlQD++QVpbP pXYPc8ETbYCIvxLIf+Xlyn0cFx0E9YqheSrGP7bOsB7tLTHLESJOpFn2I1+bSecWzakL/z7+O 6QTUgwwe3lu4gdDW59GKlFKr4+p8RIB1fCMz2BlLn5qeAdpMyLkYMCkcQ4opfnEJDqJvk5XmS He9zPrORMOqW8y/jemFAv39zbuQdZf7bjcyYKtEGlcYCaXlk6Z3d458bNawAZYyN2HgcbAHIO YcXMTAqYdL5BcVzO6AU0ijaC2Xgc2SyxqaaLocSvpXbQcMpsUANGGu4tWoMMBE4Tm9KK8oSfI rQnDPknS3w4A9wLEnT612xXwtg0V4RQ++zSyEdev6eCV6K6T8Ua+FKC4V28uGQqrDu09MUJ7O +rW+DQMMRJqvpJmu4+r32ltyaWb9O4T9Jp/qiRvCx7V67m50tyA3ajhbI3l9xkPk32QCQbru Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/29 14:18:10 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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:123600 Archived-At: Emanuel Berg via Users list for the GNU Emacs text editor writes: Hi Emanuel, >> This shall result in Tramp debug buffer(s). >> Please send them to me, for analysis. Since the >> buffer(s) might be large, you could send them >> off-list. > > https://dataswamp.org/~incal/tramp-debug/ Thanks. This is what the traces tell: debug-tramp-ssh-embe8573-at-polhem-it-uu-se: =2D-8<---------------cut here---------------start------------->8--- 18:31:22.517331 tramp-send-command (6) # exec ssh -l embe8573 -o ControlM= aster=3Dauto -o ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none po= lhem.it.uu.se 18:31:29.116423 tramp-accept-process-output (10) # *tramp/ssh embe8573@pol= hem.it.uu.se* run nil Last login: Wed Jul 29 05:43:23 2020 from c-fd84225c.021- Z =2D-8<---------------cut here---------------end--------------->8--- There is no recognizable prompt, but just "Z". ssh-incal-at-srv-dataswamp-org: =2D-8<---------------cut here---------------start------------->8--- 18:31:31.106181 tramp-send-command (6) # exec ssh -l incal -o ControlMast= er=3Dauto -o ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none srv.d= ataswamp.org 18:31:35.379880 tramp-accept-process-output (10) # *tramp/ssh incal@srv.da= taswamp.org* run nil Last login: Wed Jul 29 00:18:25 2020 from 92.34.132.253 OpenBSD 6.7 (GENERIC) #2: Thu Jun 4 09:29:37 MDT 2020 Welcome to OpenBSD: The proactively secure Unix-like operating system. _ _ __| | __ _| |_ __ _ _____ ____ _ _ __ ___ _ __ ___ _ __ __ _ / _` |/ _` | __/ _` / __\ \ /\ / / _` | '_ ` _ \| '_ \ / _ \| '__/ _` | | (_| | (_| | || (_| \__ \\ V V / (_| | | | | | | |_) | (_) | | | (_| | \__,_|\__,_|\__\__,_|___/ \_/\_/ \__,_|_| |_| |_| .__(_)___/|_| \__, | |_| |___/ If you're not paranoid on the Internet, you're in trouble. -- Michael W. Lucas, "Absolute OpenBSD" For help type 'man 7 dataswamp'. 2020-07-05: OS upgraded to OpenBSD 6.7 % = =0D [44m[37mswamp[39m[49m [32m~[39m [?2004h =2D-8<---------------cut here---------------end--------------->8--- Again, the same. No recognizable prompt. Could you pls follow the recommendation of the Tramp manual how to provide a proper prompt on the remote shell? Something like =2D-8<---------------cut here---------------start------------->8--- [[ $TERM =3D=3D "dumb" ]] && PS1=3D'$ ' =2D-8<---------------cut here---------------end--------------->8--- in the remote shell init file. Best regards, Michael.