firenet <[email protected]> writes:

> Hi,all.

Hi,

> I have one question about tramp-shell-prompt-pattern. My tramp version is
> 2.1.18-pre, default value for tramp-shell-prompt-pattern is like this:
> \\(?:^\\| ^M\\)[^#$%>\n]*[#$%>] *\\(\e\\[[0-9;]*[a-zA-Z] *\\)*
> I don't understand here ^M is for what?
> It means one line start with M(one letter M) ?

It stands for Control-M, the newline under Windows. But it is also used
somewhere else, for example in zsh (IIRC).

> Thanks.

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to