help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp prompt (?) issue


From: Michael Albinus
Subject: Re: Tramp prompt (?) issue
Date: Wed, 29 Jul 2020 20:18:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> 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:

--8<---------------cut here---------------start------------->8---
18:31:22.517331 tramp-send-command (6) # exec ssh -l embe8573  -o 
ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none 
polhem.it.uu.se
18:31:29.116423 tramp-accept-process-output (10) # *tramp/ssh 
embe8573@polhem.it.uu.se* run nil

Last login: Wed Jul 29 05:43:23 2020 from c-fd84225c.021-
Z
--8<---------------cut here---------------end--------------->8---

There is no recognizable prompt, but just "Z".

ssh-incal-at-srv-dataswamp-org:

--8<---------------cut here---------------start------------->8---
18:31:31.106181 tramp-send-command (6) # exec ssh -l incal  -o 
ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none 
srv.dataswamp.org
18:31:35.379880 tramp-accept-process-output (10) # *tramp/ssh 
incal@srv.dataswamp.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
%                                                                               
 [44m[37mswamp[39m[49m [32m~[39m [?2004h
--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

--8<---------------cut here---------------start------------->8---
[[ $TERM == "dumb" ]] && PS1='$ '
--8<---------------cut here---------------end--------------->8---

in the remote shell init file.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]