- ;; This produces a lot of false positives. The default is probably
- ;; better than when this was originally set, but we may have to
- ;; rediscover some knowledge.
- ;;'(comint-password-prompt-regexp "password\\|passphrase\\|Encryption")
+ ;; We had tried the following ca. 2012, but it produced a lot of
+ ;; false positives. We had to rediscover some knowledge below,
+ ;; retaining the (mostly general Unix) knowledge encapsulated in
+ ;; the Emacs default (which covers SSH, Kerberos, Samba, etc.).
+ ;;'(comint-password-prompt-regexp "password\\|passphrase\\|Encryption")
+ ,(concat "\\(" comint-password-prompt-regexp
+ "\\|^Enter the \\w+ password: " ; friend commander