[Top][All Lists]

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

Re: [Bug-apl] Line folding bug in Terminal display in Mac

From: Juergen Sauermann
Subject: Re: [Bug-apl] Line folding bug in Terminal display in Mac
Date: Fri, 28 Mar 2014 17:51:05 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Peter,

interesting. Looks OK in my xterm. I would do the following:

1. do command

      )COLOR OFF

in GNU APL to make sure that your terminal is not confused by escape sequences for colors.

2. Forward GNU APL output to a file:

echo "⍳50" | apl > file

This is to see if the empty lines contain blanks.

The output line wrapping is done in  constructor UCS_string::UCS_string(const PrintBuffer  & pb ...);
Generally PrintBuffer (a two-dimensional character array for formatting
APL values) is responsible for printing and aligning of APL values.

/// Jürgen

On 03/27/2014 06:22 PM, Peter Teeson wrote:
Using OS X 10.8.5 Mountain Lion and GNU APL 1.2

My Terminal is set to xterm-256color but the same issue occurs with it set to VT100
The initial window size is 80 x 37
Start apl and type ⍳50    ( in case it doesn't display in your email I typed the APL iota 50)

Note the extra blank line

Make the window wider - say 101x38
type ⍳100  (iota 100)

Note that now there is an addition blank line

The larger the ⍳ the more blank lines - try ⍳1000 (⍳1000)

Here is a Grab of the Terminal window

I have been able to build, debug, launch  GNU APL using Apples development IDE called Xcode.
So if you point me at the correct file on which to place breakpoints maybe I can help in finding out what's going on.



reply via email to

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