From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Fix needed for communication with gpg-agent Date: Fri, 23 Feb 2007 14:36:38 -0500 Message-ID: References: <87irdzs6pp.fsf@stupidchicken.com> <87r6siy5he.fsf@wheatstone.g10code.de> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1172259576 25685 80.91.229.12 (23 Feb 2007 19:39:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2007 19:39:36 +0000 (UTC) Cc: wilde@sha-bang.de, cyd@stupidchicken.com, ueno@unixuser.org, emacs-devel@gnu.org, storm@cua.dk To: Werner Koch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 23 20:39:28 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HKgGN-0000bL-Ui for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 20:39:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKgGN-00086s-L8 for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 14:39:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKgF9-0007gm-H0 for emacs-devel@gnu.org; Fri, 23 Feb 2007 14:38:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKgF8-0007gM-Tt for emacs-devel@gnu.org; Fri, 23 Feb 2007 14:38:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKgF8-0007gH-MD for emacs-devel@gnu.org; Fri, 23 Feb 2007 14:38:10 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HKgF7-0006W0-U8 for emacs-devel@gnu.org; Fri, 23 Feb 2007 14:38:10 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HKgDe-0005fq-IK; Fri, 23 Feb 2007 14:36:38 -0500 In-reply-to: <87r6siy5he.fsf@wheatstone.g10code.de> (message from Werner Koch on Thu, 22 Feb 2007 09:13:49 +0100) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66702 Archived-At: So the problem is that pinentry does not have exclusive access to the tty. It should not be hard to program Emacs to turn off the signal handler for tty input while it calls gpg. That way, Emacs won't notice there is any input, and won't read any. This could be a new function made as a variant of call-process. Would this solve the problem?