Bug 5308 - gnome-terminal doesn't handle large (>4096 byte) pastes correctly.
gnome-terminal doesn't handle large (>4096 byte) pastes correctly.
Product: Red Hat Linux
Classification: Retired
Component: gnome-libs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
Depends On:
  Show dependency treegraph
Reported: 1999-09-22 12:43 EDT by David Woodhouse
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-25 18:54:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Woodhouse 1999-09-22 12:43:26 EDT
1. Select a large amount of text.
2. Type 'cat > testfile' in a gnome-terminal
3. Point at your gnome-terminal and press the middle mouse
4. Observe that only the first 4096 bytes of the text appear
to have been pasted.

Strangely, the actual size of the file sometimes appears to
end up correct - as if only the screen update is buggy. This
appears to depend on architecture. gnome-core-1.0.4 on sparc
appears to end up with the correct filesize, although it
still doesn't display correctly. gnome-core-1.0.4 on alpha,
and gnome-core-1.0.7-2 on i686 both end up with 4096 byte

I used xemacs as the source of the text, and verified that
it's not emacs' problem by trying the 'cat' in an xterm.
Comment 1 David Woodhouse 1999-10-19 11:47:59 EDT
Fixed in October-GNOME.
Comment 2 Elliot Lee 1999-10-29 11:57:59 EDT
Reporter has indicated this is fixed in OG (which will go into updates
Comment 3 David Woodhouse 2001-11-06 05:44:06 EST
Seems to be broken again in the 7.2 release.
Comment 4 Havoc Pennington 2001-11-14 11:27:33 EST
reassign to hp
Comment 5 Joe Harrington 2002-01-04 12:28:49 EST
I confirm the behavior in 7.2, and it is severely cramping my style!

Comment 6 Havoc Pennington 2002-02-25 18:54:12 EST
I spent some time looking at zvt code but couldn't figure out what would cause
this. Will look at it more.
Comment 7 Havoc Pennington 2002-03-05 17:22:00 EST
Should be fixed in gnome-libs-

I was looking at the X paste code, but the actual problem was
failure to use write() correctly when sending data to the child 
process inside the terminal.

Note You need to log in before you can comment on or make changes to this bug.