Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Georg Baum <[EMAIL PROTECTED]> writes: > > | Am Donnerstag, 30. März 2006 18:09 schrieb Bo Peng: > | > | > > I think that the configure script should also provide for a default > | > > \path_prefix in lyxrc.default, probably based on platform. When > | > > sys.platform == 'cygwin', it would be: > | > > > | > > \path_prefix "/usr/local/bin:/usr/bin:/usr/X11R6/bin" > | > > | > Where will it be used? > | > | For running utility programs such as converters, viewers etc. This was > | introduced for native windows and is not needed for unix, because > | normally all programs are in the path. I don't know how it is on cygwin. > > Why cannot programs we defined with absolute paths when the prog is > not in the default path? Why should lyx have its own path lookup > logic?
path_prefix is essentially a Windows thing. Windows has a PATH environment variable but most native Windows apps don't use it; they use the registry instead. LyX, however, knows nothing about the registry, so we give our users a localized way of teaching LyX about installed tools without hacking the global environment. Makes sense? Angus