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#5664: 23.1.92; view-lossage Date: Sat, 06 Mar 2010 16:33:02 -0500 Message-ID: References: <871vfxl2u1.fsf@stupidchicken.com> <4B92B542.2050505@online.de> <87d3zh9paz.fsf@stupidchicken.com> <4B92BE90.5080104@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267955116 21289 80.91.229.12 (7 Mar 2010 09:45:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Mar 2010 09:45:16 +0000 (UTC) Cc: Chong Yidong , 5664@debbugs.gnu.org To: Andreas Roehler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 06 23:22:43 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1No1x0-0004fg-Gr for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Mar 2010 22:54:22 +0100 Original-Received: from localhost ([127.0.0.1]:60790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No1wz-0008Rb-IY for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Mar 2010 16:54:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1No1wu-0008RL-QY for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 16:54:16 -0500 Original-Received: from [140.186.70.92] (port=44291 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No1wu-0008R6-0J for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 16:54:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1No1wt-0000GA-1U for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 16:54:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58723) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1ws-0000G6-U2 for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 16:54:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1No1dK-0002ZB-ID; Sat, 06 Mar 2010 16:34:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 21:34:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5664 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5664-submit@debbugs.gnu.org id=B5664.12679112039858 (code B ref 5664); Sat, 06 Mar 2010 21:34:02 +0000 Original-Received: (at 5664) by debbugs.gnu.org; 6 Mar 2010 21:33:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1cg-0002Yx-Tt for submit@debbugs.gnu.org; Sat, 06 Mar 2010 16:33:23 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1No1cR-0002Yf-27 for 5664@debbugs.gnu.org; Sat, 06 Mar 2010 16:33:21 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAN5YkktLd+K+/2dsb2JhbACbSHSpMI0Ogm+CCQSDF4d0 X-IronPort-AV: E=Sophos;i="4.49,596,1262581200"; d="scan'208";a="57660408" Original-Received: from 75-119-226-190.dsl.teksavvy.com (HELO pastel.home) ([75.119.226.190]) by ironport2-out.pppoe.ca with ESMTP; 06 Mar 2010 16:33:02 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3F1FB8866; Sat, 6 Mar 2010 16:33:02 -0500 (EST) In-Reply-To: <4B92BE90.5080104@online.de> (Andreas Roehler's message of "Sat, 06 Mar 2010 21:44:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 06 Mar 2010 16:34:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35445 Archived-At: > However, think there is a bug though. If Emacs is able to display the > prompt delivered, it should adapt its behavior independently from the > regexp already customized. Emacs has no idea that the string it receives from the underlying process is a prompt for a password. All it knows is that the subprocess sent some text to display to the user. And then no more text comes in; and then the user types something so it's sent to the subprocess; ... this is exactly the same interaction as for any other text than a password. Maybe in some cases, the subprocess sets up the tty in a particular way while it's reading the password. I don't know enough about ttys to know if that could be used and if so how, but it might be worth looking into. Stefan