diff options
author | Glenn Morris <[email protected]> | 2010-10-23 12:15:44 -0700 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2010-10-23 12:15:44 -0700 |
commit | 0d0d9424a23a1fd11c96b7aa5bba80c88758ddfa (patch) | |
tree | ffeead77a1ee10d1160772c713cf077e910c6b10 /lisp/comint.el | |
parent | 88dbda519d46ea8902e7f91a6d217387cfe5a2c0 (diff) |
Fix bug#7224.
* lisp/comint.el (comint-password-prompt-regexp): Match "enter the password".
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index d5d17357ed..bb43f47b37 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) |