[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: double-prompt under Windows
From: |
Chris Stacy |
Subject: |
Re: double-prompt under Windows |
Date: |
Tue, 15 Jul 2008 15:13:59 -0400 |
On Tue, 15 Jul 2008 21:01:44 +0200, Michael Albinus <address@hidden> writes:
> Chris Stacy <address@hidden> writes:
>
> > GNU Emacs 22.2.1, Windows XP, TRAMP 2.0.57, Putty:
> >
> > Talking from Windows to Linux, I can't get past the "stty"
> > in the environment setup. This appears to be the double
> > prompt problem mentioned by Tony Foiani to Micheal Albinus
> > about two years ago (17-Aug-2006). I think there were
> > some suggestions and maybe even patches that were relevent.
> > Has anyone solved or worked around this problem?
>
> The Changelog says that the double prompt problem shall be solved with
> Tramp 2.0.57...
>
> Could you, please, enable tracing, and show the result of the debug buffer?
Sure (thanks!)
*debug tramp/plink
==========================================================================================
# Opening connection for address@hidden using plink...
# plink example.com -l exampleuser -ssh
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
[...]
# Found remote shell prompt.
# Initializing remote shell
# Sending command to remote shell: unset HISTORY
$ unset HISTORY
unset HISTORY
-sh-3.1$
-sh-3.1$
# Sending command to remote shell: unset correct
$ unset correct
unset correct
-sh-3.1$
-sh-3.1$
# Sending command to remote shell: unset autocorrect
$ unset autocorrect
unset autocorrect
-sh-3.1$
-sh-3.1$ $ exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh
# Waiting 30s for remote `/bin/sh' to come up...
exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh
$
$ exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh
$
$
# Setting up remote shell environment
$ echo hello_there
echo hello_there
hello_there
$
$ $ stty -inlcr -echo kill '^U'
echo hello_there
hello_there
$
$ stty -inlcr -echo kill '^U'
$ $ [[Regexp `\(^[^#$%>
]*[#$%>] *\|^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 30 secs]]
==========================================================================================
- double-prompt under Windows, Chris Stacy, 2008/07/15
- Re: double-prompt under Windows, Michael Albinus, 2008/07/15
- Re: double-prompt under Windows,
Chris Stacy <=
- Re: double-prompt under Windows, Chris Stacy, 2008/07/15
- Re: double-prompt under Windows, Michael Albinus, 2008/07/15
- Re: double-prompt under Windows, Chris Stacy, 2008/07/15
- Re: double-prompt under Windows, Michael Albinus, 2008/07/15
- Re: double-prompt under Windows, Christopher C . Stacy, 2008/07/17
- Re: double-prompt under Windows, Christopher C . Stacy, 2008/07/17
- Re: double-prompt under Windows, Michael Albinus, 2008/07/23
- Re: double-prompt under Windows, Chris Stacy, 2008/07/15
- Re: double-prompt under Windows, Michael Albinus, 2008/07/15
- Re: double-prompt under Windows, Chris Stacy, 2008/07/15