⎕SR not returning valid terminating keystroke

Using Dyalog under 'nixes

⎕SR not returning valid terminating keystroke

Postby David Lamkins on Sun Sep 02, 2012 5:37 am

Dyalog APL/S Version 13.1.14064
Unicode Edition

Here's what I'm seeing:

      ⎕SM←'stuff' 2 3 ⋄ ⎕sr 1                                                   
1 1 1 0 0

Note that ⎕SR[4] is always empty. I expect to see one of 'ER', 'EP' or 'QT' depending upon which exit key I use.

The same behavior obtains with dyadic ⎕SR, e.g. as in the smdesign workspace (which requires a minor tweak to make it function at all under Linux).
David Lamkins
Posts: 21
Joined: Sun Aug 26, 2012 7:08 am

Re: ⎕SR not returning valid terminating keystroke

Postby AndyS|Dyalog on Mon Sep 03, 2012 1:26 pm

I've logged this as 008734: Linux only: in optimised builds ⎕sr always returns an empty 4th element and we'll let you know when we have a fix.
It's fine on AIX and Windows (and on the Linux debug versions which we build for in-house use).
User avatar
Posts: 250
Joined: Tue May 12, 2009 6:06 pm

Return to UNIX and Linux

Who is online

Users browsing this forum: No registered users and 0 guests