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: Tue, 18 Aug 2020 10:59:40 +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,

>> Still the mysterious "ESC Z ESC" sequence in the
>> way. You haven't used the "sshx" method, as
>> indicated. Pls repeat the test.
>
> The shell says I don't have it (sshx). No luck in the
> Debian repos, either. Were do you get it?

Ahh, that's a misunderstanding. I meant the Tramp method "sshx", like in
"/sshx:embe8573@polhem.it.uu.se:". It uses the "-t -t" ssh arguments as
in your "myssh" method, I believe this is the crucial point to pass your
remote login. Anyway, you're using "myssh" now, which is OK.

>   Tramp: Found remote shell prompt on ‘polhem.it.uu.se’
>   Tramp: Opening connection for embe8573@polhem.it.uu.se using myssh...failed
>   tramp-file-name-handler: ‘tramp-histfile-override’ uses invalid file 
> ‘~/.tramp_history’

Let's analyze the traces at this point.

23:47:49.482582 tramp-send-command (6) # (cd ~/) 2>/dev/null; echo 
tramp_exit_status $?
23:47:49.489821 tramp-wait-for-regexp (6) #
tramp_exit_status 1
#$

OK, your remote shell cannot expand "~/". This is what Tramp checks here.

`tramp-histfile-override' is declared as "~/.tramp_history". Tramp
recognizes that it cannot work because of the tilde, and errs out.

Please give that variable another value, either an absolute file name,
or set it to nil. Rerun your test, still using Tramp's method "myssh"
(or "sshx", just to see whether it works).

Best regards, Michael.



reply via email to

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