From unknown Sun Aug 17 10:27:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51666: 28.0.60; comint-password-prompt-regexp too restrictive (again) Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 51666@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163630277818185 (code B ref -1); Sun, 07 Nov 2021 16:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2021 16:32:58 +0000 Received: from localhost ([127.0.0.1]:54500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjl6I-0004jE-Jd for submit@debbugs.gnu.org; Sun, 07 Nov 2021 11:32:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:39908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjl6G-0004j7-ID for submit@debbugs.gnu.org; Sun, 07 Nov 2021 11:32:57 -0500 Received: from [2001:470:142:3::10] (port=42002 helo=eggs.gnu.org) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjl6G-0007zK-Cx for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 11:32:56 -0500 Received: from mout.gmx.net ([212.227.17.20]:48697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjl6E-0004Tz-NO for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 11:32:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1636302771; bh=6fqiMVq3+W27hPL6XZai0dOuFWFcEaORPAuVdW2A4Ig=; h=X-UI-Sender-Class:From:To:Subject:Date; b=jBYig7ieD7gwtZ7FwgWjQT/DPELBbQxFFNJVk+UXQUnCsNNzLdeixuqnecKyo8tBS LjCUfMe884oNUyZzkurF0OM6Rpb3672b/OWrR2mfQUeRUqU8yIK9Rw4dlm6UYkNUta hx2F+mDfQXfRiXQvJxaC+G1X5RRkiX8X+jycoqfc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobelfs ([188.109.162.137]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MbAci-1mCc8p0XX6-00bffH for ; Sun, 07 Nov 2021 17:32:51 +0100 From: Stephen Berman Date: Sun, 07 Nov 2021 17:32:50 +0100 Message-ID: <87ee7s53kd.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:eR5yroGr3akL4AUzTHvmuUjajOnTkf78YWZOt7BwZkAwlz1x++3 RY6Jx7LbPuMukdrchAAzxU/YbdWK5ppF+9XnsPvzfU+zS9jYHnEvwV5bZYeKs5ucEIfEUx2 odB7ul5VoAxOswRx3Do21xEjyPE6ZElQ/8SJLHh9hYEUuDEfrAqE4DY8gueNLXf7FLAjT0Y tPwT2bdh9C9j+oDuFUZ7g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:sKwXOvhhynM=:S5ha3zBbrJspnNgvULVh4l HOISqKniKYyRBIL6+GwAyba+Oh+k/OVLL1L0g/F7hzUu4XYgRAYDSgCQkxSQmxkKYyNglvixh Vd//esTahsRM+c20gBcNcPU0iTRHznD5pLGVMKax/6Vrf3GU9J2k+QzWfHp6XwmGkXz0N1PXF O0IKCCEJQG01b7fGthmDZxrXSBYMX0NgFkivBDMnrYyI6P87jlv+uxwZjVzp7ZoAxDSh7BGe9 Diq4mbTNyEnHl5sq3QuZgxTaKmtCnXVUSASrB/KGBRRpvZrBs7MjixNCXH4zOCZZyybCH0g7G 4PGluV2cyvxxICQ0Eraito8zZ6mDY67CEugPcuS4r/eOZJo740WTuB214OThrRPeT/b45DPlU SSQor7HhpwwtHGWF5aD2ASOOEUYqvqnOfjqf+tn/0/jWp0Uz8Zy+7XLN51vJ0yoDjnecjKNhK V8erZ34b2IVqbsqp5Cs6W4tQE3ZhZC+IUh9UyStvG+Z45X33LO/fFgpJXpox1HGeOtrYUB5+6 rNKKiJhmQPDetvVZKbe7xrY66NvuH+ukvqVOryympWi6mJPm08PJGzAcWJMwX4PXP/9FL8OnU YWpNgOUh8ZVNwgyQ1C96apemLMiadfWjLkOSsqrnE1DOzwrvMkBdz87iMcmnohvd19WDFR25O JbDIzftmIwSsC269R+QEmaPJCkgKViFiv0H97yiMMWvYtZdhGI4rY40Cm/MwWY/zEDGoDGDbu cMtc0Ija34jxlC9UhuZpFjTY6Z3l4iXo1GhWy1rwRh0BsLIvi/lXuaK5LqLcbbZrANzjlUVt3 ySf6ZA3O0ZP8ARu/gZCvsbM9kD0mxzjlhBpB0GbX4DMb3UvxspSTQTP9YYZCVGcayGMPhNtxO z4nkLd4QxHNv2PXx7/y1ot2WzpfcpAQTsfmQhrwn6A1Mitust9Szr/yOPOi6JZwI2N7xttaG8 /xkBRbCjWIBxQwtDX6zUQk5uJ0ZRGRdR/LL7gHJLY+MGPXE2KVM2MQgKZEP2i+ZSunRh24lCi z+Poh5ehxDl4mHwwsqU8+22supYpwAa24PWB/bc82HKI1wqYXk3/wYemw2oqHxkmGxHIJlChG aZik3o+V7O7Evg= Received-SPF: pass client-ip=212.227.17.20; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On one of my systems, when using ssh in shell-mode (M-x shell), the password prompt does not appear in the minibuffer but only in the *shell* buffer directly under the ssh invocation, and the password is not hidden when it's entered. The password prompt has this form: (user@host) Password: and comint-password-prompt-regexp fails to match it. By contrast, eshell-password-prompt-regexp does match this prompt. This is with openssh-8.6p1. The fix in bug#43003 doesn't help here. In GNU Emacs 28.0.60 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.17.4) of 2021-11-06 built on strobelfs Repository revision: 0d6b2b0b9dcb958193f21bd5bd3bd389a42b3de2 Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Linux From Scratch 10.2-rc1 Configured using: 'configure --with-native-compilation 'CFLAGS=-Og -g3' PKG_CONFIG_PATH=/opt/qt5/lib/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix From unknown Sun Aug 17 10:27:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51666: 28.0.60; comint-password-prompt-regexp too restrictive (again) Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stephen Berman Cc: 51666@debbugs.gnu.org Received: via spool by 51666-submit@debbugs.gnu.org id=B51666.163631722518202 (code B ref 51666); Sun, 07 Nov 2021 20:34:01 +0000 Received: (at 51666) by debbugs.gnu.org; 7 Nov 2021 20:33:45 +0000 Received: from localhost ([127.0.0.1]:54954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjorJ-0004jW-J6 for submit@debbugs.gnu.org; Sun, 07 Nov 2021 15:33:45 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjorH-0004jJ-DX for 51666@debbugs.gnu.org; Sun, 07 Nov 2021 15:33:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=4XGt6APhzB6sGDgMkGwizaYWShDle1XvK/0bVRdF7+U=; b=XbfrrSKQbfgI2luvrWYat6bzcY qfsGPYQLOleArgyWzG3Z4oQ876ZayFBla8sRU1DXH9RFWuR2bXkROcqkVYM28HZAYlFv13bDXij6B NAj6VsBJbHQv9JZaP/WC10H2Dg+gNP2LCg+YdcLcMpoMsvELXqE/igStUjAajU9z/JlA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjor7-0003TE-V4; Sun, 07 Nov 2021 21:33:36 +0100 From: Lars Ingebrigtsen References: <87ee7s53kd.fsf@gmx.net> X-Now-Playing: Mofaya!'s _Like One Long Dream_: "Your Country" Date: Sun, 07 Nov 2021 21:33:33 +0100 In-Reply-To: <87ee7s53kd.fsf@gmx.net> (Stephen Berman's message of "Sun, 07 Nov 2021 17:32:50 +0100") Message-ID: <87bl2vg0yq.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stephen Berman writes: > On one of my systems, when using ssh in shell-mode (M-x shell), the > password prompt does not appear in the minibuffer but only in the > *shell* buffer directly under the ssh invocation, and the pa [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stephen Berman writes: > On one of my systems, when using ssh in shell-mode (M-x shell), the > password prompt does not appear in the minibuffer but only in the > *shell* buffer directly under the ssh invocation, and the password is > not hidden when it's entered. The password prompt has this form: > > (user@host) Password: > > and comint-password-prompt-regexp fails to match it. By contrast, > eshell-password-prompt-regexp does match this prompt. This is with > openssh-8.6p1. The fix in bug#43003 doesn't help here. The following patch should fix the problem, but I'm a bit wary about pushing it to Emacs 28, since these things may have unintended side effects. So I've pushed it to Emacs 29 instead. diff --git a/lisp/comint.el b/lisp/comint.el index c114bdf758..94e8e3b84b 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -385,7 +385,9 @@ comint-password-prompt-regexp "\\(?: [[:alpha:]]+ .+\\)?[[:blank:]]*[:=EF=BC=9A=E1=9F=96][[:space:]]*= \\'" ;; The ccrypt encryption dialogue doesn't end with a colon, so ;; treat it specially. - "\\|^Enter encryption key: (repeat) *\\'") + "\\|^Enter encryption key: (repeat) *\\'" + ;; openssh-8.6p1 format: "(user@host) Password:". + "\\|^([^)@ \t\n]+@[^)@ \t\n]+) Password: *\\'") "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :version "28.1" --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 07 15:34:59 2021 Received: (at control) by debbugs.gnu.org; 7 Nov 2021 20:34:59 +0000 Received: from localhost ([127.0.0.1]:54959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjosU-0004lQ-VC for submit@debbugs.gnu.org; Sun, 07 Nov 2021 15:34:59 -0500 Received: from quimby.gnus.org ([95.216.78.240]:38386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjosT-0004lE-03 for control@debbugs.gnu.org; Sun, 07 Nov 2021 15:34:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mhYgykySgXY/gyeB1E3DSUkDQqiYMsoBh2XlILaRopg=; b=elJU5mOEH0lGzier3KvrAxkHxK WjyGLMU/k0CseQ4uYDiHN7KSiODs+0CI/iuxSBDULyjZj4eqp5uV3oIrZ3dlskoqHpyuTZZhCqLXC p4Qgs4ssUs4LBUgIXEtMGNyEc7BF1WQ7Nk9qy5qb+vswkmIAnkFWbPCDW4aK8Ma5WBvs=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjosL-0003Vj-Dl for control@debbugs.gnu.org; Sun, 07 Nov 2021 21:34:51 +0100 Date: Sun, 07 Nov 2021 21:34:49 +0100 Message-Id: <87a6ifg0wm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #51666 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 51666 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 51666 29.1 quit From unknown Sun Aug 17 10:27:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51666: 28.0.60; comint-password-prompt-regexp too restrictive (again) Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Nov 2021 10:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 51666@debbugs.gnu.org Received: via spool by 51666-submit@debbugs.gnu.org id=B51666.163636695923416 (code B ref 51666); Mon, 08 Nov 2021 10:23:02 +0000 Received: (at 51666) by debbugs.gnu.org; 8 Nov 2021 10:22:39 +0000 Received: from localhost ([127.0.0.1]:56528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk1nS-00065c-R1 for submit@debbugs.gnu.org; Mon, 08 Nov 2021 05:22:39 -0500 Received: from mout.gmx.net ([212.227.15.18]:43337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk1nQ-00065O-2t for 51666@debbugs.gnu.org; Mon, 08 Nov 2021 05:22:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1636366949; bh=VY58oRdG9VF++rQlqniUkupZ+vSCJVqbFj2Ah+7w0Qo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OXp0g+LkmPxXtCNXxfEoG9TbpdzqjuuhD9yw43BRnaE20l8gVQWU96OHm8qXuTlSH RQ6ZIsxDBGFU6QZbK+zJQ/p0ETEuEVjRZgDDMbV0LY4mUh/krREeRQPk+YF/WX7qwZ hl3yk0AnEDDGqxpy+B72o4Tv3Z29CONr3XK+eYMU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobelfs ([188.109.193.184]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCKBc-1mtLBX2lUo-009QU5; Mon, 08 Nov 2021 11:22:29 +0100 From: Stephen Berman References: <87ee7s53kd.fsf@gmx.net> <87bl2vg0yq.fsf@gnus.org> Date: Mon, 08 Nov 2021 11:22:28 +0100 In-Reply-To: <87bl2vg0yq.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 07 Nov 2021 21:33:33 +0100") Message-ID: <87y25zaqvv.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:/do/vFmClekeK44uj+VFSgNYRYs+SUSlqZd/kNvqyZr1esMXAI3 Fiz2nBZdVWqHW2ip9dMEy4zM0ZXU1Tw7Jm0yvLDZ65/FZc8H0p73Mt+Hcz7nb+SxVNrJX6e xI/tLNnt8beG46Jqr5PcMLAphHd+NIFBC2DXojPOCoX6710/qqhrLkCW6Omewjt/yHLZ7DO k9No+wfdmMns0FtYlQpuw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:jWNoQQYNqz4=:yQDwRlZryVQ5RnW33bYTfn 7xAqjXDxYhl3xKn2PEiIM5B3FTxd2dZRgu61CWZ1CjB2XI5+781hjCAx2SujTijcwq6DHteG3 Cau9EO8Cv+jo+D4mda0F91ZWhQ75E7hFYCLKsEAhmW/D0i9rOxPXB/ToiXYY/ldbNgxisAu+m ngw/0JlfA9QxTNiyZAPSeeI0eL7k19T03m3ndwBcxifaq5h9+8NHe5CHxPnd5zQLYIvI2hfkA /BKxDwurjaPoebMkaXuzyeknlNlv4+FZRglI3FlJMENPg2fZ9nvh2V4+S8IIzrkFCWNA29fPU rPynNGU4T+EEbE6Ty47QcV+NQV5XUTFDj09lmaBzHm9FoHiCIh+Bpqe/30zkeunvNRRntz/Jk jxaQQ0Eh60dj/uR1+KOjiCY3paiHS/5s/XsS5SQbRb5W0/8SxW+1ElAIkI5xda/CqKDO9wtks nhOfWYMxu2ntN0jx1Muy7sncYoluIGROEgNUsShbKUQ7KxFWWmRuZnn4mgO2fajk/eYVo5FJ4 iXM1OZ68Hc1VLOgtEU+c0ZbABbjiKMQrL1Wd0rrOGY8QMXrCpqR3Z8XMK9yYRpDT7lYx6v14E GMkg7hDM7ybFpOusovkXOh+zE4kvluTKplI6Nw2v1gjpOdjXoGteAG+8KyUtj1VF3zEEp72YR eeXlnSK5+dhUuLFBkVJMxYN4f7S11R3rgd+XybndRy3E9S2WxNLR/lPimLZHR0rLxEC6xqiAU 48pc1YjbiF4WNh3u290KECsfn87mjZiA3gifhCSRzuiOjwVCGtRqpOFwWG5yZT0qRGuKupJ4+ Gqe/MxpEjNi0TolN//Hj7rtN0JddnmtsNLGQWzCJXA3eL+QvlU4OIi3DnBFYoIK+fcvPyXcks MJVCDb2JZqGZDjvTX7oRXYxQcfQKztuLAPkI6VVHUqGWpCjGSOKLwmt9jtAV73Lx6OTbVOE8R jD7PY4RVbjLI0D6qaKiFR4iDhahk+ZgV7Wh9YCxbGRbJ34EujYbvNPMLj7BONhcLKfVzoaWGS 6axVHfb+8kdGIqyuKllSjh2KGUAeXkZeQQnlLTvkxEIJVUZJOn4twAtyQ1S6gTuYMgIsr7h/k n02tGvlBpcKNa0= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sun, 07 Nov 2021 21:33:33 +0100 Lars Ingebrigtsen wrote: > Stephen Berman writes: > >> On one of my systems, when using ssh in shell-mode (M-x shell), the >> password prompt does not appear in the minibuffer but only in the >> *shell* buffer directly under the ssh invocation, and the password is >> not hidden when it's entered. The password prompt has this form: >> >> (user@host) Password: >> >> and comint-password-prompt-regexp fails to match it. By contrast, >> eshell-password-prompt-regexp does match this prompt. This is with >> openssh-8.6p1. The fix in bug#43003 doesn't help here. > > The following patch should fix the problem, but I'm a bit wary about > pushing it to Emacs 28, since these things may have unintended side > effects. > > So I've pushed it to Emacs 29 instead. FTR, I confirm that this patch fixes the problem for me. Thanks! Steve Berman