From fd4983f28a6bb3c75952a9b3fc00705f74bfd94e Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Fri, 1 Jul 2011 01:11:36 +0200 Subject: [PATCH] * comint.el (comint-password-prompt-regexp): Accept "Response" as a password-like phrase. This fixes the [larsi@quimbies ~/]$ ssh root@quimby Password: Response: case. --- lisp/ChangeLog | 5 +++++ lisp/comint.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b0597cb337..67bf02c4c83 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-06-30 Lars Magne Ingebrigtsen + + * comint.el (comint-password-prompt-regexp): Accept "Response" as + a password-like phrase. + 2011-06-30 Mastake YAMATO * progmodes/cc-guess.el: New file. diff --git a/lisp/comint.el b/lisp/comint.el index 5548d19ad30..2349fc0edd9 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -347,7 +347,7 @@ This variable is buffer-local." " +\\)" (regexp-opt '("password" "Password" "passphrase" "Passphrase" - "pass phrase" "Pass phrase")) + "pass phrase" "Pass phrase" "Response")) "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\ \\(?: for [^:]+\\)?:\\s *\\'") "Regexp matching prompts for passwords in the inferior process. -- 2.39.2