Jean-Marc Lasgouttes wrote: >>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >>>>>> writes: > > Angus> This is a clean-up of Ruurd's code replacing "/dev/null" in > Angus> user code with os::nulldev() and GetEnvPath("HOME") with > Angus> os::homepath(). > > That's OK with me. > > In the future, it would be nice to abstract the value of user_lyxdir > in a better way, since we want different things for different > environments: > > - ~/.lyx for unix (and fink and maybe cygwin) > - ~/Library/Preferences/LyX for LyX/Mac (but not fink) > - User Data/whatever for LyX/win (but maybe not cygwin) > > Similarly, the choice of the system_lyxdir should be abstracted. The > problem is that in the case of OSX, the LyX kernel does not know > whether we build LyX/Mac or plain LyX. So we proabably need a notion > of packaging different from the notion of os. > > Jut something to keep in mind. > > JMarc
Interesting. I found that I had to start lyx from the /home/Angus/qt3/lib directory (so that qt333.dll was found; I could have changed my PATH variable but only found that out later) as lyx -sysdir /home/Angus/lyx-13x/lib \ -userdir /home/Angus/lyx-13x/build-qt/lib so that chkconfig.ltx and textclass.lst could be found. I guess that this reinforces your points above. -- Angus