Mercurial > emacs
diff lisp/net/tramp.el @ 65605:efa862a76bc2
* net/tramp.el (tramp-login-prompt-regexp): Expand regexp in order to
cover prompts like "login as:". Reported by Slawomir Nowaczyk
<slawomir.nowaczyk.847@student.lu.se>.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sun, 18 Sep 2005 19:58:39 +0000 |
parents | 71de05246686 |
children | 8c8e6f2eea3c fa0da9b57058 |
line wrap: on
line diff
--- a/lisp/net/tramp.el Sun Sep 18 16:30:27 2005 +0000 +++ b/lisp/net/tramp.el Sun Sep 18 19:58:39 2005 +0000 @@ -822,9 +822,11 @@ :type '(repeat string)) (defcustom tramp-login-prompt-regexp - ".*ogin: *" + ".*ogin\\( .*\\)?: *" "*Regexp matching login-like prompts. -The regexp should match at end of buffer." +The regexp should match at end of buffer. + +Sometimes the prompt is reported to look like \"login as:\"." :group 'tramp :type 'regexp)