bug-apl
[Top][All Lists]
Advanced

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

Re: Loading .apl files differes from .xml workspaces


From: Blake McBride
Subject: Re: Loading .apl files differes from .xml workspaces
Date: Sun, 12 Apr 2020 13:38:44 -0500

Works perfectly.  Thanks a lot!!

On Sun, Apr 12, 2020 at 4:22 AM Dr. Jürgen Sauermann <mail@jürgen-sauermann.de> wrote:
Hi Blake,

it looks like you have put

DISCARD-INDENTATION Yes

under "Profile 1". However, the default profile (unless you start
apl apl with a different one using the -p command line option) is
0. Therefore the setting has no effect. So move it up a little higher
in the file (somewhere before the line that says "Profile 1").

Best Regards,
Jürgen



On 4/12/20 2:09 AM, Blake McBride wrote:
This is what I am getting on a clean build:

$ apl --version
BUILDTAG:
---------
    Project:        GNU APL
    Version / SVN:  1.8 / 1259
    Build Date:     2020-04-11 22:41:54 UTC
    Build OS:       Linux 5.3.0-46-generic x86_64
    config.status:  default ./configure options
    Archive SVN:    1258
$ apl -l 37
initial RLIMIT_AS (aka. virtual memory) is: 'unlimited'
estimated available memory: 30969290752 bytes (30969 MB)

sizeof(int) is            4
sizeof(long) is           8
sizeof(void *) is         8

sizeof(Cell) is           24
sizeof(SI stack item) is  4072
sizeof(Svar_partner) is   28
sizeof(Svar_record) is    328
sizeof(Symbol) is         88
sizeof(Token) is          24
sizeof(Value) is          456 (including 12 Cells)
sizeof(ValueStackItem) is 24
sizeof(UCS_string) is     32
sizeof(UserFunction) is   416

⎕WA total memory is       30969290752 bytes (30969 MB, 0x735e9e000)
increasing rlimit RLIMIT_NPROC from 127829 to infinity

initializing paths from argv[0] = apl
initializing paths from  $PATH = /home/blake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/blake/.dotnet/tools:/opt/plan9port/bin
APL_bin_path is: /usr/local/bin
APL_bin_name is: apl
Reading config file /usr/local/etc/gnu-apl.d/preferences ...
Reading config file /home/blake/.gnu-apl/preferences ...
Reading config file /usr/local/etc/gnu-apl.d/parallel_thresholds ...
Not reading config file /home/blake/.config/gnu-apl/parallel_thresholds (No such file or directory)
0 input files:
using ANSI terminal output ESC sequences (or those configured in your preferences file(s))
using ANSI terminal input ESC sequences(or those configured in your preferences file(s))
Not opening shared memory because command line option --noSV (or similar) was given.
PID is 32517
argc: 3
  argv[0]: 'apl'
  argv[1]: '-l'
  argv[2]: '37'
stdin is: OPEN
fd 3 is:  OPEN
uprefs.user_do_svars:   0
uprefs.system_do_svars: 0
uprefs.requested_id:    0
uprefs.requested_par:   0
id.proc: 1000 at ProcessorID.cc:62
$ tail /home/blake/.gnu-apl/preferences
# If a disabled capability is being used then it will throw a DOMAIN_ERROR
# and )MORE will indicate a security violation.
#
Profile 1
  disable_Quad_SQL          yes    # disable ⎕SQL
  disable_Quad_FIO          no     # do not disable ⎕FIO
  disable_native_functions  yes    # disable A ⎕FX B (native fnctions)

DISCARD-INDENTATION Yes
$ akt apl
      ∇abc
[1] 1
[2]     2
[3]         3
[4]             4
[5] [⎕]
    ∇
[0]   abc
[1]   1
[2]       2
[3]           3
[4]               4
    ∇
[5] ∇


Thanks!

Blake




reply via email to

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