GNU bug report logs - #24817
comint-mode and 'SUDO password' prompt

Previous Next

Package: emacs;

Reported by: Web <Peter_Dyballa <at> Web.DE>

Date: Sat, 29 Oct 2016 11:39:02 UTC

Severity: wishlist

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24817 in the body.
You can then email your comments to 24817 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#24817; Package emacs. (Sat, 29 Oct 2016 11:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Web <Peter_Dyballa <at> Web.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 29 Oct 2016 11:39:02 GMT) Full text and rfc822 format available.

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

From: Web <Peter_Dyballa <at> Web.DE>
To: bug-gnu-emacs <at> gnu.org
Cc: Peter Dyballa <Peter_Dyballa <at> Web.DE>
Subject: Request for an improvement
Date: Sat, 29 Oct 2016 13:38:25 +0200
Hello!

Playing with Ansible in a shell buffer Ansible asks me for a:

	SUDO password: 

And comint-mode does not recognise this as a prompt to input a password…

Could comint-password-prompt-regexp be enhanced by default by adding this text to it?

—

Greetings

   Pete





Changed bug title to 'comint-mode and 'SUDO password' prompt' from 'Request for an improvement' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 30 Oct 2016 18:05:01 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 23 Feb 2017 22:15:02 GMT) Full text and rfc822 format available.

Notification sent to Web <Peter_Dyballa <at> Web.DE>:
bug acknowledged by developer. (Thu, 23 Feb 2017 22:15:03 GMT) Full text and rfc822 format available.

Message #12 received at 24817-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 24817-done <at> debbugs.gnu.org
Subject: Re: bug#24817: comint-mode and 'SUDO password' prompt
Date: Thu, 23 Feb 2017 17:14:20 -0500
Version: 26.1

commit 581c4d1 (HEAD, master)
Date:   Thu Feb 23 17:12:49 2017 -0500

    * lisp/comint.el (comint-password-prompt-regexp): Add SUDO. (Bug#24817)

diff --git a/lisp/comint.el b/lisp/comint.el
index 830f4ca..7bac305 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -356,7 +356,7 @@ This variable is buffer-local."
    (regexp-opt
     '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
       "Old" "old" "New" "new" "'s" "login"
-      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM"
+      "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO"
       "[sudo]" "Repeat" "Bad" "Retype")
     t)
    " +\\)"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24817; Package emacs. (Wed, 01 Mar 2017 20:34:02 GMT) Full text and rfc822 format available.

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

From: Web <Peter_Dyballa <at> Web.DE>
To: 24817 <at> debbugs.gnu.org
Cc: Peter Dyballa <Peter_Dyballa <at> Web.DE>
Subject: Re: bug#24817: closed (Re: bug#24817: comint-mode and 'SUDO password'
 prompt)
Date: Wed, 1 Mar 2017 21:33:47 +0100
[Message part 1 (text/plain, inline)]
> Am 23.2.2017 um 23:15 schrieb GNU bug Tracking System <help-debbugs <at> gnu.org>:
> 
> which was filed against the emacs package, has been closed.

I tried the patch in emacs-25.2-rc1 – it works!

—
Greetings

 Pete


One of the main causes of dust is janitors.

[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Mar 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 77 days ago.

Previous Next


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