Commit 0d0d9424 authored by Glenn Morris's avatar Glenn Morris
Browse files

Fix bug#7224.

* lisp/comint.el (comint-password-prompt-regexp): Match "enter the password".
parent 88dbda51
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):
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment