# HG changeset patch # User Francesco Potort # Date 1018598276 0 # Node ID c60e04e0eb919c675d118d886b79c15fbe2a68aa # Parent 5de65e353d8d7027a60917f9e770bf28fa74abe6 (comint-password-prompt-regexp): Match" SMB password". diff -r 5de65e353d8d -r c60e04e0eb91 lisp/comint.el --- 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'."