gpg-agent
Matt Emmerton
matt at gsicomp.on.ca
Wed Jul 11 02:56:00 UTC 2007
> 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
More information about the freebsd-questions
mailing list