diff lisp/comint.el @ 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 1b4a8157f36c
children b9a9389714e1
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)