[Top][All Lists]
[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: |
Michael Albinus |
Subject: |
Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh |
Date: |
Wed, 21 Feb 2007 14:33:58 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) |
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
Yes, it matches, but just until the first % sign. Apply (match-end 0)
afterwards, it returns 9.
> My fix, which you could put in the FAQ, is to just do:
>
> [ $TERM = "dumb" ] && setopt NO_zle && PS1=""
>
> which works.
OK, I'll update the FAQ tonight.
> Ted
Thanks, and best regards, Michael.
- tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Teodor Zlatanov, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh,
Michael Albinus <=
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21