From: Joel N. Weber II Date: Tue, 11 May 1999 22:32:52 +0000 (+0000) Subject: (comint-password-prompt-regexp): Modified to match the output of ksu X-Git-Tag: emacs-20.4~230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=163b46fa20142baafc49f5652c6f8b52cd78b882;p=emacs.git (comint-password-prompt-regexp): Modified to match the output of ksu and ssh-add. --- diff --git a/lisp/comint.el b/lisp/comint.el index bc4eec04892..750b6467779 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -279,8 +279,10 @@ This variable is buffer-local." ;; AIX puts the name of the person being su'd to in front of the prompt. ;; kinit prints a prompt like `Password for devnull@GNU.ORG: '. +;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '. +;; ssh-add prints a prompt like `Enter passphrase: '. (defcustom comint-password-prompt-regexp - "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\)\ + "\\(\\([Oo]ld \\|[Nn]ew \\|Kerberos \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\|Enter passphrase\\)\ \\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'" "*Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'."