From: Francesco Potortì Date: Mon, 28 Oct 2002 10:26:19 +0000 (+0000) Subject: (comint-password-prompt-regexp): Synch with main trunk. X-Git-Tag: emacs-pretest-21.2.93~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d01dad0c97f8337660226821b7473b8f32f0194e;p=emacs.git (comint-password-prompt-regexp): Synch with main trunk. --- diff --git a/lisp/comint.el b/lisp/comint.el index f28c675f089..710a0b8bdaf 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -314,9 +314,11 @@ This variable is buffer-local." ;; ssh-add prints a prompt like `Enter passphrase: '. ;; Some implementations of passwd use "Password (again)" as the 2nd prompt. (defcustom comint-password-prompt-regexp - "\\(\\([Oo]ld \\|[Nn]ew \\|Kerberos \\|'s \\|login \\|CVS \\|^\\)\ -[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\ -\\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'" + "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ +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'." :type 'regexp