Re: kernel development environment

From: Baruch Even
Date: Sun Dec 05 2004 - 16:31:51 EST


Michal Schmidt wrote:
Lee Revell wrote:

diff foo bar | xclip works perfectly with my mailer and does not
require a temporary file.


Pasting from xclip to Mozilla Thunderbird works for me IFF the selection is 4096 bytes or less. But it looks like a bug in xclip, not Mozilla. Try this:

$ (for i in `seq 1 4096`; do echo -n 'a'; done) | xclip
$ xclip -o
aaaaaaaaaaaa......aaa

$ (for i in `seq 1 4097`; do echo -n 'a'; done) | xclip
$ xclip -o
[hangs]

This is with SuSE 8.2 and xclip from a Debian package xclip_0.08-4_i386.deb .

I've done some work on xclip in Debian so I thought to test it. It doesn't happen to me on my Debian testing with xclip 0.08-4

After 4k of transfers the clipboard protocol means sending multiple messages, I've did some fixes in that area a while ago and didn't hear of any problems in that area.

I'd be happy to hear of such problems, directly or in the Debian BTS.

Baruch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/