comparison lisp/comint.el @ 44646:075cd9bb6051

(comint-password-prompt-regexp): Match "Repeat passphrase".
author Francesco Potortì <pot@gnu.org>
date Wed, 17 Apr 2002 08:04:38 +0000
parents c60e04e0eb91
children 0dc61586b801
comparison
equal deleted inserted replaced
44645:b0f7bd506cdc 44646:075cd9bb6051
313 ;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '. 313 ;; ksu prints a prompt like `Kerberos password for devnull/root@GNU.ORG: '.
314 ;; ssh-add prints a prompt like `Enter passphrase: '. 314 ;; ssh-add prints a prompt like `Enter passphrase: '.
315 ;; Some implementations of passwd use "Password (again)" as the 2nd prompt. 315 ;; Some implementations of passwd use "Password (again)" as the 2nd prompt.
316 (defcustom comint-password-prompt-regexp 316 (defcustom comint-password-prompt-regexp
317 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\ 317 "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|\
318 Kerberos \\|CVS \\|UNIX \\| SMB \\|\ 318 Kerberos \\|CVS \\|UNIX \\| SMB \\|^\\)\
319 ^\\)[Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\ 319 [Pp]assword\\( (again)\\)?\\|\
320 pass phrase\\|\\(Enter\\|Repeat\\) passphrase\\)\
320 \\( for [^:]+\\)?:\\s *\\'" 321 \\( for [^:]+\\)?:\\s *\\'"
321 "*Regexp matching prompts for passwords in the inferior process. 322 "*Regexp matching prompts for passwords in the inferior process.
322 This is used by `comint-watch-for-password-prompt'." 323 This is used by `comint-watch-for-password-prompt'."
323 :type 'regexp 324 :type 'regexp
324 :group 'comint) 325 :group 'comint)