On 11 Mar 2003, Lars Gullik Bjønnes wrote: > We should remove the config options of being able to set the pipe > names. Then the pipes can always be found in the same spot.
On Wed, 12 Mar 2003, Andre Poenitz wrote: > The pipes can be created in toplevel .lyx and have a fixed position. On Wed, 12 Mar 2003, Christian Ridderström wrote: > Uhmm.. maybe I'm I stupid here.. but what's wrong with using an environment > variable, LYXPIPES, specifying where the pipes can be found? > > On a sidenote, I'm also using AFS so I guess my pipes couldn't go in my > home directory. However, I've used another program, Everybuddy, that also > uses pipes, and to fix this proplem I simply created a link from the > .everybuddy-directory to a directory on a local disk. These two alternatives seem to be a good compromises. 1. Lyx and lyxclient initially read LYXPIPES environment variable. If not present, it defaults to ~/.lyx/lyxpipe. 2. If ~/.lyx/lyxpipe.{in,out} already exist and are links, lyx readlinks them and determine the true location. João.