[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I have one question about tramp-shell-prompt-pattern
From: |
Michael Albinus |
Subject: |
Re: I have one question about tramp-shell-prompt-pattern |
Date: |
Sun, 22 Nov 2009 10:35:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
firenet <address@hidden> 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.