From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 05:18:54 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 8E74616A421 for ; Wed, 11 Jul 2007 05:18:54 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6BD4413C44C for ; Wed, 11 Jul 2007 05:18:54 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from lilypad.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 18A6D7F8E for ; Wed, 11 Jul 2007 01:18:53 -0400 (EDT) Received: from ripple.shadypond.com (ripple.shadypond.com [192.168.1.13]) by lilypad.shadypond.com (postoffice) with ESMTP id B9E74FA865 for ; Wed, 11 Jul 2007 05:18:51 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Tue, 10 Jul 2007 22:18:03 -0700 References: <200707110220.18294.lists-fbsd@shadypond.com> <001901c7c362$9ed2e0a0$1200a8c0@gsicomp.on.ca> In-Reply-To: <001901c7c362$9ed2e0a0$1200a8c0@gsicomp.on.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707102218.03663.lists-fbsd@shadypond.com> 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 05:18:54 -0000 On Tuesday 10 July 2007 19:24:33 Matt Emmerton wrote: > > 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` > Thanks, I forgot to put in the backticks.