Re: 2.3.2.1 & copy/paste
Re: 2.3.2.1 & copy/paste
- Subject: Re: 2.3.2.1 & copy/paste
- From: Nathan <email@hidden>
- Date: Fri, 27 Mar 2009 16:44:01 -0600
On Fri, Mar 27, 2009 at 4:37 PM, Marco S Hyman <email@hidden> wrote:
> On Mar 27, 2009, at 3:21 PM, Nathan wrote:
>
>> Now if only Terminal.app wouldn't discard random chunks of text when
>> you paste large amounts into it, the _entire_ OS X clipboard
>> experience would be stellar! ;-)
>
> Random? I though it just didn't like tab characters.
> Cut "foo bar" (there is a ^I in there) and paste it
> into a terminal.
>
> // marc
>
I finally went out and officially filed this one. I thought I had
filed it a long time ago (weird). Here's the text of my bug. Go
ahead and try it out yourself. You'll get different results every
time you paste--that's the "random" part. It looks like it's just
buffering clipboard data enroute to Terminal.app and discarding any
data that overflows the buffer if the buffer isn't getting emptied
quickly enough--but that's just my speculation.
(oh, and if you're not an emacs user, use C-x C-c to quit out of it afterwards)
rdar://6732562
27-Mar-2009 04:40 PM Nathan Stocks:
Summary:
Pasting a large amount of text into Terminal.app loses almost all of
the text over a certain amount.
Steps to Reproduce:
1) Generate a file with the numbers from 1 to 100,000 each on their
own line and name it testfile.txt
[*********
If you don't happen to have such a file, you can easily generate it
with the following command in Terminal.app
for i in `jot 100000 1 100000` ; do echo $i >> testfile.txt ; done
*********]
2) Open the text file testfile.txt and copy all of the text in the
clipboard (Cmd-a, Cmd-c)
3) Open Terminal.app and open any terminal-based application that
accepts text. I used the built in /usr/bin/emacs for my testing.
4) Paste the copied numbers into the terminal-based application.
Expected Results:
The terminal-based application receives the text of lines with numbers
1 through 100,000 on them.
Actual Results:
Notice that you don't get the full 1 through 100,000 like you copied
from the original file. On my MBPro it typically stops at about the
line reading "1040" and then posts a few more random lines from the
remaining text.
Regression:
Terminal.app in Tiger did not exhibit this behaviour (but Terminal.app
has been substantially rewritten, so it's not really the same app as
back then).
Notes:
I would be happy to provide more examples, use-cases, or test things
out. I can even provide a screencast movie file if you'd like to see
the bug in action. If there's anything I can do to help, just let me
know.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden