aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/comint.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 623eef17327..f1d9243cc60 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -334,10 +334,11 @@ This variable is buffer-local."
334;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '. 334;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '.
335;; ssh-add prints a prompt like `Enter passphrase: '. 335;; ssh-add prints a prompt like `Enter passphrase: '.
336;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '. 336;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
337;; Ubuntu's sudo prompts like `[sudo] password for user:'
337;; Some implementations of passwd use "Password (again)" as the 2nd prompt. 338;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
338(defcustom comint-password-prompt-regexp 339(defcustom comint-password-prompt-regexp
339 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ 340 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
340Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|^\\)\ 341Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\
341\[Pp]assword\\( (again)\\)?\\|\ 342\[Pp]assword\\( (again)\\)?\\|\
342pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\ 343pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\
343\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'" 344\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'"