emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp over su, with odd zsh prompt


From: Michael Albinus
Subject: Re: Tramp over su, with odd zsh prompt
Date: Tue, 30 May 2006 18:16:20 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux)

Stefan Monnier <address@hidden> writes:

>> PPS: I'll give it a short note in the Tramp manual.
>
> Could Tramp reasonably look for a prompt after ^M rather than only after ^J ?

Maybe. OTOH, Tramp makes some tests in order to determine the coding
system / eol conversion to be used. When it finds ^M in the output
stream, it might decide the wrong way. Remember, we are speaking about
su on a GNU/Debian Linux machine ...

Anyway, the implementation in Tramp for this decision is voodoo.
Comment in tramp.el (not from me): "this can't be the right way to do
it." I've planned already to revise this check; maybe there is a
better solution also for ^M.

>         Stefan

Best regards, Michael.





reply via email to

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