changeset 79591:c5f06cb9fa56

(comint-password-prompt-regexp): Match `Enter Password'.
author Richard M. Stallman <rms@gnu.org>
date Sat, 22 Dec 2007 16:22:33 +0000
parents cc015ff27fe4
children 3af3c65f8430
files lisp/comint.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Fri Dec 21 10:41:17 2007 +0000
+++ b/lisp/comint.el	Sat Dec 22 16:22:33 2007 +0000
@@ -336,8 +336,9 @@
 ;; plink prints a prompt like `Passphrase for key "root@GNU.ORG": '.
 ;; Ubuntu's sudo prompts like `[sudo] password for user:'
 ;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
+;; Something called "perforce" uses "Enter password:".
 (defcustom comint-password-prompt-regexp
-  "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
+  "\\(\\(Enter \\|[Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
 Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)\
 \[Pp]assword\\( (again)\\)?\\|\
 pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\