discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPasteboard on X, what to do?


From: Pascal Bourguignon
Subject: Re: NSPasteboard on X, what to do?
Date: Fri, 11 Jan 2002 16:59:19 +0100 (CET)

> From: Dennis Leeuw <dleeuw@made-it.com>
> Date: Thu, 10 Jan 2002 10:51:05 +0100
> 
> Pascal Bourguignon wrote:
> 
> > >     Sender: dennis@made-it.com
> > > Date: Thu, 10 Jan 2002 10:30:13 +0100
> > > From: Dennis Leeuw <dleeuw@made-it.com>
> > >
> > > Pascal Bourguignon wrote:
> > >
> > > > > Date: Thu, 10 Jan 2002 08:12:03 +0100
> > > > > From: Dennis Leeuw <dleeuw@made-it.com>
> > > > >
> > > > > Hi all, The machine, and I talk about the hardware
> > > > > (harddisk), that has a GNUstep app that you want to run also
> > > > > has gpbs installed. If that is started at boot time, we have
> > > > > a gpbs server running that is machine dependend.
> > > > >
> > > > > If every user get's a temporary database in his/her home
> > > > > dirctory that records all cuts and the gpbs server it is
> > > > > stored on, you could then paste it in every app the user is
> > > > > running.
> > > > >
> > > > > Downside is the network traffic...
> > > > >
> > > > > Dennis
> > > >
> > > > Ok. Let's suppose that you have the following configuration:
> > > >
> > > >     hostA1 10.0.0.1 running gs App1 and gpbs server1
> > > >     with DISPLAY=10.0.0.2:0.0
> > > >
> > > >     hostA2 212.87.205.57 running gs App2 and gpbs server2
> > > >     with DISPLAY=212.87.205.58:0.0
> > > >
> > > >     and
> > > >
> > > >     hostX3 with two ethernet cards eth0 212.87.205.58
> > > >                                and eth1 10.0.0.2
> > > >            running a X server, display :0, screen :0.0
> > > >
> > > > Now, on hostX3, you copy data from a window of App1, and paste it to a
> > > > window of App2.
> > > >
> > > > Please explain  how this  can be  done by your  gpbs server1  and gpbs
> > > > server2. Remember that gpbs server1 is  on a host on a private network
> > > > and that no  routing exists between 10.0.0.0/8 and  the Internet where
> > > > gpbs server2 is.
> > >
> > > If hostX3 knows about routing then the problem is solved, but I
> > > guess that is not what you are aiming at.  You mean if hostX3
> > > doesn't know about routing... well I guess you are stuck and should
> > > be.  The reason why hostX3 doesn't know about routing is probably a
> > > security issue. So if you could bypass the security AS A NORMAL USER
> > > by copy and paste, well...  (fill in yourself)
> >
> > Well,  in that  case,  users  will see  that  they can  copy-and-paste
> > between  any  X application  (Gnome,  KDE,  others),  and not  between
> > GNUstep applications,  and they will conclude  rightfully that GNUstep
> > is not up to its promise.
> >
> > Anyway, even  with all three hosts on  the same LAN, I'd  like to hear
> > your idea of the sequence  of events when copy-and-paste is done. Note
> > that you're  involving two gpbs servers, and  the GNUstep applications
> > don't know each other. Then?
> 
> User presses copy in App1 -> gpbs1 accepts data and copy function
> sets database with someting like server1:data User does paste in
> App2 -> paste function looks up database and sees data is on
> server1, notifies gpbs2 that data should be coming from gpbs1 and
> notifies gpbs1 to send data to gpbs2 -> servers exchange data ->
> gpbs2 sends data to App2
> 
> Dennis

No problem  with that.  But do you  realize that  all the gpbs  of the
whole Internet and of private parts would have to communicate?

What would you  do when I launch a GNUstep application  on the host in
Paris  I  administrate,  and another  on  a  host  in New  York,  both
displaying on my workstation in Spain? 

Do  you  plain to  implement  a  distributed  database for  pasteboard
servers all around the world like the DNS?



Well, if  not, at least the gpbs  will have to communicate  thru the X
servers the  applications using  them are connected  to. That's  why I
think   it  would   be  simplier   if  the   applications  themselfves
communicated to the X clipboards directly.


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]