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.

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.
-- 

Ronald Florence                         www.18james.com

Reply via email to