octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37450] Slow paste behavior for GUI terminal


From: John Swensen
Subject: [Octave-bug-tracker] [bug #37450] Slow paste behavior for GUI terminal
Date: Thu, 27 Sep 2012 19:21:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

URL:
  <http://savannah.gnu.org/bugs/?37450>

                 Summary: Slow paste behavior for GUI terminal
                 Project: GNU Octave
            Submitted by: jpswensen
            Submitted on: Thu 27 Sep 2012 03:21:33 PM EDT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: John Swensen
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

There is currently a bug in GNU Readline that causes the terminal behavior of
the GUI to be slow when sending text to the terminal. common occurrences of
this is pasting to the terminal and executing history items. See
https://mailman.cae.wisc.edu/pipermail/octave-maintainers/2012-September/030316.html
where jwe pointed out the GNU Readline message board discussion about the
bug.

Because I don't know when this bug will get fixed in their sources and
propagated to various Linux distributions, I proposed the following patch to
solve the problem. The basis of the patch is to send an additional string to
the terminal that consists of a space and a backspace. This makes it so that
every operation that sends text to the terminal in bulk with have a delay that
is 0.1 seconds times two (the number of characters in the last string). 
Currently the delay would be 0.1 seconds time however many characters are in
the last line of text sent to the terminal.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37450>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]