From bec88ecc82fd6154351a22b67315d9e0b358c046 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 27 Sep 2021 07:55:37 +0200 Subject: [PATCH] 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. --- lisp/comint.el | 1 + test/lisp/comint-tests.el | 1 + 2 files changed, 2 insertions(+) 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)