bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Small workspace of an example from "APL in Exposition" cor


From: Juergen Sauermann
Subject: Re: [Bug-apl] Small workspace of an example from "APL in Exposition" corrupts keyboard input after reload
Date: Sat, 15 Feb 2014 20:06:03 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Jean-Pierre,

I have debugged the matter a little further.

It seems like the readline library sometimes skips too few characters.

For example, after entering

      ∇C[⎕]∇

and then recalling the line and deleting the last character with Backspace,
the new line should be:

      ∇C[⎕]

However, it is actually ∇C[⎕] plus the first two bytes of the trailing ∇ (which has
3 bytes in UTF8 encoding). So the backspace only deletes the last byte instead of the last char.

I have no explanation yet why this occurs only after )LOADing a workspace.

As a short-term work-around I am now discarding the last char and print a short message,
rather than Assert()ing, see SVN 126. The behavior on my machine seems to be somewhat
different from yours.

I have put the issue on my mid-term TODO list. It could be that I have to remove
use of libreadline completely, which takes a while.

/// Jürgen


     
On 02/12/2014 09:07 PM, ds.jaypee wrote:
Hallo Jürgen,
I confirm that the crash is resolved.
However, the APL input corruption is still present.
Basically after reload, you cannot type any new APL character

Here is a screen dump, in case you cannot reproduce it in your environment:
Best regards,
Jean-Pierre



reply via email to

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