changeset 8400:cc016ca78c9e

(comint-password-prompt-regexp): Handle PGP prompt.
author Richard M. Stallman <rms@gnu.org>
date Sun, 31 Jul 1994 20:47:15 +0000
parents a7b53d786b21
children 1eee41c8120c
files lisp/comint.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Sun Jul 31 20:08:53 1994 +0000
+++ b/lisp/comint.el	Sun Jul 31 20:47:15 1994 +0000
@@ -219,9 +219,10 @@
 
 This variable is buffer-local.")
 
-(defvar comint-password-prompt-regexp "\\b[Pp]assword:\\s *\\'"
+(defvar comint-password-prompt-regexp
+  "\\(^[Pp]assword\\|pass phrase\\):\\s *\\'"
   "*Regexp matching prompts for passwords in the inferior process.
-This is used by comint-watch-for-password-prompt.")
+This is used by `comint-watch-for-password-prompt'.")
 
 ;;; Here are the per-interpreter hooks.
 (defvar comint-get-old-input (function comint-get-old-input-default)