Re: [Bug-apl] ⎕FIO[1] behavior

2016-12-24 Thread David B. Lamkins
Thank you. On Sat, Dec 24, 2016 at 05:25:54PM +0100, Juergen Sauermann wrote: > Hi David, > > thanks, fixed in SVN 827. > > I believe the reason was that some ⎕FIO functions return valid positive > integers but can also > fail (with an also positive errno). To distinguish between errrors and int

[Bug-apl] ¯4 ⎕DLX

2016-12-24 Thread Juergen Sauermann
Hi, I have added ¯4 ⎕DLX B. It simplifies the presetting of values for a given constraints matrix B. This can be useful, for example, for Sudokus to place the given digits into the contraints matrix of an empty Sudoku. The solving of Sudo

Re: [Bug-apl] ⎕FIO[1] behavior

2016-12-24 Thread Juergen Sauermann
Hi David, thanks, fixed in SVN 827. I believe the reason was that some ⎕FIO functions return valid positive integers but can also fail (with an also positive errno). To distinguish between errrors and integer results I made all errors neg

Re: [Bug-apl] How to set the screen width in APL interpreter

2016-12-24 Thread Juergen Sauermann
Hi Alexey, I do not think this is a good idea. I believe many people will be surprised if ⎕PW is different from 80. And GNU APL does not necessarily run in a terminal. In my experience, the terminal width is a fairly unreliable parameter

Re: [Bug-apl] How to set the screen width in APL interpreter

2016-12-24 Thread Alexey Veretennikov
Thanks! Both versions works for me on OSX, however on my small linux box tput is not available while ⎕FIO¯8 works fine. Jurgen, maybe it could be added as a default configuration for GNU APL interpreter? From usability point it rather confusing to set this variable manually (right now I did it in