From 0d0d9424a23a1fd11c96b7aa5bba80c88758ddfa Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 23 Oct 2010 12:15:44 -0700 Subject: [PATCH] Fix bug#7224. * lisp/comint.el (comint-password-prompt-regexp): Match "enter the password". --- lisp/ChangeLog | 5 +++++ lisp/comint.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a09514c658b..c5e4ab903ad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-10-23 Glenn Morris + + * comint.el (comint-password-prompt-regexp): Match + "enter the password". (Bug#7224) + 2010-10-22 Juanma Barranquero * progmodes/dcl-mode.el (dcl-electric-reindent-regexps): diff --git a/lisp/comint.el b/lisp/comint.el index d5d17357ed1..bb43f47b377 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -340,13 +340,14 @@ This variable is buffer-local." ;; Some implementations of passwd use "Password (again)" as the 2nd prompt. ;; Something called "perforce" uses "Enter password:". (defcustom comint-password-prompt-regexp - "\\(\\(Enter \\|[Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ + "\\(\\([Ee]nter \\(?:same \\|the \\)?\\|[Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\ \[Pp]assword\\( (again)\\)?\\|\ pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\ \\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'" "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." + :version "23.3" :type 'regexp :group 'comint) -- 2.39.2