Hi!

Did once some testing and steppings through that strange
copy-paste-behaviour.
This is what I found out:

Step 1.1        Windows:        VNC-Viewer start
Step 1.2        VNC-Viewer:     open terminal aixterm
Step 1.3        aixterm:        mark a line of characters (implied xopy within
X) (just single click and mark the rest of the line)
Step 1.4        notepad:        paste (copy line from Step 1.3 correctly)
Step 1.5        aixterm:        repeating Step 1.3 on a different line
Step 1.6        notepad:        paste not correct: the line from Step 1.3 gets
inserted, not the new, different one
Step 1.7        aixterm:        mark new line, starting the marking process
with a double click.
Step 1.8        notepad:        paste line from Step 1.7 gets correctly
inserted.

Conclusion 1: the first mark with single click works. Subsequent marks (copy
within vncviewer)need to be "started" with double click.

BUT:            Doing again Step 1.1 through 1.4, then:
Step 2.1        notepad:        Mark some lines within notepad, and copy
Step 2.2        aixterm:        paste into file, open with vi: correct insert
(or even no paste action at all works the same)
Step 2.3        aixterm:        mark line with single click
Step 2.4        notepad:        paste line: correct insert into notepad

Conclusion 2: when a copy/paste event from vnc-viewer to Windows apps is not
beeing repeated, but the "direction" being reversed, meaning copy/paste from
Windows app to vncviewer, a new, normal single click for marking and copying
within vncviewer and a paste within Windows apps works again.
Yet, a subsequent copy/paste directly from vncviewer to a Windows apps would
result as described in Step 1.6, exept it is done as in Step 1.7.

Single click marks only works, when each copy paste from vncviewer to windows
apps gets "interrupted" by a copy/paste event from Windows apps to vncviewer.


Was I clear? :-)

But, we all like VNC. It's a great tool

Happy 'puting,
Lukas

-----Urspr|ngliche Nachricht-----
Von: vnc-list-ad...@realvnc.com [mailto:vnc-list-ad...@realvnc.com] Im Auftrag
von Hao Yu
Gesendet: Mittwoch, 15. April 2009 13:00
An: paresh masani
Cc: Williams, Chris (Marlboro); vnc-list@realvnc.com
Betreff: Re: Copy-Paste is not working from Real VNC session

Hi:

Could you look into it further to see whether the buffer is used in a
circular style (i.e. if the buffer is insufficient, the previous content is
flushed)?

These days I'm also trying to modify the RealVNC code, but I even can't
successfully build vnc4 on Ubuntu 8.10 :-(

Thanks,
Hao Yu

2009/4/15 paresh masani <masanipar...@gmail.com>

> >>I'm not aware of any buffer limit.
> Thanks Chris for reply but I could see from source code that there is a
> buffer limit:
>
> From unix/common/rfb/SMsgReader.cxx : static IntParameter
> maxCutText("MaxCutText", "Maximum permitted length of an incoming clipboard
> update", 256*1024);
>
> From unix/unix/tx/TXWindow.cxx : XGetWindowProperty(dpy, win(),
> ev->xselection.property, 0, 16384, True, AnyPropertyType, &type, &format,
> &nitems, &after, &data);
>
> I don't know why this limit is? Can't Real VNC just reset the buffer once
> limit is reached or overwrite previous clipboard contents? Please let me
> know if any one have some idea on this.
>
> Thanks,
> Paresh
>
>
>
>
>
>
> On Wed, Apr 1, 2009 at 11:30 PM, Williams, Chris (Marlboro) <
> christopherb.willi...@amd.com> wrote:
>
> > I'm not aware of any buffer limit. But I do know that the Windows
> > copy/paste subsystem and it's interaction with various applications like
> > RealVNC and cygwin X11 can be described as flaky at best.
> > I've noticed some clipboard behavior improvement by shuting down the
> > Office Clipboard.
> >
> > -Chris
> >
> > -----Original Message-----
> > From: vnc-list-ad...@realvnc.com [mailto:vnc-list-ad...@realvnc.com] On
> > Behalf Of paresh masani
> > Sent: Wednesday, April 01, 2009 3:42 AM
> > To: vnc-list@realvnc.com
> > Subject: Copy-Paste is not working from Real VNC session
> >
> > Hi,
> >
> > We have been facing this issue since long. I think, some buffer limit is
> > there for copying the data from realvnc session to clipboard. We cannot
> > copy
> > more than that limit. After that limit reached, we have to restart the
> > realvnc session to make it work again. Please let me know if I am
> > missing
> > any thing. Could any one please suggest any permanent solution for this.
> >
> > Thanks,
> > Paresh
> >  _______________________________________________
> > VNC-List mailing list
> > VNC-List@realvnc.com
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list
> >
> >
> >
> _______________________________________________
> VNC-List mailing list
> VNC-List@realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
>
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Disclaimer:

Diese Nachricht und ihr eventuell angehdngte Dateien sind nur f|r den
Adressaten bestimmt. Sie kann vertrauliche oder gesetzlich gesch|tzte Daten
oder Informationen beinhalten. Falls Sie diese Nachricht irrt|mlich erreicht
hat, bitten wir Sie hvflich, diese unter Ausschluss jeglicher Reproduktion zu
lvschen und die absendende Person zu benachrichtigen. Danke f|r Ihre Hilfe.

This message and any attached files are for the sole use of the recipient
named above. It may contain confidential or legally protected data or
information. If you have received this message in error, please delete it
without making any copies whatsoever and notify the sender. Thank you for your
assistance.
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to