Le vendredi, 19 sep 2003, � 14:12 Europe/Paris, Ronald Florence a �crit :
Angus Leeming <[EMAIL PROTECTED]> writes:
Then I'm afraid that LyX's use of pipes is incompatible with now your mac uses
pipes. This is definitely possible.
Actually, LyX pipes work fine on the Mac, and are used by Start-LyX to open files from the finder in LyX/Mac. I would guess that the pipes in M. Gosset's ~/.lyx directory were put there by a different version of LyX, perhaps by his previous fink installation. Removing the pipes (rm ~/.lyx/.lyxpipe*) and starting LyX/Mac again should get Angus's test working.
That is right, and I had to correct Angus's test for ".lyxpipe" instead of "lyxpipe".
The failure of M. Gosset's Start-LyX to find the location of the lyxpipe is more troubling. The following test, run from a Bourne shell may help locate the problem. This test uses the same mechanism to locate the pipe as the Start-LyX applescript.
$ bogus=`perl -n -e 'print,exit if s/^.serverpipe\\s+\"(.+)\"/$1/;' ~/.lyx/preferences /Applications/LyX.app/Contents/Resources/lyx/preferences`
$ echo $bogus
On a working LyX/Mac installation, the value of $bogus should be -- in M. Gosset's case -- /Users/gosset/.lyx/.lyxpipe . If it doesn't work, I would suspect a broken perl installation or a permissions problem.
One problem is that the file "~/.lyx/preferences" does not exist. Also, I am working under "csh" and not "bash".
--
Ronald Florence www.18james.com
+------------------------------+---------------------------+ | Jean Gosset | T�l. (33/0) 1 69 08 73 05 | | DAPNIA/SPhN, B703, P40 | Fax 75 84 | | CE de Saclay | M�l: [EMAIL PROTECTED] | | F 91191 Gif-sur-Yvette cedex | | +------------------------------+---------------------------+
