changeset 40003:066f92cdfebf

(comint-password-prompt-regexp): Make it less restrictive, letting comint recognise OpenSSH2 passphrase prompts.
author Francesco Potortì <pot@gnu.org>
date Wed, 17 Oct 2001 15:37:42 +0000
parents 1a9af1030414
children 0110d7aabac2
files lisp/comint.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Wed Oct 17 15:29:12 2001 +0000
+++ b/lisp/comint.el	Wed Oct 17 15:37:42 2001 +0000
@@ -316,7 +316,7 @@
 (defcustom comint-password-prompt-regexp
   "\\(\\([Oo]ld \\|[Nn]ew \\|Kerberos \\|'s \\|login \\|CVS \\|^\\)\
 [Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\
-\\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'"
+\\( for [^:]+\\)?:\\s *\\'"
   "*Regexp matching prompts for passwords in the inferior process.
 This is used by `comint-watch-for-password-prompt'."
   :type 'regexp