From: Francesco Potortì Date: Fri, 12 Apr 2002 07:57:56 +0000 (+0000) Subject: (comint-password-prompt-regexp): Match" SMB password". X-Git-Tag: ttn-vms-21-2-B4~15662 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0eb1d62afbc3ea4f07830fbf3aa4f772153d985;p=emacs.git (comint-password-prompt-regexp): Match" SMB password". --- diff --git a/lisp/comint.el b/lisp/comint.el index c73ccfb3951..bea0c0b2f14 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -314,8 +314,9 @@ 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 \\|UNIX \\|^\\)\ -[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\ + "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ +Kerberos \\|CVS \\|UNIX \\| SMB \\|\ +^\\)[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\ \\( for [^:]+\\)?:\\s *\\'" "*Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'."