# HG changeset patch # User Glenn Morris # Date 1287861344 25200 # Node ID b3c93f0bd2ff26d57e2dbfb521b5378445e6e1bf # Parent d3f1a017887649eafa36f1dc9da29cae0ac53437 Fix bug#7224. * lisp/comint.el (comint-password-prompt-regexp): Match "enter the password". diff -r d3f1a0178876 -r b3c93f0bd2ff lisp/ChangeLog --- a/lisp/ChangeLog Sat Oct 23 01:38:34 2010 +0200 +++ b/lisp/ChangeLog Sat Oct 23 12:15:44 2010 -0700 @@ -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 -r d3f1a0178876 -r b3c93f0bd2ff lisp/comint.el --- a/lisp/comint.el Sat Oct 23 01:38:34 2010 +0200 +++ b/lisp/comint.el Sat Oct 23 12:15:44 2010 -0700 @@ -340,13 +340,14 @@ ;; 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)