GNU bug report logs - #43003
28.0.50; comint-password-prompt-regexp too restrictive

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sun, 23 Aug 2020 21:27:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 43003 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 43003 <at> debbugs.gnu.org
Subject: Re: bug#43003: 28.0.50; comint-password-prompt-regexp too restrictive
Date: Mon, 24 Aug 2020 14:27:41 +0200
Stephen Berman <stephen.berman <at> gmx.net> writes:

> So this bug report is basically a plea to change the default value of
> comint-password-prompt-regexp to be the same as that of
> eshell-password-prompt-regexp.  Or is there a good reason not to do
> this?

The difference is that the former looks for something like "enter"
before something like "password:", while the latter is just looking for
variations of "password:"?

My guess would be that the latter would have more false positives...
but you'd think those would be pretty rare.  I can't imagine many people
having shells with prompts like "Type your user name here but definitely
not your password:".

So I think replacing the former with the latter might work, but comint
is very old code, so perhaps it supports older shells better here...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.