Hi Luc,<br><br>
<div><span class="gmail_quote">On 12/16/08, <b class="gmail_sendername">Schrijvers Luc</b> &lt;<a href="mailto:Begasus@skynet.be">Begasus@skynet.be</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&gt; Tuxmath creates a &quot;./tuxmath&quot; dir inside the user&#39;s home the first<br>&gt; time it runs, then looks for when the program is run again.&nbsp;&nbsp;It is<br>
&gt; possible that it doesn&#39;t know where to look on BeOS.&nbsp;&nbsp;This dir is used<br>&gt; for things like keeping track of high scores and gold stars.<br>&gt;<br>It used to work before (also for TuxType) ... isn&#39;t there an option to<br>
set or use $HOME for this? (savings file path).</blockquote>
<div>&nbsp;</div>
<div>On Unix-y systems the tuxmath settings directory is $HOME/.tuxmath.</div>
<div>IIRC, on BeOS that should be /boot/home/.tuxmath</div>
<div>On my Debian system it is /home/dbruce/.tuxmath</div>
<div>&nbsp;</div>
<div>So this dir doesn&#39;t exist after tuxmath is run?&nbsp; </div>
<div>&nbsp;</div><br>
<div>&nbsp;</div>
<div>Regarding TuxType</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&gt;<br>&gt; TuxType and TuxMath both try out various paths to see if they are<br>&gt; valid, and subsequently the first valid path identified is used to<br>
&gt; find the data files.&nbsp;&nbsp;In TuxType, these paths are:<br>&gt;<br>&gt; const char PATHS[NUM_PATHS][FNLEN] =<br>&gt; {<br>&gt;&nbsp;&nbsp; DATA_PREFIX&quot;/share/&quot;PACKAGE&quot;/data&quot;,<br>added &quot;/boot/apps/Games/TuxTyping2/share/tuxtype/data&quot;<br>
&gt;&nbsp;&nbsp; &quot;/usr/share/&quot;PACKAGE&quot;/data&quot;,<br>&gt;&nbsp;&nbsp; &quot;/usr/local/share/&quot;PACKAGE&quot;/data&quot;,<br>&gt;&nbsp;&nbsp; &quot;./data&quot;<br>&gt; };</blockquote>
<div>&nbsp;</div>
<div>Hmm - I guess we need to dig into the actual function that is testing the paths and enable some debugging output to see what is happening.&nbsp; IIRC, the testing is done by CheckFile() that tries to open the path as either a file or dir.&nbsp; Originally, there was a dirent-based method but I think I got rid of it because it didn&#39;t give correct results on Windows.&nbsp; I&#39;ll look into this more when I&#39;m back at Linux.</div>

<div>&nbsp;</div>
<div>Do you have everything you need&nbsp;on BeOS to build from svn(autoconf, automake, etc)?&nbsp; That would make it easier to both try potential fixes and to ensure they are retained for the future.</div>
<div>&nbsp;</div>
<div>Cheers,</div>
<div>&nbsp;</div>
<div>David</div>
<div>&nbsp;</div>
<div>p.s. - what is the current availability of BeOS/Zeta, and what hardware will it run on?&nbsp; I last used my BeOS R5 disk on my PII 400 - it would not boot on the AMD Athlon I built just after that, and I have used AMD ever since.&nbsp; I do have an Intel-based work laptop, as well as an Intel iMac.&nbsp; I am somewhat interested in having a function BeOS install again.</div>
<br>&nbsp;</div>