emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comint-password-prompt-regexp in comint.el


From: Ota, Takaaki
Subject: comint-password-prompt-regexp in comint.el
Date: Thu, 16 May 2013 15:01:50 -0700

Would you consider the attached modification to cover the next case?
Thank you.

address@hidden:~/ri$ git clone https://address@hidden/ruihri/TrackTest.git
Cloning into 'TrackTest'...
Password for 'https://address@hidden': 

remote: Counting objects: 12, done.        
remote: Compressing objects: 100% (11/11), done.        
remote: Total 12 (delta 2), reused 0 (delta 0)        
Unpacking objects: 100% (12/12), done.

-Tak
*** comint.el   2013-05-16 14:54:43.632331049 -0700
--- comint.el.mod       2013-05-16 14:53:37.608329808 -0700
***************
*** 349,355 ****
     (regexp-opt
      '("password" "Password" "passphrase" "Passphrase"
        "pass phrase" "Pass phrase" "Response"))
!    "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\
  \\(?: for [^:]+\\)?:\\s *\\'")
    "Regexp matching prompts for passwords in the inferior process.
  This is used by `comint-watch-for-password-prompt'."
--- 349,355 ----
     (regexp-opt
      '("password" "Password" "passphrase" "Passphrase"
        "pass phrase" "Pass phrase" "Response"))
!    "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\| for 
'.*'\\)?\
  \\(?: for [^:]+\\)?:\\s *\\'")
    "Regexp matching prompts for passwords in the inferior process.
  This is used by `comint-watch-for-password-prompt'."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]