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 05:22:41 -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 1172226349 6051 80.91.229.12 (23 Feb 2007 10:25:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2007 10:25:49 +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 11:25:43 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 1HKXcT-0001NE-AB for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 11:25:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKXcS-0001G4-Gs for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 05:25:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKXb5-0000tN-Co for emacs-devel@gnu.org; Fri, 23 Feb 2007 05:24:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKXb4-0000t0-8s for emacs-devel@gnu.org; Fri, 23 Feb 2007 05:24:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKXb4-0000si-3G for emacs-devel@gnu.org; Fri, 23 Feb 2007 05:24:14 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HKXb3-0001g9-Ji for emacs-devel@gnu.org; Fri, 23 Feb 2007 05:24:13 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HKXZZ-0008PZ-Ds; Fri, 23 Feb 2007 05:22:41 -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:66661 Archived-At: > Since this was the main problem which we were concerned with, the > problem is reduced to find a way to block Emacs from reading from the > tty while pinentry needs it. It is not intrinsically necessary to block Emacs from reading. It would be enough if the code in Emacs does not read from the tty during that time. However, enabling pinentry to read from the tty probably requires setting the tty's process group to the one that pinentry is in. That will probably have the effect that Emacs can't read from the tty during that time. If so, that is ok.