bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] trying to run gnu-apl on a Mac


From: Dr . Jürgen Sauermann
Subject: Re: [Bug-apl] trying to run gnu-apl on a Mac
Date: Sat, 13 Apr 2019 23:08:07 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Hi Jeff,

regarding )IN if I remember correctly then (relative) file names of .atf files are from some root directory
as shown by )LIBS. If that does not work then try absolute file names (i.e. starting with / ).

The .atf files read by )IN are not supposed to be utf-8 encoded. )IN also does some translation
from the IBM code pages to the proper unicode characters, I was able to read some IBM APL2
files that were shipped with the APL2 evaluation package, e.g. workspace DISPLAY.

On the other hand ⎕FIO[49] probably assumes an utf-8 encoded text file. For reading bytes,
⎕FIO[41] may be a better choice.

I would assume that using )IN is much simpler than using ⎕FIO[49] and if that fails then
I would like to know about and fix it.

If you need more help, please don't hesitate to ask.

Best Regards,
Jürgen Sauermann



On 4/13/19 10:47 PM, Jeff Derby wrote:
hello,

i'm trying to get gnu-apl running on a Mac under macOS Mojave 10.14.4,  i installed it using brew.  i have a large number of .atf files that were generated using ibm apl2 under windows.  when i try to )in one of them i get 'no such file or directory'.  if i try to read a transfeer file with ⎕FIO[49] i get an (almost) endless stream of 'truncated UTF8 string' errors.  is there an assumption that a .atf file is UTF8-encoded?  is there some other problem

any help would be greatly appreciated.  thanks in advance


Jeff H. Derby
------
IBM Corporation
RTP, NC  USA
Cell: (919) 672-0962
Internet:  address@hidden



reply via email to

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