From: Lars Ingebrigtsen Date: Mon, 27 Sep 2021 05:55:37 +0000 (+0200) Subject: Add "passwd" (change password) prompt to comint X-Git-Tag: emacs-28.0.90~579 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bec88ecc82fd6154351a22b67315d9e0b358c046;p=emacs.git Add "passwd" (change password) prompt to comint * lisp/comint.el (comint-password-prompt-regexp): Add "passwd" (to change the password) first promp in Debian bullseye. --- diff --git a/lisp/comint.el b/lisp/comint.el index 8bf23897f9e..26aa5547a31 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -372,6 +372,7 @@ This variable is buffer-local." "\\(^ *\\|" (regexp-opt '("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the" + "Current" "Enter Auth" "enter auth" "Old" "old" "New" "new" "'s" "login" "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO" "[sudo]" "doas" "Repeat" "Bad" "Retype" "Verify") diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el index 19d0cca88c8..4cba1e4cf23 100644 --- a/test/lisp/comint-tests.el +++ b/test/lisp/comint-tests.el @@ -43,6 +43,7 @@ "PIN for user:" ; Bug#35523 "Password (again):" "Enter password:" + "Current password:" ; "passwd" (to change password) in Debian. "Enter Auth Password:" ; OpenVPN (Bug#35724) "Verify password: " ; zip -e zipfile.zip ... (Bug#47209) "Mot de Passe :" ; localized (Bug#29729)