>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On the other hand, although LyX 1.4.0 can be started from the Bennett> command line, it remains in the background and refuses to Bennett> take focus; hence straightforward debugging is pretty much Bennett> impossible as it is. (Can this be fixed?) (Note that this is Bennett> not true of 1.3.x.) It is strange that the problem only occurs with 1.4.0... Bennett> Anyway, let me know what you want me to do. Setting of Bennett> environment variables in info.plist is straightforward. Is it Bennett> just PATH that needs to be set? ... Where do I look in the Bennett> lyx startup code? In 1.3.x, it is in LyX::init, where you find around line 398 of lyx_main.C string oldpath = GetEnv("PATH"); string newpath = "PATH=" + oldpath + ":" + binpath + ":"; newpath += "/sw/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current"; PutEnv(newpath); lyxerr[Debug::INIT] << "Running from LyX/Mac bundle. " "Setting PATH to: " << GetEnv("PATH") << endl; So this means that /sw/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current is added to PATH. However, if you go to the info.plist route, you will not be able to _add_ to PATH, I think. You need to provide a full PATH variable (with /usr/bin and friends). So an alternative way might be to define a variable LYX_PATH in info.plist that contains these values and change the code above to only append the value of LYX_PATH to PATH. In 1.4.0cvs, the method is the same, but the code is around line 313 of src/support/path_define.C.in. Does this answer to your questions? JMarc