Hello,

On my station, when trying to setup a lyxserver with
\serverpipe "/tmp/lyxpipe"
all I get when running 'lyx -dbg 8192' is

fantomas: lyx -dbg 8192
Setting debug level to 8192
LyXComm: Opening connection
LyXComm: Connection established
LyXComm: Receiving from fd 8
LyXComm: Closing connection
LyXComm: Opening connection
LyXComm: Connection established
LyXComm: Receiving from fd 8
LyXComm: Closing connection
LyXComm: Opening connection
LyXComm: Connection established
LyXComm: Receiving from fd 8
LyXComm: Closing connection
...

So it seems that as soon as the socket is open, the server reads from
it and, since read() returns 0 (as documented when the pipe is not
open for writing by another process) lyx decides to close the pipe and
open another one...

I'm not sure that what I explain is very clear there, but I do not
understand what the code is supposed to do. Joacim, can you shed some
light? I'm sure I got it to work at some point.

JMarc

Reply via email to