comparison lisp/comint.el @ 40003:066f92cdfebf

(comint-password-prompt-regexp): Make it less restrictive, letting comint recognise OpenSSH2 passphrase prompts.
author Francesco Potortì <pot@gnu.org>
date Wed, 17 Oct 2001 15:37:42 +0000 (2001-10-17)
parents 25d48943cd58
children 966dca4af18e
comparison
equal deleted inserted replaced
40002:1a9af1030414 40003:066f92cdfebf
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 \\|Kerberos \\|'s \\|login \\|CVS \\|^\\)\ 317 "\\(\\([Oo]ld \\|[Nn]ew \\|Kerberos \\|'s \\|login \\|CVS \\|^\\)\
318 [Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\ 318 [Pp]assword\\( (again)\\)?\\|pass phrase\\|Enter passphrase\\)\
319 \\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'" 319 \\( for [^:]+\\)?:\\s *\\'"
320 "*Regexp matching prompts for passwords in the inferior process. 320 "*Regexp matching prompts for passwords in the inferior process.
321 This is used by `comint-watch-for-password-prompt'." 321 This is used by `comint-watch-for-password-prompt'."
322 :type 'regexp 322 :type 'regexp
323 :group 'comint) 323 :group 'comint)
324 324