On Tue, 25 Mar 2003, Angus Leeming wrote:
> Joao Luis Meloni Assirati wrote: > > Okay, but it helps if the client was spawned by lyx, which case will be > > the most frequent. > > If the client was spawned by lyx then named pipes are not needed at all. See > the code in src/ispell.C for an example of non-named pipes. We should > create a class similar to LyXComm (src/lyxserver.C) that performs the > necessary book-keeping. LyXServer itself should be able to communicate with > pipes and sockets wrapped up inside classes derived from LyXComm. In the case of inverse search, the client will not be spawned directly by lyx, but by xdvi. Unless xdvi preserves all file descriptors, this will not work. Of course, I assume that xdvi preserv the environment. Jo�o.
