aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorFrancesco Potortì <[email protected]>2002-04-17 08:04:38 +0000
committerFrancesco Potortì <[email protected]>2002-04-17 08:04:38 +0000
commitc759aa188706ca2f442b5e6a972547d87e5e7a11 (patch)
tree7c54965d8de0ac5a44ca48f450fedb583d053029 /lisp
parente190a59baca4fd78b6b44db67a99599d0950a334 (diff)
(comint-password-prompt-regexp): Match "Repeat passphrase".
Diffstat (limited to 'lisp')
-rw-r--r--lisp/comint.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index bea0c0b2f1..c47baba365 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -315,8 +315,9 @@ This variable is buffer-local."
;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
(defcustom comint-password-prompt-regexp
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
-Kerberos \\|CVS \\|UNIX \\| SMB \\|\
-^\\)[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\
+Kerberos \\|CVS \\|UNIX \\| SMB \\|^\\)\
+[Pp]assword\\( (again)\\)?\\|\
+pass phrase\\|\\(Enter\\|Repeat\\) passphrase\\)\
\\( for [^:]+\\)?:\\s *\\'"
"*Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."