------------------------------------------------------------------------------- Xterm to Xterm Text Paste Problem The problem is one I have seen for years and have no solution for. The problem occurs when you select more than 1 Kbytes of text at the same time from an xterm window, and then try to paste it into a xterm command that is reading standard input directly from the xterms (cooked) tty device. This includes UNIX command line "mail" command, or "cat >file" type commands. Example: in one xterm select at least 40 longish lines of text, in another type cat>file and paste the text and then type ^D to end the text insert. The recieving xterm will display all the lines of the pasted text EXCEPT the last buffer, but the file the "cat" command create will only show the last 1Kbyte or so (prehaps with some overlap with the text that was actually displayed during the paste). The buffer saved started at the line boundary as is the text that was printed during the insert. The problem disappears if the amount of selected text is less than about 1Kbyte in size, the selected text is NOT coming from a xterm (EG: postit note, or web browser etc) and/or the destination is into something other than a command directly reading from the recieving xterms tty (EG: pasting into a "vim" running in a xterm is fine, but a "cat" command reading stdin fails). It does NOT matter is the text is being transfered between two different xterms or the same xterm. The result is that only the last 'buffer' of the text being transfered via the X window system is actually inserted even though the recieving xterm may or may not show all the text that was selected. Workaround... Don't insert text in "cat", but start an editor like "vim". Otherwise you will need to select and paste small amounts of text at a time. (Yuck) -------------------------------------------------------------------------------