Angus Leeming <[EMAIL PROTECTED]> writes:

| On Monday 19 August 2002 1:34 pm, Lars Gullik Bjønnes wrote:
>> Try this:
>>
>> cd /tmp
>> mkfifo fifo
>> cat fifo &
>> cat fifo &
>> echo "hello there" > fifo
>>
>> How many "hello there" do you get?
>
| Yes, yes. I understand. But your statement about LyX not being able to have 
| multiple clients is nonsense.

Except that it all really looks like the same client and that you do
not knwo which of the client that receives the response...

| Anyway, I'm perfectly happy to use named sockets rather than pipes, but 
| AFAICS there is still a problem. If I'm an external program, how do I find 
| out the /name/ of this named socket if LyX is going to have many of them. 
| Without this info I can't even start.

.lyx/server-socket.1234
.lyx/server-socket.4634
.lyx/server-socket.PID

Every instance of LyX will only have _one_ socket.

| If the answer is obvious, /please/ tell me. I'm not proud...
>
>> | However, I take your point if you're saying that (were we to use
>> | sockets) the client would not have to parse this message to
>> | ascertain whether it was the intended recipient.
>>
>> Right.
>
>> I always wanted to make the LyXServer a special kind of BufferView.
>
| Let's not run before we can walk.

But it is good to have were you want to end up somewhere on the
horizon...

-- 
        Lgb

Reply via email to