Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionDaniel Villeneuve
2016-01-21 03:40:50 UTC
Created attachment 1116776[details]
Makefile + slow-readline.c to demonstrate slow readline behavior
Description of problem: when using readline to read lines in an application, the behavior is exceedingly slow when pasting text using the mouse
Version-Release number of selected component (if applicable): 6.2
How reproducible: compile the small program attached, run it, type in some lines followed by newlines, use Ctrl-p to recuperate past lines (this should be fast), then type a long line and <newline>, then cut-and-paste that line using the mouse (this should be slow).
Steps to Reproduce:
0. cd /tmp && tar jxf slow-readline.tar.bz2 && cd slow-readline
1. make
2. ./slow-readline
3. follow instructions in preceding paragraph
Actual results:
- fast with Ctrl-p
- slow with mouse pasting
Expected results:
- fast with Ctrl-p and with mouse pasting (as in bash, for example)
Additional info:
Comment 1Daniel Villeneuve
2016-01-21 03:42:18 UTC
Comment 3Daniel Villeneuve
2016-08-11 18:08:11 UTC
The problem is still there with the latest RH7.2 updates.
uname -a
Linux XXXX 3.10.0-327.28.2.el7.x86_64 #1 SMP Mon Jun 27 14:48:28 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
rpm -qa|grep readline
readline-devel-6.2-9.el7.x86_64
readline-6.2-9.el7.x86_64
readline-6.2-9.el7.i686
Comment 4Siteshwar Vashisht
2017-01-31 14:31:24 UTC
Verified,
OLD FAIL the insertion was slow, the text appeared slowly - letter by letter.
NEW PASS the insertion was fast, whole line just appear at once.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2017:1943