[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24817: closed (comint-mode and 'SUDO password' pro

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24817: closed (comint-mode and 'SUDO password' prompt)
Date: Thu, 23 Feb 2017 22:15:02 +0000

Your message dated Thu, 23 Feb 2017 17:14:20 -0500
with message-id <address@hidden>
and subject line Re: bug#24817: comint-mode and 'SUDO password' prompt
has caused the debbugs.gnu.org bug report #24817,
regarding comint-mode and 'SUDO password' prompt
to be marked as done.

(If you believe you have received this mail in error, please contact

24817: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24817
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Request for an improvement Date: Sat, 29 Oct 2016 13:38:25 +0200

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?




--- End Message ---
--- Begin Message --- Subject: Re: bug#24817: comint-mode and 'SUDO password' prompt Date: Thu, 23 Feb 2017 17:14:20 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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."
     '("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")
    " +\\)"

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]