# HG changeset patch # User Michael Albinus # Date 1127073519 0 # Node ID efa862a76bc2f11aff47282d14c5bacb332051d0 # Parent 5489609ae188e44a9c62fbdc5eab0a8c86280866 * net/tramp.el (tramp-login-prompt-regexp): Expand regexp in order to cover prompts like "login as:". Reported by Slawomir Nowaczyk . diff -r 5489609ae188 -r efa862a76bc2 lisp/ChangeLog --- a/lisp/ChangeLog Sun Sep 18 16:30:27 2005 +0000 +++ b/lisp/ChangeLog Sun Sep 18 19:58:39 2005 +0000 @@ -1,3 +1,9 @@ +2005-09-18 Michael Albinus + + * tramp.el (tramp-login-prompt-regexp): Expand regexp in order to + cover prompts like "login as:". Reported by Slawomir Nowaczyk + . + 2005-09-18 Chong Yidong * image.el (image-load-path): Use symbol `data-directory' instead diff -r 5489609ae188 -r efa862a76bc2 lisp/net/tramp.el --- 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)