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