changeset 24700:00ced60fa6df

(comint-password-prompt-regexp): Fix last change to be more specific.
author Karl Heuer <kwzh@gnu.org>
date Sun, 09 May 1999 00:44:50 +0000
parents 1ce8c890309e
children 04e6bb1f69e1
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Fri May 07 09:42:50 1999 +0000
+++ b/lisp/comint.el	Sun May 09 00:44:50 1999 +0000
@@ -280,7 +280,8 @@
 ;; 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: '.
 (defcustom comint-password-prompt-regexp
-  "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\).*:\\s *\\'"
+  "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\)\
+\\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'"
   "*Regexp matching prompts for passwords in the inferior process.
 This is used by `comint-watch-for-password-prompt'."
   :type 'regexp