From bc103d0011c559bd6e5667d1702223ee39660142 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 18 Sep 2005 20:01:57 +0000 Subject: [PATCH] * net/tramp.el (tramp-login-prompt-regexp): Expand regexp in order to cover prompts like "login as:". Reported by Slawomir Nowaczyk . --- lisp/ChangeLog | 6 ++++++ lisp/net/tramp.el | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7251572ee96..f5e4ae88c57 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2005-09-18 Michael Albinus + + * net/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 --git a/lisp/net/tramp.el b/lisp/net/tramp.el index b8b3fb9068a..9c832dd14f9 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -822,9 +822,11 @@ tilde expansion, all directory names starting with `~' will be ignored." :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) -- 2.39.5