Hi,
as announced previously, I attach the following:

* patches to lyxserver.h/C. Changes:

  - INFO or ERROR always reported in the output pipe
  - added '\n' to always terminate server messages
  - client names remembered, each client notified by name
    when LyX exits

* LyX::Client perl class for bidirectional communication. Examples:

$lyx = LyX::Client->new("clientname");
$lyx->command("buffer-begin");
$lyx->command("self-insert", "Welcome the the LyX server!");
($status, $data) = $lyx->command("server-get-xy");
$event = $lyx->wait_event("C-a");

The tarball could be probably unpacked in a develpment/lyxserver/perl
directory in the distribution. It includes README files, Makefiles,
examples and documentation.

* updated LyX server chapter in Customization doc.

  I sent mail to [EMAIL PROTECTED] for this so I'm not including the patch.
  Mail me if you want to read about the new stuff.

The patches are for 1.1.x, I will work on the 1.0.x series soon so that
(imaginary?) client developers won't hae to work with the devel version.

Oh, I don't know how to add version comments with cvs (or if that's
possible via diff), please use the above description if you want to log
the changes to lyxserver.h/C. I also flagged the modifications in the
code.

Please report any bugs...
Stefano

 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
    Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se

LyX::Client perl class

lyxserver.h/C patches

Reply via email to