GNU bug report logs -
#11065
24.0.94; Problem with tramp & plink
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Thu, 22 Mar 2012 11:27:02 UTC
Severity: normal
Tags: notabug
Found in version 24.0.94
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lennart Borgman <lennart.borgman <at> gmail.com> writes:
Hi Lennart,
> Just a thought: Is not plink the "standard" way to communicate this
> way with Emacs on w32?
The problem is not related to plink. It can happen for every Tramp
connection using a remote shell, and the remote shell's prompt is
composed by "[]".
> Should perhaps this solution be documented somewhere?
Customizing `tramp-shell-prompt-pattern' is documented in the Tramp manual.
> (Or even implemented as a choice on w32?)
`tramp-shell-prompt-pattern' is derived from `shell-prompt-pattern'.
Both do not support "[]" style prompts, because shell script fragments like
if [ -n "$FOO" ]
would be treated as prompt. OTOH, Tramp redefines the prompt immediately
after connection, so it might be safe to add this prompt style (as I
have recommended to Dani).
I will check the Tramp sources, whether there are other potential
conflicts. If there is no obvious problem, I'll extend
`tramp-shell-prompt-pattern' in the trunk such a way, once it has been
reopened for 24.2. Let's see, whether somebody rants about.
Best regards, Michael.
This bug report was last modified 13 years and 120 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.