After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101761 - Extra spaces when pasting into word wrapping editor
Extra spaces when pasting into word wrapping editor
Product: gnome-terminal
Classification: Core
Component: general
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Reported: 2002-12-21 22:15 UTC by Bryce Harrington
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.0

Description Bryce Harrington 2002-12-21 22:15:30 UTC
Description of Problem:  
When pasting text from clipboard into the term  
when its running a word wrapping editor such  
as vi or emacs, the terminal tends to add extra  
spacing at start of line.  
Steps to reproduce the problem:  
1. Copy text such as the following into buffer:  
 * Indented  
 * Indented2  
 * Indented3  
2. In a gnome-terminal window, open 'emacs -nw'  
or vi, with word wrapping activated.  
3. Paste text from buffer into terminal window.  
(e.g., click middle mouse)  
Actual Results:  
 * Indented  
  * Indented2  
   * Indented3  
Expected Results:  
 * Indented  
 * Indented2  
 * Indented3  
How often does this happen?   
Consistently, whenever pasting text in.  
Additional Information:  
gnome-terminal 2.0.1 on Mandrake 9.0, running  
stock KDE and emacs 21.2.1 or vim 6.1.165  
Same steps were tested on konsole, Eterm, xterm, 
and RXVT using same programs, pasted text, and 
environment; only gnome-terminal exhibited the 
Comment 1 Alex Duggan 2002-12-21 22:24:39 UTC
Are you using vte or libzvt?
Comment 2 Bryce Harrington 2002-12-21 22:26:57 UTC
{bryce@sherborne} ~       (1): rpm -qa | grep vte 
{bryce@sherborne} ~       (2): rpm -qa | grep zvt 
Comment 3 Mariano Suárez-Alvarez 2004-04-28 21:19:44 UTC
I cannot reproduce this as of 2.6.0. Can anyone? I think Nalin changed something
related to this...
Comment 4 Mariano Suárez-Alvarez 2004-07-09 22:25:11 UTC
Hmm. Bryce was using zvt, and we don't actually use it any more.
vte does not have this issue, so I'll close this.