Subject: bug#40051: 26.3; comint-password-prompt-regexp

From: Noam Postavsky <[email-masked]>
Date: Thu, 02 Apr 2020 20:44:45 -0400

Lutz Weber <[email-masked]> writes:

> In Emacs 26.3 in shell-mode with OpenBSD 6.6 with the doas command I am
> being asked for a password.  The password entered is not hidden.
>
> The workaround is to run this:
> (require 'comint)
> (setq comint-password-prompt-regexp
>       (concat comint-password-prompt-regexp
>               "\\|^.*doas.*password:\\s *\\'"))
>
> This might be added to the defaults.  Thank you.

Could you show what the prompt you receive looks like?