Brian, I believe xwinclip Test02, http://xfree86.cygwin.com/devel/xwinclip/, takes care of issues 1 and 2. However, I have not yet been able to duplicate issue 3; an easy to duplicate test case for 3 would be appreciated.
Harold > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Genisio > Sent: Wednesday, October 10, 2001 1:57 PM > To: Brian Genisio; [EMAIL PROTECTED] > Subject: Re: XWinClip and Emacs > > > Ok, I looked at these issues more... I havent figured out the > reason for #3 > yet, but I have figured out #1 and #2. > > #1 : Windows puts a \r\n at the end of each new line. XWinclip > should strip > the \r characters after it receives it from the Windows > clipboard, but before > it sends it to the X server. > > #2 : When Xwinclip calls XChangeProperty, to set the string, it sends > pszGlobalData, with a length of strlen(pszGlobalData) + 1. The + > 1 adds the > null terminator. I do not think this is necessary. If it is > included this > way, the null terminator is added to the PASTE operation in X. Emacs, for > instance, will display this as \@. > > I will fix these issues sometime soon, if no one else gets to > them, and send > them to the group. Issue #3, I have not really looked at yet. > > Thanks, > Brian > > > --- Brian Genisio <[EMAIL PROTECTED]> wrote: > > Harold (and the rest of y'all), > > > > XWinClip is a great thing!!! Many praises for the development > of it. I know > > it is still in development, but I thouhgt I would bring up a > few issues to > > add > > to the bug-tracking of the project : > > > > 1. In Emacs (linux and solaris tested), if you paste from > Windows, you get > > the > > ^M character appended at the end of each line. > > > > 2. In Emacs (linux and solaris tested), if you do any pasting, > whatsoever, > > the > > ^@ character is appended to the end of each selection. > > > > 3. When a selection is made, the visibility of the selection is > immediately > > taken away. Functionaly, this seems OK, but I did find a place > where this > > caused an issue... I am sure there are more... : I found a > TCL/TK GUI that > > has > > a listbox in it. On a mouse click, the code gets the current > selection, and > > chooses what to do with it. Since the selection is no longer > highlighted, > > the > > TK GUI no longer knows what has been selected. > > > > Please note, I am not complaining. This tool is a great time > saver!!! I > > just > > wanted to make a note of some more known issues. If I get a > moment, I will > > take a look into fixing these issues. > > > > Thanks, > > Brian > > > > > > __________________________________________________ > > Do You Yahoo!? > > Make a great connection at Yahoo! Personals. > > http://personals.yahoo.com > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com
