diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-12-22 16:23:36 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-12-22 16:23:36 +0000 |
commit | 55a3770f705e4c21a8eef139eb0feec456917314 (patch) | |
tree | 336b05542c763928975f18376aab4322dcbec433 /lisp/comint.el | |
parent | f11e807991c5988c221bb6868a081b2c32d0d234 (diff) | |
download | emacs-55a3770f705e4c21a8eef139eb0feec456917314.tar.gz |
(comint-password-prompt-regexp): Match `Enter Password'.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index ed1f38bf1a1..047cc3b80fb 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\\)\ |