Bug 84429

Summary: Cut/paste corrupts long lines
Product: [Retired] Red Hat Linux Reporter: David Woodhouse <dwmw2>
Component: vteAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 9CC: per
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-09 16:26:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Woodhouse 2003-02-16 20:29:02 UTC
Description of problem:
gnome-terminal inserts extra carriage returns into pasted text if there's
whitespace in the right-hand column when a long line wraps.

Version-Release number of selected component (if applicable):
gnome-terminal-2.1.4-1
vte-0.10.10-1

How reproducible:
100%

Steps to Reproduce:
1. In an xterm with 80 columns, run the command:
echo
"1234567890123456789012345678901234567890123456789012345678901234567890123456789
1234567890123456789012345678901234567890123456789012345678901234567890123456789"

2. Select the output of the above command, paste it back into a terminal.
3. Repeat with an 80-column gnome-terminal.
    
Actual results:
echo 12345678901234567890123456789012345678901234567890123456789012345678901234
12345678901234567890123456789012345678901234567890123456789012345678901234
imladris /home/dwmw2 $
1234567890123456789012345678901234567890123456789012345678901234567890123456789
-bash2:
1234567890123456789012345678901234567890123456789012345678901234567890123456789:
command not found


Expected results:
imladris /home/dwmw2 $ echo
12345678901234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234567890123456789
12345678901234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234567890123456789
imladris /home/dwmw2 $ 

Additional info:

Comment 1 David Woodhouse 2003-02-16 20:34:11 UTC
Argh. I changed the command used to 'echo "echo...' but forgot to update the
report. Should be obvious enough what I meant anyway.

echo "echo
12345678901234567890123456789012345678901234567890123456789012345678901234
1234567890123456789012345678901234567890123456789012345678901234567890123456789"

(no newlines, only single spaces).


Comment 2 Ray Strode [halfline] 2004-11-09 16:26:39 UTC
This works now, I think.

Comment 3 Ray Strode [halfline] 2004-11-09 17:49:28 UTC
*** Bug 84035 has been marked as a duplicate of this bug. ***