01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A few programs require <strong>the</strong> environment variable HOME in order to<br />

determine your user directory. Set this variable to<br />

c:\cygwin\home\[username], whereby username stands for <strong>the</strong> name<br />

of <strong>the</strong> user registered in Windows. You can find this out easily by<br />

checking who is being logged off in <strong>the</strong> logoff dialogue (START �<br />

LOGOFF or SHUTDOWN). You can define HOME under Windows<br />

NT, 2000 and XP by clicking on <strong>the</strong> “System” symbol in <strong>the</strong> “Control<br />

Panel” (for XP, located under “Performance and Maintenance”),<br />

select <strong>the</strong> “Expand” tab and click on <strong>the</strong> Environment variables<br />

button. A list of existing environment variables will appear. With<br />

New, you can add an additional user variable to which you can assign<br />

<strong>the</strong> value explained above (see Fig. 10.3). Similarly, you should<br />

set up a TEMP entry linking to any temporary directory, e.g.<br />

c:\temp.<br />

Under Windows 98 and ME, you must edit <strong>the</strong> file autoexec.bat<br />

in C:\. At <strong>the</strong> end, add <strong>the</strong> lines<br />

SET HOME=c:\cygwin\home\username<br />

SET TEMP=c:\temp<br />

Finally, for all versions of Windows, you should make sure that <strong>the</strong><br />

temporary directory indicated actually exists, so that a variable does<br />

not link to nothing. Now you need to restart Windows 98 and ME.<br />

Fig. 10.2<br />

Setting<br />

environment<br />

variables for<br />

Windows NT,<br />

2000 and XP...<br />

10.3 Installation under Windows �<br />

�<br />

�<br />

155<br />

… and for Windows<br />

98 and ME

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!