Bo Peng wrote: >> * sh for the configure script. It would be nice to rewrite it in >> python, but nobody is brave enough to do it > > It is not terribly long (1600 lines) and most of the code are simple > test/if/else that can > be replaced by equivalent Python code. I am not saying that I can do > the translation > any time soon, but will you (lyx-devel) test and accept such a > translated code once > it is completed? Also, do you have any improvement in mind so that I can > add it in?
Since you're asking :) The present configure script is very unix-centric in that it looks for things in the PATH. The Windows way is to use the registry... LyX would use this data to modify the "path_prefix" variable that is output to lyxrc.defaults/preferences. Generally, I think it would be sufficient to use "open file.ps", etc for most viewers. That way, we get the default viewer associated with a particular file extension. -- Angus
