diff options
| author | Joel N. Weber II | 1999-05-11 22:32:52 +0000 |
|---|---|---|
| committer | Joel N. Weber II | 1999-05-11 22:32:52 +0000 |
| commit | 163b46fa20142baafc49f5652c6f8b52cd78b882 (patch) | |
| tree | f1119916d38437d42ee8009ce099e81c5de1addd | |
| parent | ce6059daf36f47352d89a0bb146c8e8361c49d30 (diff) | |
| download | emacs-163b46fa20142baafc49f5652c6f8b52cd78b882.tar.gz emacs-163b46fa20142baafc49f5652c6f8b52cd78b882.zip | |
(comint-password-prompt-regexp): Modified to match the output of ksu
and ssh-add.
| -rw-r--r-- | lisp/comint.el | 4 |
1 files changed, 3 insertions, 1 deletions
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." | |||
| 279 | 279 | ||
| 280 | ;; AIX puts the name of the person being su'd to in front of the prompt. | 280 | ;; AIX puts the name of the person being su'd to in front of the prompt. |
| 281 | ;; kinit prints a prompt like `Password for devnull@GNU.ORG: '. | 281 | ;; kinit prints a prompt like `Password for devnull@GNU.ORG: '. |
| 282 | ;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '. | ||
| 283 | ;; ssh-add prints a prompt like `Enter passphrase: '. | ||
| 282 | (defcustom comint-password-prompt-regexp | 284 | (defcustom comint-password-prompt-regexp |
| 283 | "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\)\ | 285 | "\\(\\([Oo]ld \\|[Nn]ew \\|Kerberos \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\|Enter passphrase\\)\ |
| 284 | \\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'" | 286 | \\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'" |
| 285 | "*Regexp matching prompts for passwords in the inferior process. | 287 | "*Regexp matching prompts for passwords in the inferior process. |
| 286 | This is used by `comint-watch-for-password-prompt'." | 288 | This is used by `comint-watch-for-password-prompt'." |