cut/paste issues in VNC

Jeff Boerio boerio "at" ichips.intel.com
Fri, 16 Jun 2000 01:19:31 +0000


>Wayne and Jeff,
>
>> Date: Wed, 14 Jun 2000 22:44:36 -0700 (PDT)
>> From: throopw "at" sheol.org (Wayne Throop)
>> Subject: Re: cut/paste issues in VNC
>> 
>> : Cutting from the Xvnc session to a MS application works without a problem.
>> : But sometimes, attempts to cut from an MS app to a Xvnc session result in
>> : pasting only the previously-cut Xvnc text.
>> : Any ideas?
>> 
>> Soit'ny.  It sounds like the "cutbuffer vs primary selection" problem.
>> X windows is such a huge collection of kludges on top of kludges that
>> there are several ways that various applications treat cut and paste.
>> Some use an X facility called the "cutbuffer".   Some use a capability
>> called "selection".  Some use both.
>> 
>> Xvnc / vncviewer uses the cutbuffer.  Netscape and some other appliations
>> use the primary selection instead.  The xterm program uses both.
>> 
>[snip]
>> 
>> It's clumsy, and I've wished Xvnc / vncviewer would act more like xterm,
>> and try to use both in a more DWIM manner...  but I can sympathize; it's
>> a complicated issue.  Complicated because X has suffered so severely
>> from code and feature bloat.  As the old saying goes, "nine out of every
>> ten pointers point at something in X."  So far, I've just learned to live 
>> with the xcutsel solution. 
>> 
>
>I agree that it seems like Xvnc should support, meaning read and write
>to, both the cutbuffer and selection mechanisms.  The strange thing is
>that from the source code it already *appears* to do this. 
>Unfortunately,
>I have not had the time to track this down thoroughly.  Maybe there was
>some unexpected side-effect from the original implementation and it had
>to be turned back off.

Actually, it appears to work ... most of the time.  Quicking vncviewer and
restarting it appears to work around the problem.

So, it looks like something is getting lost, either in vncviewer.exe or in
Xvnc.

A previous poster asked what OS ... Windows 2000 is what the MS laptop is
running.  I'm not sure if it happend with NT 4.0, but neither him nor I are
using that.  I have yet to duplicate his problem, but I sure did witness it!

     - Jeff
---------------------------------------------------------------------
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
---------------------------------------------------------------------