From: Michael Albinus <michael.albinus@gmx.de>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 11065@debbugs.gnu.org
Subject: bug#11065: 24.0.94; Problem with tramp & plink
Date: Thu, 22 Mar 2012 17:28:42 +0100 [thread overview]
Message-ID: <87zkb8vbut.fsf@gmx.de> (raw)
In-Reply-To: <CAH8Pv0ibyFge=sA6DpOG3zy-j4ELRk6Npy_Ujs9Zpx-q-=97JQ@mail.gmail.com>
Dani Moncayo <dmoncayo@gmail.com> writes:
> Hello,
Hi Dani,
> From a cmd.exe console, I can login to a remote host using the command
> "plink my_host" and giving my credentials. However, the remote host
> returns strange characters just before the the prompt text:
>
> [Copyright messages and stuff...]
>
> You have mail.
> ←H ←H ←H ←H ←H ←H
> ←H ←H
> [/home/my_user]
The default shell prompt pattern in Tramp does not recognizes "[]"
templates. You might change it by
(setq tramp-shell-prompt-pattern
"\\(?:^\\|\\)[^#$%>\n]*#?[]#$%>] *\\(\\[[0-9;]*[a-zA-Z] *\\)*"
(Beware the ^M and ^[ characters)
> TIA.
Best regards, Michael.
next prev parent reply other threads:[~2012-03-22 16:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 10:54 bug#11065: 24.0.94; Problem with tramp & plink Dani Moncayo
2012-03-22 16:28 ` Michael Albinus [this message]
2012-03-22 16:41 ` Dani Moncayo
2012-03-22 19:41 ` Michael Albinus
2012-03-22 21:30 ` Lennart Borgman
2012-03-23 7:48 ` Michael Albinus
2012-03-23 12:36 ` Lennart Borgman
2012-03-23 12:33 ` Christoph Scholtes
2012-03-23 12:40 ` Dani Moncayo
2012-03-23 13:03 ` Dani Moncayo
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=87zkb8vbut.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=11065@debbugs.gnu.org \
--cc=dmoncayo@gmail.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).