From c0eb1d62afbc3ea4f07830fbf3aa4f772153d985 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Francesco=20Potort=C3=AC?= Date: Fri, 12 Apr 2002 07:57:56 +0000 Subject: [PATCH] (comint-password-prompt-regexp): Match" SMB password". --- lisp/comint.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'." -- 2.39.2