From 55a3770f705e4c21a8eef139eb0feec456917314 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 22 Dec 2007 16:23:36 +0000 Subject: [PATCH] (comint-password-prompt-regexp): Match `Enter Password'. --- lisp/ChangeLog | 7 +++++-- lisp/comint.el | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8e474a7f0b..fb6fbe1da2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-12-22 Richard Stallman + + * comint.el (comint-password-prompt-regexp): Match `Enter Password'. + 2007-12-21 Jason Rumney * find-dired.el (find-name-arg): New custom variable. @@ -15,8 +19,7 @@ 2007-12-19 Martin Rudalics - * cus-start.el (all): Use correct group name for members of - mode-line group. + * cus-start.el: Use correct group name for members of mode-line group. 2007-12-17 Thien-Thi Nguyen diff --git a/lisp/comint.el b/lisp/comint.el index ed1f38bf1a..047cc3b80f 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -336,8 +336,9 @@ This variable is buffer-local." ;; 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\\)\ -- 2.20.1