From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17839: 24.4.50; read-passwd echoes password input in non-interactive sessions Date: Wed, 25 Jun 2014 10:32:51 -0400 Message-ID: References: <53FA2CB5-2009-4F77-B10D-03B16CE6D715@lunaryorn.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403706809 29977 80.91.229.3 (25 Jun 2014 14:33:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2014 14:33:29 +0000 (UTC) Cc: 17839@debbugs.gnu.org, Sebastian Wiesner To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 16:33:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzoGH-0001fN-7m for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 16:33:21 +0200 Original-Received: from localhost ([::1]:38237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzoGG-0002Di-QY for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 10:33:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzoG5-00024p-RO for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 10:33:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzoFy-0001DM-D5 for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 10:33:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzoFy-0001DI-B4 for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WzoFx-0005Sy-IV for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 10:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jun 2014 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17839-submit@debbugs.gnu.org id=B17839.140370677720998 (code B ref 17839); Wed, 25 Jun 2014 14:33:01 +0000 Original-Received: (at 17839) by debbugs.gnu.org; 25 Jun 2014 14:32:57 +0000 Original-Received: from localhost ([127.0.0.1]:60582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzoFs-0005Sc-Ge for submit@debbugs.gnu.org; Wed, 25 Jun 2014 10:32:56 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:54266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzoFq-0005ST-0L for 17839@debbugs.gnu.org; Wed, 25 Jun 2014 10:32:54 -0400 Original-Received: from ceviche.home ([24.201.170.218]) by VL-VM-MR005.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0N7Q00425B2S8S30@VL-VM-MR005.ip.videotron.ca> for 17839@debbugs.gnu.org; Wed, 25 Jun 2014 10:32:52 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 6D99266167; Wed, 25 Jun 2014 10:32:51 -0400 (EDT) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90786 Archived-At: >> Besides, =E2=80=9Cnon-interactive=E2=80=9D is a little vague. It=E2=80= =99s obvious that `--batch=E2=80=99 >> is non-interactive, but is `--script=E2=80=99 as well? In other languag= es, >> e.g. Python or Perl, scripts regularly do interaction, including >> reading passwords. > Emacs is an editor, not a script language. There are all kinds of reasons why the current behavior is "logical", but indeed, it's not desirable. Could someone install the obvious patch in read-passwd to emit a warning (right after the prompt, so the user will necessarily see it)? If someone is motivated, I would even accept a patch that turns echo off temporarily. Stefan