bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Can't break out of the middle on a display operation


From: Blake McBride
Subject: Re: [Bug-apl] Can't break out of the middle on a display operation
Date: Tue, 8 Jul 2014 12:59:53 -0500

I just tried this on IBM APL 2 on a machine with much less memory than the machine I use for GNU APL.  Interestingly, the ⍳1000000 had no delay.  It started printing immediately.  Perhaps we can use a different algorithm for display.  One that starts printing immediately, and one that, presumably, doesn't require a buffer large enough to hold the formatted display.  This, of course, is a separate issue.

Thanks.

Blake



On Tue, Jul 8, 2014 at 12:50 PM, Blake McBride <address@hidden> wrote:
If I do:

      z←⍳1000000

the operation is very fast.  But if I do:

      ⍳1000000

it is very slow, presumably because it is formatting the whole thing for display.  No problem.

The problem is that during its effort to format for display, I cannot use ^C.  ^C appears to work fine in normal situations - but not during the format for display time.  During format-for-display time ^C is ignored.

This caused me a problem when I accidentally mis-typed something.  The mis-type caused something very large to be displayed.  In fact, it was so large that my machine started paging.  I was unable to use ^C to stop it.  After waiting an hour, I had to kill the process and loose my work.

Thanks.

Blake



reply via email to

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