Ted Zlatanov <[EMAIL PROTECTED]> 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-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
