On Wed, Nov 01, 2006 at 06:55:52PM +0100, Joost Verburg wrote: > Enrico Forestieri wrote: > >> Sometimes you want to edit to same document in two places. However now > >> we have this multiple window feature, it should not be possible anymore > >> to start multiple LyX instances. > > > > Unless specifically requested. I have your word that I can have > > that option ;-) > > Sure, a command line option is no problem. > > By default a new document should be created in the current instance when > LyX is already running. Does Qt provide some standardized method to > receive window messages from another process?
I don't know. On *nix one could look for the presence of a lyxserver in the same way lyxclient does, and if it is found the requested action can be dispatched to it. However, I don't think it is wise using different mechanisms on different platforms. Maybe the socket code could be switched from AF_UNIX to AF_INET such that lyxclient would also work on Windows. -- Enrico
