On Sat, 06 Apr, 2013 at 19:31:33 GMT, Erik Johnson wrote: > I use gpg-agent (with ssh support enabled), and when I use pinentry-curses > from within tmux, the pinentry prompt rarely appears in the current pane. > Sometimes it appears in a different window, sometimes it appears on tty1, > there doesn't seem to be a rhyme or reason to it (though there is probably > some pattern, which I am just not seeing). > > I've taken to using the gtk2 version of pinentry to get a prompt to appear > reliably, but this means that I need to forward X11 to get it to work on a > remote workstation. I'd rather just use pinentry-curses so I don't have to > do that. > > I'm guessing that the problem here is a misconfigration on my end, but I'm > at a loss for what it might be. Here is my .tmux.conf, for reference: > http://pastebin.com/xd3gQpSq
In my zshrc I have: GPG_TTY=$( tty ) export GPG_TTY This ensures that any pinentry-curses launched from a terminal gets the right ptty[1]. --Ben [1]I think anyways; I don't really use pinentry much; mutt usually asks me. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users