On Wed, 21 Feb 2007 14:33:58 +0100 Michael Albinus <[EMAIL PROTECTED]> wrote:
MA> 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 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 _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
