Hi all, added some environment variable documentation to the Wine User Guide. -- Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Determining best CVS host... Using CVSROOT :pserver:cvs@rhlx01.fht-esslingen.de:/home/wine Index: documentation/running.sgml =================================================================== RCS file: /home/wine/wine/documentation/running.sgml,v retrieving revision 1.9 diff -u -r1.9 running.sgml --- documentation/running.sgml 23 May 2002 19:35:18 -0000 1.9 +++ documentation/running.sgml 6 Jul 2002 15:07:47 -0000 @@ -263,6 +263,29 @@ </para> </sect2> </sect1> + + <sect1 id="environment-variables"> + <title>Setting Windows/DOS environment variables</title> + <para> + Your program might require some environment variable to be set + properly in order to run successfully. + In this case you need to set this environment variable in the + Linux shell, since Wine will pass on the entire shell environment + variable settings to the Windows environment variable space. + Example for the bash shell (other shells may have a different syntax + !): + <screen> + export MYENVIRONMENTVAR=myenvironmentvarsetting + </screen> + This will make sure your Windows program can access the + MYENVIRONMENTVAR environment variable once you start your program + using Wine. + If you want to have MYENVIRONMENTVAR set permanently, then you can + place the setting into /etc/profile, or also ~/.bashrc in the case of + bash. + </para> + </sect1> + </chapter> <!-- Keep this comment at the end of the file