From: Luca Ferrari <fluca1978@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: help setting TRAMP prompt pattern
Date: Thu, 8 Feb 2024 14:14:43 +0100 [thread overview]
Message-ID: <CAKoxK+6JLfBW8MBUf9rJcwRcrsC-dFoO1nGWzd81DiMjm0N96Q@mail.gmail.com> (raw)
Hi all,
again, I'm fighting against TRAMP and a remote host having zsh. If, on
the same machine, TRAMP connects to a Bash shell everything works as
expected, however if connecting to a zsh prompt it hangs.
Bash prompt:
[luca@rachel ~]$ echo $PS1
[\u@\h \W]\$
Zsh prompt
[luca@rachel]~% echo $PROMPT
[%n@%m]%~%#
Tramp tramp-shell-prompt-pattern
"\\(?:^\\|
\\)[^]#$%>
]*#?[]#$%>] *\\( \\[[[:digit:];]*[[:alpha:]] *\\)*"
Emacs version 28.2, Tramp version 2.5.3.28.2.
How can I get the prompt sequence to adjust the pattern?
Thanks,
Luca
E
next reply other threads:[~2024-02-08 13:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-08 13:14 Luca Ferrari [this message]
2024-02-08 15:01 ` help setting TRAMP prompt pattern Michael Albinus
2024-02-08 16:52 ` Luca Ferrari
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=CAKoxK+6JLfBW8MBUf9rJcwRcrsC-dFoO1nGWzd81DiMjm0N96Q@mail.gmail.com \
--to=fluca1978@gmail.com \
--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).