On Fri, 26 May 2017 15:03:44 +0900 Carsten Haitzler (The Rasterman) <[email protected]> wrote: > > so you didn't try it then. i did explain before about environment > variables, inheritance of them etc. if you read what i wrote you > wouldn't have to keep asking. so i'm going to YET AGAIN repeat myself.
I cannot test under Wayland...
> i explained that wayland uses WAYLAND_DISPLAY. not DISPLAY. gpg
> doesnt know what WAYLAND_DISPLAY is. it does not remove it from the
> environment.
To test that theory I set my own var.
MY_VAR="test"
Just reusing same code as before
int
main (int argc, char *argv[])
{
FILE *fd = fopen("/tmp/log.txt","w");
const char *display = getenv("MY_VAR");
if(display)
fprintf(fd,"display=%s\n",display);
fclose(fd);
pinentry_init (PGMNAME);
....
The file was empty. MY_VAR never existed as it ran in another shell.
git -> gpg -> pinentry
Just the same WAYLAND_DISPLAY may not be set as MY_VAR was not. I am
unable to test or confirm.
--
William L. Thomson Jr.
pgpEh2ErdD8IO.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
