diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-05-13 18:39:32 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-05-24 07:33:01 -0400 |
commit | f6d3005069551f3ed5817078a095b868007bf12d (patch) | |
tree | 90861203a45535f38a8e81c570d4e38f0a6014ff /lisp/comint.el | |
parent | 8cdb9d9d24be0894ec3adc79f7f4af61e131850e (diff) | |
download | emacs-f6d3005069551f3ed5817078a095b868007bf12d.tar.gz |
Add "Enter Auth" prompt handling for OpenVPN (Bug#35724)
* lisp/comint.el (comint-password-prompt-regexp): Allow "Enter Auth"
at the beginning.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 3939371ab85..b6ed199327e 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -349,13 +349,14 @@ This variable is buffer-local." ;; Ubuntu's sudo prompts like `[sudo] password for user:' ;; Some implementations of passwd use "Password (again)" as the 2nd prompt. ;; Something called "perforce" uses "Enter password:". -;; See M-x comint-testsuite--test-comint-password-prompt-regexp. +;; OpenVPN prints a prompt like: "Enter Auth Password:". +;; See ert test `comint-test-password-regexp'. (defcustom comint-password-prompt-regexp (concat "\\(^ *\\|" (regexp-opt '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the" - "Old" "old" "New" "new" "'s" "login" + "Enter Auth" "enter auth" "Old" "old" "New" "new" "'s" "login" "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO" "[sudo]" "Repeat" "Bad" "Retype") t) |