tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system r


From: Ted Zlatanov
Subject: Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh
Date: Wed, 21 Feb 2007 08:52:38 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

On Wed, 21 Feb 2007 14:33:58 +0100 Michael Albinus <address@hidden> wrote: 

MA> Ted Zlatanov <address@hidden> writes:
>> It actually looks to me like the Tramp shell pattern by default does
>> match two % signs.  After experimenting, the shell pattern doesn't
>> match the actual prompt in the Tramp interaction, but matches the
>> string I see in the log:
>> 
>> (string-match tramp-shell-prompt-pattern 
>> "^[[1m^[[7m%^[[m^[[1m^[[mprod-perf-db01%")
-> 0

MA> Yes, it matches, but just until the first % sign. Apply (match-end 0)
MA> afterwards, it returns 9.

I see.  I didn't look at the code, just assumed that string-match is
all you care about.  Sorry.  Thanks for all your help.

Ted




reply via email to

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