Angus Leeming <[EMAIL PROTECTED]> writes: > > Enrico Forestieri wrote: > > Hi all,
[snip] > > The second problem is that, in cygwin, python.exe is a soft link to the > > real program python2.4.exe and thus it is not recognized as an executable. > > So why would soft links exist? Or do they work from within a Cygwin > environment,but not within a Windows environment? The Cygwin documentation says that "Cygwin uses a mechanism that creates symbolic links that are compatible with standard Microsoft .lnk files", but I would say "mostly" compatible. As an example, after 'ln -s test.tex zzz.tex' I can access the real file test.tex through the soft link zzz.tex in an explorer window, but from a command line miktex says that it cannot find zzz.tex. And now I have discovered that a soft link to an executable is not recognized by the Windows cmd.exe. [snip] > > Good work Angus! > > Not me only. Everybody has played a part, not least you. Well done! > Of course, but I think that you put a major effort in this port. [snip] > > May I dare to ask you to try to detect cygwin other than msys > > in the installer? > > Sure. Tell me how to find Cygwin in the registry. > The Cygwin installer creates the registry tree `SOFTWARE\Cygnus Solutions\Cygwin' under HKEY_LOCAL_MACHINE and/or HKEY_CURRENT_USER. '\HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin\native' contains the path to the Cygwin bin directory. This is what I obtain on my machine: $ regtool -q get '\HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin\native' C:\cygwin/bin where both \ and / appear (I think because in Cygwin you can use either one as a path separator, I just checked). [snip] > > I hacked lyxpreview2ppm.sty such that it (optionally, i.e., if found) uses > > pnmpad and ppmchange (other than pnmcrop) for better results with instant > > previews, but it seems that I cannot attach files using the gmane interface > > and I don't know if it is ok to insert it in the mail body as it is about > > 13Kb > > in size. > > Send them to leeming AT lyx DOT org. I am going to do that. Enrico