From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 02:56:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B1A216A41F for ; Wed, 11 Jul 2007 02:56:00 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from daisy2.compar.com (daisy2.compar.com [216.208.38.133]) by mx1.freebsd.org (Postfix) with ESMTP id 5C96813C447 for ; Wed, 11 Jul 2007 02:56:00 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from localhost (localhost.compar.com [127.0.0.1]) by daisy2.compar.com (Postfix) with ESMTP id 9E47213C40B; Tue, 10 Jul 2007 22:25:03 -0400 (EDT) X-Virus-Scanned: amavisd-new at compar.com Received: from unknown by localhost (amavisd-new, unix socket) id A31llsxqNeXY; Tue, 10 Jul 2007 22:25:00 -0400 (EDT) Received: from gabby.gsicomp.on.ca (CPE00062566c7bb-CM0011e6ede298.cpe.net.cable.rogers.com [72.142.197.112]) by daisy2.compar.com (Postfix) with ESMTP id 0CD4113C40A; Tue, 10 Jul 2007 22:25:00 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by gabby.gsicomp.on.ca (Postfix) with ESMTP id 6DAB56113; Wed, 11 Jul 2007 00:32:43 -0400 (EDT) Received: from unknown by localhost (amavisd-new, unix socket) id client-f3WhHQvh; Wed, 11 Jul 2007 00:32:22 -0400 (EDT) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (Postfix) with ESMTP id 8CC266111; Wed, 11 Jul 2007 00:32:22 -0400 (EDT) Message-ID: <001901c7c362$9ed2e0a0$1200a8c0@gsicomp.on.ca> From: "Matt Emmerton" To: "Pollywog" , References: <200707110220.18294.lists-fbsd@shadypond.com> Date: Tue, 10 Jul 2007 22:24:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 X-Virus-Scanned: amavisd-new at gsicomp.on.ca Cc: Subject: Re: gpg-agent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 02:56:00 -0000 > I have been having trouble getting gpg-agent to work. kgpg complained about > the agent not running. I added this to my ~/.bashrc: > > GPG_TTY=`tty` > export GPG_TTY > > This seems to have taken care of the problem but it only works when my default > shell is bash. If my shell is tcsh, it doesn't work. This is what I have in > my ~/.cshrc: > > setenv GPG_TTY tty > > Apparently this is wrong. Any ideas as to what I can try? I noticed that you're using backticks, so GPG_TTY gets set to the output of the tty command - not the text "tty" itself. Perhaps you want this? setenv GPG_TTY `tty` -- Matt Emmerton