GNU bug report logs -
#51666
28.0.60; comint-password-prompt-regexp too restrictive (again)
Previous Next
Reported by: Stephen Berman <stephen.berman <at> gmx.net>
Date: Sun, 7 Nov 2021 16:33:01 UTC
Severity: normal
Found in version 28.0.60
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 51666 <at> debbugs.gnu.org (full text, mbox):
On Sun, 07 Nov 2021 21:33:33 +0100 Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> Stephen Berman <stephen.berman <at> gmx.net> writes:
>
>> On one of my systems, when using ssh in shell-mode (M-x shell), the
>> password prompt does not appear in the minibuffer but only in the
>> *shell* buffer directly under the ssh invocation, and the password is
>> not hidden when it's entered. The password prompt has this form:
>>
>> (user <at> host) Password:
>>
>> and comint-password-prompt-regexp fails to match it. By contrast,
>> eshell-password-prompt-regexp does match this prompt. This is with
>> openssh-8.6p1. The fix in bug#43003 doesn't help here.
>
> The following patch should fix the problem, but I'm a bit wary about
> pushing it to Emacs 28, since these things may have unintended side
> effects.
>
> So I've pushed it to Emacs 29 instead.
FTR, I confirm that this patch fixes the problem for me. Thanks!
Steve Berman
This bug report was last modified 3 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.