From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner Koch Newsgroups: gmane.emacs.devel Subject: Re: Fix needed for communication with gpg-agent Date: Fri, 23 Feb 2007 14:20:13 +0100 Message-ID: <87irdtroxe.fsf@wheatstone.g10code.de> References: <87irdzs6pp.fsf@stupidchicken.com> <87r6siy5he.fsf@wheatstone.g10code.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172237146 20239 80.91.229.12 (23 Feb 2007 13:25:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2007 13:25:46 +0000 (UTC) Cc: wilde@sha-bang.de, cyd@stupidchicken.com, ueno@unixuser.org, storm@cua.dk, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 23 14:25:39 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 1HKaQZ-0000J3-6b for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 14:25:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKaQY-0001Ph-Tb for ged-emacs-devel@m.gmane.org; Fri, 23 Feb 2007 08:25:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HKaQK-0001MX-HB for emacs-devel@gnu.org; Fri, 23 Feb 2007 08:25:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HKaQI-0001J7-UK for emacs-devel@gnu.org; Fri, 23 Feb 2007 08:25:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HKaQI-0001Im-ND for emacs-devel@gnu.org; Fri, 23 Feb 2007 08:25:18 -0500 Original-Received: from kerckhoffs.g10code.com ([217.69.77.222]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HKaQI-0007e4-8b for emacs-devel@gnu.org; Fri, 23 Feb 2007 08:25:18 -0500 Original-Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.50 #1 (Debian)) id 1HKaYR-0001X5-Tq for ; Fri, 23 Feb 2007 14:33:43 +0100 Original-Received: from wk by localhost with local (Exim 4.62 #1 (Debian)) id 1HKaLN-0001AE-NV; Fri, 23 Feb 2007 14:20:13 +0100 Organisation: g10 Code GmbH OpenPGP: id=5B0358A2; url=finger:wk@g10code.com Mail-Followup-To: rms@gnu.org, wilde@sha-bang.de, cyd@stupidchicken.com, ueno@unixuser.org, emacs-devel@gnu.org, storm@cua.dk In-Reply-To: (Richard Stallman's message of "Fri\, 23 Feb 2007 05\:22\:41 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) X-detected-kernel: Linux 2.2 (2) 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:66667 Archived-At: On Fri, 23 Feb 2007 11:22, rms@gnu.org said: > 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. The problem is that I have found no way to set pinentry as the foreground process. tcsetpgrp() won't work because pinentry runs in a different session (is is being called by gpg-agent which has used setsid). Shalom-Salam, Werner