From: Lars Magne Ingebrigtsen Date: Thu, 30 Jun 2011 23:11:36 +0000 (+0200) Subject: * comint.el (comint-password-prompt-regexp): Accept "Response" as X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~305 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd4983f28a6bb3c75952a9b3fc00705f74bfd94e;p=emacs.git * comint.el (comint-password-prompt-regexp): Accept "Response" as a password-like phrase. This fixes the [larsi@quimbies ~/]$ ssh root@quimby Password: Response: case. --- 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.