Re: [Bug-apl] Print width

2014-02-13 Thread Kacper Gutowski
On 2014-02-13 16:47:10, Juergen Sauermann wrote: > Not sure, though, what is wrong with: > > ⎕PW⍴'=' > == Oh, absolutely nothing, it was just a visual aid to show where ⎕PW ends. Sorry for confusion, and thanks for the fixes. -k

Re: [Bug-apl] Print width

2014-02-13 Thread Juergen Sauermann
Hi Kacper, I have rewritten the ⎕PW line break algorithm. A problem remaining is that there seems to be no precise description of how this should look like, in particular for nested arrays. The old algorithm tried to not break nested arrays (which caused the output to be longer than ⎕PW if a

Re: [Bug-apl] Print width

2014-02-02 Thread Kacper Gutowski
As of revision 116, the problems with wrapping mixed arrays whose ⍕ is of ⎕PW width (or ⎕PW-1 before r113) still persist. But there is another issue with wrapping which I think may be related. When displaying nested vector whose elements are vectors, only the first element is treated as expected.

Re: [Bug-apl] Print width

2014-01-29 Thread Juergen Sauermann
Hi Kacper, I see. I have changed back to the old ⎕PW behavior and made 79 the default ⎕PW value. SVN version 113. /// Jürgen On 01/28/2014 08:55 PM, Kacper Gutowski wrote: On 2014-01-28 14:23:01, Juergen Sauermann wrote: that was on purpose because the default ⎕PW is 80 and on some 80 column

Re: [Bug-apl] Print width

2014-01-28 Thread Kacper Gutowski
On 2014-01-28 14:23:01, Juergen Sauermann wrote: > that was on purpose because the default ⎕PW is 80 and on some > 80 column terminals this causes an extra empty line to be printed. If there are terminals like that, wouldn't it be easier to just initialize ⎕PW to 79 while keeping relation between

Re: [Bug-apl] Print width

2014-01-28 Thread Juergen Sauermann
Hi, that was on purpose because the default ⎕PW is 80 and on some 80 column terminals this causes an extra empty line to be printed. /// Jürgen On 01/28/2014 01:18 PM, Kacper Gutowski wrote: Hi, After lines are neatly wrapped in r109 in SVN, but I think there's some off by one error; it beha

[Bug-apl] Print width

2014-01-28 Thread Kacper Gutowski
Hi, After lines are neatly wrapped in r109 in SVN, but I think there's some off by one error; it behaves as if ⎕PW was ⎕PW-1. ⎕PW⍴'X' XXX X -k