https://bugzilla.novell.com/show_bug.cgi?id=619295
https://bugzilla.novell.com/show_bug.cgi?id=619295#c26
Petr Uzel
That breaks if you run xterm or screen without invoking a login shell.
Does it? If you 'export GPG_TTY=$(tty)' in ~/.bashrc, it is sourced every time the interactive shell is run. What do I miss?
Why the heck does this need to be a hard-to-control environment variable at all? Why can't gpg — which is inevidently invoked — call tty at program start itself (and thus always get the right value, even if an xterm-started-from-an-xterm is used)?
I think gpg does exactly this, if its stdin is connected to terminal. But if it isn't (like with the git tag case), how would you find out the tty? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.