Bug 82907 - gnome-terminal handles input slowly and slows down as lines become long
gnome-terminal handles input slowly and slows down as lines become long
Product: Red Hat Raw Hide
Classification: Retired
Component: vte (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
Depends On:
  Show dependency treegraph
Reported: 2003-01-28 07:01 EST by Luca Barbieri
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-09 11:08:06 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 Luca Barbieri 2003-01-28 07:01:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030117

Description of problem:
gnome-terminal seems to handle cursor moving, insertion and pasting with worse
than O(n) algorithms where n is the length of the current line.

Furthermore such algorithms are slow even at the start of the line.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Paste a string several thousands characters long in gnome-terminal
2. Move with the left/right arrows within it


Actual Results:
Pasting is very slow, and becomes even slower as the operation progresses. The
screen is redrawn after every character

Moving is also very slow. If you press an arrow several times and then stop,
gnome-terminal is so slow that it will continue to process the old keystrokes
for some time.

Expected Results:  Both operations should happen instantaneously.
The screen should only be redrawn when the whole string has been pasted.
Comment 1 Luca Barbieri 2003-01-28 16:49:00 EST
s/worse than O(n)/non-constant time, probably O(n)/
Comment 2 Nalin Dahyabhai 2003-05-22 16:47:01 EDT
Is this at a shell prompt?  If so, then it's probably specific to the shell
rather than the terminal.
Comment 3 Ray Strode [halfline] 2004-11-09 11:08:06 EST
Hi Luca,

This does not appear to be a bug in gnome-terminal or vte.

If I type "cat" at the prompt and paste a line of text that is several
thousand characters long there is no noticeable delay in the text
getting pasted.

I'm going to close this bug, but if you are still experiencing this
problem, feel free to open a bug against the shell that you use.


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