unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp prompt (?) issue
Date: Tue, 18 Aug 2020 10:59:40 +0200	[thread overview]
Message-ID: <87sgckjpmr.fsf@gmx.de> (raw)
In-Reply-To: <87d03px7nx.fsf@ebih.ebihd> (Emanuel Berg via Users list for the's message of "Mon, 17 Aug 2020 23:51:46 +0200")

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.



  parent reply	other threads:[~2020-08-18  8:59 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  0:22 Tramp prompt (?) issue Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-29  9:22 ` Michael Albinus
2020-07-29 16:38   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-29 18:18     ` Michael Albinus
2020-07-29 20:23       ` Tim Visher
2020-07-29 22:00       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-29 22:23         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-30  9:51           ` Michael Albinus
2020-07-30 11:54             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-30 18:18               ` Michael Albinus
2020-07-31 19:57                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-31 21:46                   ` 2QdxY4RzWzUUiLuE
2020-07-31 22:20                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-01  9:36                   ` Michael Albinus
2020-08-01  9:50                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-01 10:02                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-01 18:23                         ` Michael Albinus
2020-08-02 17:23                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-03  9:11                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-03 14:15                               ` Michael Albinus
2020-08-03 16:15                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-03 19:09                                   ` Michael Albinus
2020-08-03 20:37                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-04  6:59                                       ` Michael Albinus
2020-08-17  1:00                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-17 11:28                                           ` Michael Albinus
2020-08-17 21:51                                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18  8:18                                               ` tomas
2020-08-18 10:37                                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 14:06                                                   ` tomas
2020-08-18 16:49                                                     ` Michael Albinus
2020-08-18 17:04                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 17:05                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 17:46                                                         ` Michael Albinus
2020-08-18  8:59                                               ` Michael Albinus [this message]
2020-08-18 17:12                                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 17:49                                                   ` Michael Albinus
2020-09-03  3:02                                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-03  3:08                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-03  3:14                                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-07 19:43                                                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-12 18:01                                                             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgckjpmr.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).