The code works like a charm for me. More suggestions:
- why is that on EOF the communication aborts with errors? Can't we make lyxclient terminate the connection and exit gracefully as with BYE:? - I don't know if this is feasible or desirable, but could we make lyxclient start lyx if he doesn't find it? I don't know how (and I don't know enough lisp to find out), but it works in emacs: clicking in the dvi opens emacs with the source tex if it's not already open. Or can/should this be solved with a wrapper script? Alfredo
