Hi Luc,<br><br>
<div><span class="gmail_quote">On 12/16/08, <b class="gmail_sendername">Schrijvers Luc</b> <<a href="mailto:Begasus@skynet.be">Begasus@skynet.be</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">> Tuxmath creates a "./tuxmath" dir inside the user's home the first<br>> time it runs, then looks for when the program is run again. It is<br>
> possible that it doesn't know where to look on BeOS. This dir is used<br>> for things like keeping track of high scores and gold stars.<br>><br>It used to work before (also for TuxType) ... isn't there an option to<br>
set or use $HOME for this? (savings file path).</blockquote>
<div> </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> </div>
<div>So this dir doesn't exist after tuxmath is run? </div>
<div> </div><br>
<div> </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">><br>> TuxType and TuxMath both try out various paths to see if they are<br>> valid, and subsequently the first valid path identified is used to<br>
> find the data files. In TuxType, these paths are:<br>><br>> const char PATHS[NUM_PATHS][FNLEN] =<br>> {<br>> DATA_PREFIX"/share/"PACKAGE"/data",<br>added "/boot/apps/Games/TuxTyping2/share/tuxtype/data"<br>
> "/usr/share/"PACKAGE"/data",<br>> "/usr/local/share/"PACKAGE"/data",<br>> "./data"<br>> };</blockquote>
<div> </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. IIRC, the testing is done by CheckFile() that tries to open the path as either a file or dir. Originally, there was a dirent-based method but I think I got rid of it because it didn't give correct results on Windows. I'll look into this more when I'm back at Linux.</div>
<div> </div>
<div>Do you have everything you need on BeOS to build from svn(autoconf, automake, etc)? That would make it easier to both try potential fixes and to ensure they are retained for the future.</div>
<div> </div>
<div>Cheers,</div>
<div> </div>
<div>David</div>
<div> </div>
<div>p.s. - what is the current availability of BeOS/Zeta, and what hardware will it run on? 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. I do have an Intel-based work laptop, as well as an Intel iMac. I am somewhat interested in having a function BeOS install again.</div>
<br> </div>