Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 22:24:33 -0400
From:      "Matt Emmerton" <matt@gsicomp.on.ca>
To:        "Pollywog" <lists-fbsd@shadypond.com>, <freebsd-questions@freebsd.org>
Subject:   Re: gpg-agent
Message-ID:  <001901c7c362$9ed2e0a0$1200a8c0@gsicomp.on.ca>
References:  <200707110220.18294.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901c7c362$9ed2e0a0$1200a8c0>