1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

* comint.el (comint-password-prompt-regexp): Accept "Response" as

a password-like phrase.

This fixes the

[larsi@quimbies ~/]$ ssh root@quimby
Password: 
Response: 

case.
This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-01 01:11:36 +02:00
parent b09c3fe025
commit fd4983f28a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
* comint.el (comint-password-prompt-regexp): Accept "Response" as
a password-like phrase.
2011-06-30 Mastake YAMATO <yamato@redhat.com>
* progmodes/cc-guess.el: New file.

View File

@ -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.