Mercurial > emacs
changeset 24719:a0382c9f41ce
(comint-password-prompt-regexp): Modified to match the output of ksu
and ssh-add.
author | Joel N. Weber II <devnull@gnu.org> |
---|---|
date | Tue, 11 May 1999 22:32:52 +0000 |
parents | 547f54dfbb94 |
children | 71c05fbebaba |
files | lisp/comint.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/comint.el Tue May 11 13:38:10 1999 +0000 +++ b/lisp/comint.el Tue May 11 22:32:52 1999 +0000 @@ -279,8 +279,10 @@ ;; 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'."