3 <title>Environment - XBoard</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="XBoard">
6 <meta name="generator" content="makeinfo 4.12">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="prev" href="Firewalls.html#Firewalls" title="Firewalls">
9 <link rel="next" href="Limitations.html#Limitations" title="Limitations">
10 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
11 <meta http-equiv="Content-Style-Type" content="text/css">
12 <style type="text/css"><!--
13 pre.display { font-family:inherit }
14 pre.format { font-family:inherit }
15 pre.smalldisplay { font-family:inherit; font-size:smaller }
16 pre.smallformat { font-family:inherit; font-size:smaller }
17 pre.smallexample { font-size:smaller }
18 pre.smalllisp { font-size:smaller }
19 span.sc { font-variant:small-caps }
20 span.roman { font-family:serif; font-weight:normal; }
21 span.sansserif { font-family:sans-serif; font-weight:normal; }
27 <a name="Environment"></a>
28 Next: <a rel="next" accesskey="n" href="Limitations.html#Limitations">Limitations</a>,
29 Previous: <a rel="previous" accesskey="p" href="Firewalls.html#Firewalls">Firewalls</a>,
30 Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a>
34 <h2 class="chapter">6 Environment variables</h2>
36 <p><a name="index-Environment-variables-396"></a><a name="index-CHESSDIR-397"></a>Game and position files are found in a directory named by the
37 <code>CHESSDIR</code> environment variable. If this variable is not set, the
38 current working directory is used. If <code>CHESSDIR</code> is set,
39 XBoard actually changes its working directory to
40 <code>$CHESSDIR</code>, so any files written by the chess engine
41 will be placed there too.