Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: dshr@eng.sun.COM (David Rosenthal) Newsgroups: comp.windows.x Subject: Re: What stty/SET TERM settings for long pastes? Message-ID: <9101100137.AA12145@devnull.Eng.Sun.COM> Date: 10 Jan 91 01:34:23 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 > I didn't get the beginning of this thread, but am I correct in assuming > that you want to be able to cut/paste more than MaxSizeRequest bytes of > data? If so, I'd be very interested in how you do this. My solution > (which I don't like) is to simulate selections using properties and > ClientMessages. Instead of calling XConvertSelection the first client > sends a ClientMessage and then blocks waiting for a ClientMessage which > encodes the number of pieces into which the data is divided. Then the > data is transferred one piece at a time as a round trip (i.e., the > cutting client must wait for acknowledgement of the receipt of each > segment of data before it sends the next segment); this allows the pasting > client to assemble the data in the proper order. I am very interested > in this because it cuts to the heart of what I am trying to do now. This is the wrong thing to do. Read the ICCCM, section 2.7.2 [pg 504 in the Digital Press 2nd edition] for information on INCR properties. David.