aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2002-04-12 07:57:56 +0000
committerFrancesco Potortì2002-04-12 07:57:56 +0000
commitc0eb1d62afbc3ea4f07830fbf3aa4f772153d985 (patch)
tree7ca27b7169c0872f9e6829af775b9341fe327953
parente58376004f3ebfc4eacfe23c0c966445030b4186 (diff)
downloademacs-c0eb1d62afbc3ea4f07830fbf3aa4f772153d985.tar.gz
emacs-c0eb1d62afbc3ea4f07830fbf3aa4f772153d985.zip
(comint-password-prompt-regexp): Match" SMB password".
-rw-r--r--lisp/comint.el5
1 files 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."
314;; ssh-add prints a prompt like `Enter passphrase: '. 314;; ssh-add prints a prompt like `Enter passphrase: '.
315;; Some implementations of passwd use "Password (again)" as the 2nd prompt. 315;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
316(defcustom comint-password-prompt-regexp 316(defcustom comint-password-prompt-regexp
317 "\\(\\([Oo]ld \\|[Nn]ew \\|Kerberos \\|'s \\|login \\|CVS \\|UNIX \\|^\\)\ 317 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
318[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\ 318Kerberos \\|CVS \\|UNIX \\| SMB \\|\
319^\\)[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\
319\\( for [^:]+\\)?:\\s *\\'" 320\\( for [^:]+\\)?:\\s *\\'"
320 "*Regexp matching prompts for passwords in the inferior process. 321 "*Regexp matching prompts for passwords in the inferior process.
321This is used by `comint-watch-for-password-prompt'." 322This is used by `comint-watch-for-password-prompt'."