Bertrand Yvain --> rxvt-unicode (2008-12-29 18:21:21 +0100): > > Hi, > > there seems to be an environment issue between urxvtc and urxvtd : > environment variables passed to urxvtc and of which urxvtd was not > aware of at invocation are doubled/mangled. > > I've been able to reproduce the problem either using port/package or > building from (unpatched) source, with different set of options. > However, the same version does not seem to be affected on Debian > systems.
I can't reproduce this on a NetBSD 4 system. > Consider this script : > > $ cat /tmp/urxvtc-environ > #!/bin/sh > > DIR=$(mktemp -d -t $(basename $0)) > RXVT_SOCKET=$DIR/socket > > export RXVT_SOCKET > > cd $DIR > env | sort > env.orig > urxvtd & > sleep 1 # wait for socket > env FOO=bar urxvtc -e sh -c 'env | sort > env.foo' > env FOO=bar BAR=baz urxvtc -e sh -c 'env | sort > env.bar' Do you see the same problem when using printenv | sort > env.orig FOO=bar urxvtc -e sh -c 'printenv | sort > env.foo' FOO=bar BAR=baz urxvtc -e sh -c 'printenv | sort > env.bar' instead? Cheers, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
