From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30190: 27.0.50; term run in line mode shows user passwords Date: Sat, 10 Mar 2018 17:50:49 +0200 Message-ID: <83sh98szdy.fsf@gnu.org> References: <87r2qjh0fs.fsf@gmail.com> <87mv17nwe4.fsf@users.sourceforge.net> <87efm259s5.fsf@gmail.com> <83vafe9f16.fsf@gnu.org> <87wozfkt9t.fsf@gmail.com> <87o9kiejd4.fsf@gmail.com> <83606q6xr7.fsf@gnu.org> <873718qpme.fsf@gmail.com> <83a7vgut17.fsf@gnu.org> <83y3j0t9qs.fsf@gnu.org> <87woykoysm.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1520697009 25476 195.159.176.226 (10 Mar 2018 15:50:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2018 15:50:09 +0000 (UTC) Cc: 30190@debbugs.gnu.org, rms@gnu.org, npostavs@users.sourceforge.net To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 10 16:50:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eugl2-0006WV-Uy for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Mar 2018 16:50:05 +0100 Original-Received: from localhost ([::1]:51141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eugn5-0002GU-VO for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Mar 2018 10:52:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eugmz-0002GJ-UW for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2018 10:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eugmw-0006o3-QX for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2018 10:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eugmw-0006nn-N7 for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2018 10:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eugmw-00053W-CI for bug-gnu-emacs@gnu.org; Sat, 10 Mar 2018 10:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Mar 2018 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30190 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed security Original-Received: via spool by 30190-submit@debbugs.gnu.org id=B30190.152069708719385 (code B ref 30190); Sat, 10 Mar 2018 15:52:02 +0000 Original-Received: (at 30190) by debbugs.gnu.org; 10 Mar 2018 15:51:27 +0000 Original-Received: from localhost ([127.0.0.1]:54475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eugmN-00052b-DA for submit@debbugs.gnu.org; Sat, 10 Mar 2018 10:51:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eugmL-00052N-Oo for 30190@debbugs.gnu.org; Sat, 10 Mar 2018 10:51:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eugmD-0006ZS-B2 for 30190@debbugs.gnu.org; Sat, 10 Mar 2018 10:51:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eugm1-0006WV-Je; Sat, 10 Mar 2018 10:51:05 -0500 Original-Received: from [176.228.60.248] (port=3364 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eugll-0006ro-LG; Sat, 10 Mar 2018 10:50:50 -0500 In-reply-to: <87woykoysm.fsf@gmail.com> (message from Tino Calancha on Sat, 10 Mar 2018 22:17:13 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144111 Archived-At: > From: Tino Calancha > Cc: 30190@debbugs.gnu.org, rms@gnu.org, npostavs@users.sourceforge.net > Date: Sat, 10 Mar 2018 22:17:13 +0900 > > Bad behaviour: > [sudo] password for foo: > # This throws 'command not found' BUT _sometimes_ you are prompted for > # your password in the minibuffer. > # Note: This happens in a dumb shell buffer as well. What happens if you have a command (say, a shell script) that prompts for something that is not a password with a prompt that starts with text that matches the regexp -- what is the behavior then, after your changes? What I see here is that the filter redirects that to the minibuffer, and doesn't show the text I type, unlike what happened before your changes. Wouldn't that look like a bug and cause bug reports? I'm also worried by the "_sometimes_" part: does it mean the behavior is not deterministic? Why? > Whatever misfunction of my patch should happen in a dumb shell buffer > started with: > M-x shell Yes, but two wrongs don't make a right...