|
From: | Rik |
Subject: | Re: slow input |
Date: | Tue, 02 Apr 2013 15:00:54 -0700 |
On 04/02/2013 02:24 PM,
address@hidden wrote:
4/2/13Message: 6 Date: Tue, 02 Apr 2013 16:24:47 -0500 From: Daniel J Sebald <address@hidden> To: address@hidden Subject: 300 baud V.21 terminal emulation Message-ID: <address@hidden> Content-Type: text/plain; charset=ISO-8859-1; format=flowed When copying a command into the IDE/GUI terminal that has a lot of non alpha-numeric characters such as parentheses and brackets, the processing is really slow. Something like this: qtinputdlg ({"Einstein:","Newton:","Planck:"}, "Most General Example", [1 7; 1 11; 1 20], {"E = m c 2","F = G m1 m2 / r 2","B = 2 h v 3 / (c 2 (e^(h v/(k T)) - 1))"}) takes several seconds to process. A stream of text zips in up to the closing bracket, then stops for a half second. Then another stream of text until a bracket is encountered. Etc. Copying into a shell command line is speedy in the most recent source. However, I think I've seen a similar sort of thing even when not running the GUI on a version from a couple weeks ago. Does anyone know why that is happening? Dan, I've been seeing this too in both the GUI and the CLI version of Octave. I thought it was just me, because I just upgraded my OS, but maybe it is more general. Have you tried starting octave with '--no-line-editing' which disables Readline? That fixes the problem for me, but I really rely on the readline library so it isn't a good long term solution. --Rik Dan |
[Prev in Thread] | Current Thread | [Next in Thread] |