Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Joao Luis Meloni Assirati
On Mon, 13 Oct 2003, Angus Leeming wrote: > I am going to commit this patch as-is unless someone speaks up soon. Thank you for the work on my patch, Angus. Attached is a patch for support/Changelog registering socktools.{C,h}. I'm going to post the manpage of lyxclient soon. Regards, João Lui

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Christian Ridderström
On Mon, 13 Oct 2003, Jean-Marc Lasgouttes wrote: > > "Joao" == Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes: > > Joao> For me it is no problem, but I remember people saying that /home > Joao> is not a good place to put fifos and sockets because it can be > Joao> an afs or other restri

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Joao Luis Meloni Assirati
On Mon, 13 Oct 2003, Joao Luis Meloni Assirati wrote: > Or simply > > ./lyxclient 'LYXCMD:file-open /home/angus/docs/transform_v2.lyx' > > if you have only one lyx runing, as the client will search for a running > lyx. Ooops... I mean ./lyxclient -c 'file-open /home/angus/docs/transform_v2.lyx

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Joao Luis Meloni Assirati
On Mon, 13 Oct 2003, Lars Gullik Bjønnes wrote: > | It relies only in permission bits. That is, it tries all lyx_tmpdir..., > | and stays with the first it can connect. Of course it cannot connet to a > | socket that is under a closed directory. The socket itself is created > | closed for other

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Lars Gullik Bjønnes
Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes: | On Mon, 13 Oct 2003, Lars Gullik Bjønnes wrote: > >> Is the check clever enough? What about multiuser boxes? > | It relies only in permission bits. That is, it tries all lyx_tmpdir..., | and stays with the first it can connect. Of course it c

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Joao Luis Meloni Assirati
On Mon, 13 Oct 2003, Lars Gullik Bjønnes wrote: > Is the check clever enough? What about multiuser boxes? It relies only in permission bits. That is, it tries all lyx_tmpdir..., and stays with the first it can connect. Of course it cannot connet to a socket that is under a closed directory. The

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Lars Gullik Bjønnes
Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes: | On Mon, 13 Oct 2003, Angus Leeming wrote: > >> Pass commands to lyx: >> ./lyxclient -a /tmp/lyx_tmpdir222460OMx2d/lyxsocket -c >> 'LYXCMD:file-open /home/angus/docs/transform_v2.lyx' > | Or simply > | ./lyxclient 'LYXCMD:file-open /home/angus

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Jean-Marc Lasgouttes
> "Joao" == Joao Luis Meloni Assirati <[EMAIL PROTECTED]> writes: Joao> For me it is no problem, but I remember people saying that /home Joao> is not a good place to put fifos and sockets because it can be Joao> an afs or other restrictive filesystem mount. So, looking at all Joao> other progr

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Joao Luis Meloni Assirati
On Mon, 13 Oct 2003, Angus Leeming wrote: > Pass commands to lyx: > ./lyxclient -a /tmp/lyx_tmpdir222460OMx2d/lyxsocket -c > 'LYXCMD:file-open /home/angus/docs/transform_v2.lyx' Or simply ./lyxclient 'LYXCMD:file-open /home/angus/docs/transform_v2.lyx' if you have only one lyx runing, as the

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Joao Luis Meloni Assirati
Hello, It is good to hear about my patch... On Mon, 13 Oct 2003, Lars Gullik Bjønnes wrote: > | Run lyx-xforms (the patch will be in cvs in 5 mins). You'll find a > | special file, eg /tmp/lyx_tmpdir222460OMx2d/lyxsocket > > Is this a good place to put the file? > It should be placed in .lyx an

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | 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

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | 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 n

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Angus Leeming
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

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Andre Poenitz
On Mon, Oct 13, 2003 at 11:53:40AM +0200, Andre' Poenitz wrote: > I was about asking 'about to ask' I suppose... Andre'

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Andre Poenitz
On Mon, Oct 13, 2003 at 10:26:46AM +, Angus Leeming wrote: > Joao Luis Meloni Assirati wrote: > > On Wed, 8 Oct 2003, Angus Leeming wrote: > > > >> Of course, there are lots of small coding points, > > > > It is not a surprise :). If there is a chance of my patch being > > accepted, I would b

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Joao Luis Meloni Assirati wrote: >>> On Wed, 8 Oct 2003, Angus Leeming wrote: >>> Of course, there are lots of small coding points, >>> >>> It is not a surprise :). If there is a chance of my patch being >>> accepted, I would be glad to correct them. Note also

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Joao Luis Meloni Assirati wrote: >> On Wed, 8 Oct 2003, Angus Leeming wrote: >> >>> Of course, there are lots of small coding points, >> >> It is not a surprise :). If there is a chance of my patch being >> accepted, I would be glad to correct them. No

Re: [PATCH] A local socket lyxserver.

2003-10-13 Thread Angus Leeming
Joao Luis Meloni Assirati wrote: > On Wed, 8 Oct 2003, Angus Leeming wrote: > >> Of course, there are lots of small coding points, > > It is not a surprise :). If there is a chance of my patch being > accepted, I would be glad to correct them. Note also that > lyxclient.C is still sort of prelimi

Re: [PATCH] A local socket lyxserver.

2003-10-08 Thread Joao Luis Meloni Assirati
On Wed, 8 Oct 2003, Angus Leeming wrote: > Of course, there are lots of small coding points, It is not a surprise :). If there is a chance of my patch being accepted, I would be glad to correct them. Note also that lyxclient.C is still sort of preliminary. My concern was mainly the patch. > So

Re: [PATCH] A local socket lyxserver.

2003-10-08 Thread Angus Leeming
Joao Luis Meloni Assirati wrote: > If this patch gets accepted, I will provide Changelog entries and > also write the lyxclient manpage. Joao, I like this a great deal. The design appears to mirror that of LyXServer very closely which IMO is a good thing as it builds on our existing knowledge. I

[PATCH] A local socket lyxserver.

2003-10-07 Thread Joao Luis Meloni Assirati
Hello, 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. It consists of two classes: LyXDataSocket - this class has a sock