changeset 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 5489609ae188
children 3fc5b25a4406
files lisp/ChangeLog lisp/net/tramp.el
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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  <michael.albinus@gmx.de>
+
+	* 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>.
+
 2005-09-18  Chong Yidong  <cyd@stupidchicken.com>
 
 	* image.el (image-load-path): Use symbol `data-directory' instead
--- 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)