Links:

I just posted Test 02 to the xwinclip development page:
http://xfree86.cygwin.com/devel/xwinclip/

xwinclip binary and source code releases are available via the
sources.redhat.com ftp mirror network
(http://cygwin.com/mirrors.html) in the
pub/cygwin/xfree/devel/xwinclip/ directory.  You may wish to note the
desired filename in the links below, then download from your
closest mirror (http://cygwin.com/mirrors.html).

xwinclip binary, direct link:
http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-Test02.exe.bz2 (4 KB)

Server source, direct link:
http://www.msu.edu/~huntharo/xwin/xwinclip/xwinclip-20011022-1832.tar.bz2 (5
KB)


Changes:

1) xwinclip.c - Line 327 - Pass strlen (pszGlobalData) instead of
strlen (pszGlobalData) + 1 to XChangeProperty ().  This eliminates the
trailing ^@ when pasting to certain X applications, such as Emacs.
(Brian Genisio, Harold Hunt)

2) xwinclip.c - Add DOStoUNIX () function to change \r\n to \n when
copying text from the Windows clipboard to an X client.  Call the
function right before calling XChangeProperty ().  (Harold Hunt, Brian
Genisio, Cygwin)


Enjoy,

Harold

Reply via email to