urxvtc/urxvtd environment mangling on FreeBSD 7-STABLE

Bertrand Yvain pnl at hithlum.adm.ielo.net
Mon Jan 5 17:36:03 CET 2009


On Tue, Dec 30, 2008 at 12:05:21PM +0100, Jukka Salmi wrote:
> 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?

Yes I do.  The output is the same.

For the record, I first encountered this problem with ssh-agent.
My .xinitrc ends like thisĀ :

urxvtd -q -f -o
exec ssh-agent some-window-manager

Process launched by urxvtc couldn't connect to the agent whereas
those launched by urxvt could.  Looking into this a bit further
pointed out this environment issue.





More information about the rxvt-unicode mailing list