http://bugs.winehq.org/show_bug.cgi?id=1490
------- Additional Comments From k_wayne@linuxpower.org 2006-20-01 19:42 -------
Running under Wine, the windows environment ("shell") is a almost 100% copy of
the unix environment ("shell")
Really? Do you mean that Wine copies the unix shell environment over to the emulated windows environment? Wouldn't this be nearly always cause this bug for older applications? e.g: I'm trying to run a 16 bit application with a 64k shell stack and Wine is copying over all the environment variables from a modern 32bit operating system?
Anyway did you try, and what are the results of running:
env -i PATH=$PATH DISPLAY=$DISPLAY wine yourprogram.exe
It didn't "work" until I added XAUTHORITY.
env -i PATH="$PATH:./" DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY wine bcs/Bcs.exe
Thank you, this got me past the "Insufficient space in environment" error.
But now the program is complaining that it can't find the data files, so obviously there is still some kind of environment variable error.
I feel like I am very close... Please help me figure out what environment variables I am missing.... It feels path related, I have tried adding the fake_windows dir and the application dir to my Unix path but it doesn't help.
Any advice?