1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(comint-password-prompt-regexp): Match "Repeat passphrase".

This commit is contained in:
Francesco Potortì 2002-04-17 08:04:38 +00:00
parent e190a59bac
commit c759aa1887

View file

@ -315,8 +315,9 @@ This variable is buffer-local."
;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
(defcustom comint-password-prompt-regexp
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
Kerberos \\|CVS \\|UNIX \\| SMB \\|\
^\\)[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\
Kerberos \\|CVS \\|UNIX \\| SMB \\|^\\)\
[Pp]assword\\( (again)\\)?\\|\
pass phrase\\|\\(Enter\\|Repeat\\) passphrase\\)\
\\( for [^:]+\\)?:\\s *\\'"
"*Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."