Maybe Off Topic, but help needed!

tgray@adacplastics.com tgray "at" adacplastics.com
Tue, 07 Mar 2000 21:11:10 +0000


Pardon any ignorance I may betray in this posting, that being said:

I remember about two weeks ago there was a French individual 
who hacked together a VNC server that allowed you to serve up a 
specific window instead of the entire honking desktop.  It seems to 
me that some worhtwhile work could be done to hack that further to 
allow that server to accept multiple connections, and serve a 
different window for each connection.  The sticky point being, does 
that French person's hack allow you to see what's in the apps 
window if there is another window overlapping it?  If it does not, 
then never mind.  :)

On 7 Mar 2000, Jonathan Morton <vnc-list "at" uk.research.att.com> wrote: 


> >Yes, this is exactly it.
> >
> >But I am inclined to believe that even without a request to repaint,
> >an application has all of this data in a buffer somewhere that is
> >contstantly being updated by the actual application.
> >
> >My guess is to say that I need to HOOK into the create and sizing
> >funcions although I seem to think that they get their data from the
> >same buffer structure for a given application.
> 
> Well, i think i can see what you're trying to do...
> 
> In my experience (not Windoze, but for everything else i've seen)
> applications are sent a description of an area to repaint, and they
> then perform the graphics operations themselves.  They may internally
> use an offscreen buffer to speed things up but this is not accessible
> in a portable manner.  This means that you can't simply grab the
> buffer, even though it MAY exist - and of course it may NOT exist.
> 
> In any case, VNC isn't really the right place to do it, as VNC simply
> grabs what's already on the screen without worrying too much about
> which application is supposed to handle it... altho we do have to hook
> into the OS to try and find out when a change has occurred, we don't
> grab the data straight from there because we can't (i think the
> Windoze version at least would be greatly speeded up if we could). 
> There is an exception to this - Xvnc - but this is an unusually open
> sistuation :).
> 
> One way of simulating what you want might be to run the box 'headless'
> with the graphics card set to a high resolution, and VNC into it with
> "scale to fit" switched on.  Then you can rearrange the windows
> however you want in realtime, and it will be scaled down to fit the
> client's screen.
> 
> --------------------------------------------------------------
> from:     Jonathan "Chromatix" Morton
> mail:     chromi "at" cyberspace.org  (not for attachments)
> uni-mail: j.d.morton "at" lancaster.ac.uk
> 
> The key to knowledge is not to rely on people to teach you it.
> --------------------------------------------------------------
> Contributing to the VNC Project - http://www.uk.research.att.com/vnc/
> Macintosh VNCserver v3.3.2 beta2.2 now posted at:
>  http://chromatix.autistics.org/vnc/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list to
> majordomo "at" uk.research.att.com See also:
> http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> 
> 


"If you don't think life is interesting,
you're not paying enough attention." me, 1987-ish.
--Tim Gray



---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------