Chris Stacy <[EMAIL PROTECTED]> writes:

> On Tue, 15 Jul 2008 21:35:04 +0200, Michael Albinus <[EMAIL PROTECTED]> 
> 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.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to