changeset 44531:c60e04e0eb91

(comint-password-prompt-regexp): Match" SMB password".
author Francesco Potortì <pot@gnu.org>
date Fri, 12 Apr 2002 07:57:56 +0000
parents 5de65e353d8d
children b94ae378e07c
files lisp/comint.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Fri Apr 12 07:57:40 2002 +0000
+++ b/lisp/comint.el	Fri Apr 12 07:57:56 2002 +0000
@@ -314,8 +314,9 @@
 ;; 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'."