Mercurial > emacs
comparison lisp/comint.el @ 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 | 00ced60fa6df |
children | 6c69a507d9bd |
comparison
equal
deleted
inserted
replaced
24718:547f54dfbb94 | 24719:a0382c9f41ce |
---|---|
277 :type 'boolean | 277 :type 'boolean |
278 :group 'comint) | 278 :group 'comint) |
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'." |
287 :type 'regexp | 289 :type 'regexp |
288 :group 'comint) | 290 :group 'comint) |