Joao Luis Meloni Assirati wrote: > I wrote a simple local socket interface for lyx that compiles and > runs well in Linux with gcc 3.3 (Debian unstable) with the purpose > of getting inverse dvi search working, for witch I will send a patch > in my next e-mail.
Dear Joao, I attach the patch that I am going to apply to the cvs tree. It seems to work beautifully. I have added placeholder functions to the Qt and Gtk versions of lyx_gui.C. The lyxserver does not work for these frontends, but at least they compile. Dear all, to try this out, compile development/lyxsocket/lyxclient.C g++ -o lyxclient lyxclient.C Run lyx-xforms (the patch will be in cvs in 5 mins). You'll find a special file, eg /tmp/lyx_tmpdir222460OMx2d/lyxsocket Pass commands to lyx: ./lyxclient -a /tmp/lyx_tmpdir222460OMx2d/lyxsocket -c 'LYXCMD:file-open /home/angus/docs/transform_v2.lyx' Regards, Angus ps Joao, I see from the line endings of your original submission that you use a Windows machine. Does this stuff work under cygwin? Do you have any feel for how to make it work under Win32? A
lyxsocket.diff.bz2
Description: BZip2 compressed data