Re: help!

New Message Reply Date view Thread view Subject view Author view

Swapnil Sha (swapnil++at++teil.soft.net)
Fri, 25 Jul 1997 09:26:42 -0530 (IST)


According to Tom Impelluso:
>
>
> Swapnil
>
>
> OK, you have come the closest to answering my question.
> At least you read it!
>
> You say:
>
> use pfPipeWindow::setWSConnectionName("hostname:0.0");
>
>
> 1) I am using C, not C++

USE pfPWinWSConnectionName(pfWindow *, char *)

> 2) I can cause it to dispaly on a remote machine,
> but the PRIMARY question was how to get the display on TWO
> machines, and, decide, in advance, which of those
> two machines would be controlling the mouse.

This is X question. In X window systerm, each server has got keyboard and
mouse (may be other devices too). So your application (client) will get
events from both servers. If other terminal (display in ur terminology)
don't have keyboard or mouse, it's obviouse that it can't send events. Now
as you are showing same content to both the display, you can modify the
content on both display by processing events of the single keyboard-mouse...

About how to get display on two machines, well, i think you should learn
little more about X windows introductory chapters. It will help you
understand it. The answer resides in the same function
pfPWinWSConnectionName. But what argument should be pased, where, will be
clear after you read first 1 or 2 chapters from any of X window book.

>
> Please help if you can.
>
> Thanks
> Tom
>

regards,
-swappnil
--------
    swapnil++at++teil.soft.net
    http://www.teil.soft.net/~swapnil
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:39 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.