On Wed, 5 Nov 2003, Alfredo Braunstein wrote:

> - why is that on EOF the communication aborts with errors? Can't we make
> lyxclient terminate the connection and exit gracefully as with BYE:?

Sure, this is a bug. Lyxclient must detect EOF in stdin before trying to
read it. It cen be done using low level IO functions instead of iostream.

> - 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?

To do so, we must have dvi files exported with source specials, that is,
exporting to dvi will be done also with source specials (which is bad) or
we must have export->DVI and export->DVI(SRCSPECIALS). Typically it would
be usefull for people that find it easier to browse dvi files than lyx
files. I don't think it is too useful...

Jo�o.

Reply via email to