Gvim and gpg

Greg Bell gregbell at znet.com
Thu Apr 21 01:37:35 CEST 2005


Hi GPG users,

I've successfully used gpg from vim for years, using the autocmds easily
found with google.

However, when using gpg from gvim, I get this:

   :!gpg --symmetric
   gpg: cannot open `/dev/tty': No such device or address

   shell returned 2

If I try the --no-tty option:

   :!gpg --symmetric --no-tty
   gpg: Sorry, no terminal at all requested - can't get input

   shell returned 2


Root privs, setuid, etc. don't work.  And my /dev/tty device is there and
working:

   $ ls -l /dev/tty
   crwxrwxrwx  1 root root 5, 0 Apr 20 19:48 /dev/tty


Anybody have any idea why it doesn't work?  Again, it works with the
normal vim client.


Thanks much,

-- 
Greg Bell



More information about the Gnupg-users mailing list