Date: Tue, 10 Jul 2007 22:18:03 -0700 From: Pollywog <lists-fbsd@shadypond.com> To: freebsd-questions@freebsd.org Subject: Re: gpg-agent Message-ID: <200707102218.03663.lists-fbsd@shadypond.com> In-Reply-To: <001901c7c362$9ed2e0a0$1200a8c0@gsicomp.on.ca> References: <200707110220.18294.lists-fbsd@shadypond.com> <001901c7c362$9ed2e0a0$1200a8c0@gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707102218.03663.lists-fbsd>