[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double-prompt under Windows

From: Michael Albinus
Subject: Re: double-prompt under Windows
Date: Tue, 15 Jul 2008 22:30:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Chris Stacy <address@hidden> writes:

> On Tue, 15 Jul 2008 21:35:04 +0200, Michael Albinus <address@hidden> writes:
>  > > $ stty -inlcr -echo kill '^U'
>  > > stty -inlcr -echo kill '^U'
>  > > $ $ [[Regexp `\(^[^#$%>
>  > > ]*[#$%>] *\|^[^#$%>
>  > > ]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 30 secs]]
>  > 
>  > Could you, please, change this command in tramp.el, that it doesnt send
>  > the "-inlcr"? It shall be just "stty -echo kill '^U'".
> Nope; same results.

OK, then please keep it.

The point is, that "stty -echo" is needed to understand sent commands
and their replies. An echoed command would make the job harder for Tramp.

OTOH, because there is no echo anymore, there is also no newline between
sent commands. If you have commands with no reply, you could get the
"double prompt", if you don't accept every prompt after every command.

Hmm, there is also a kind of "self-curing" command. Could you, please, apply

  (setq tramp-discard-garbage t)

before opening the remote connection?

>  > I don't run w32 machines, so I cannot test myself).
> I am more than happy to test; thanks!

Thanks; it is always a problem for me to test on that system.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]