Re: [Bug-apl] ⎕plot focus

2019-04-09 Thread Hudson Flavio Meneses Lacerda
ill include it. > > Apart from that the *wmctrl* approach proposed by *enztec* looks good > to me. > > Best Regards, > /// Jürgen I liked very much the wmctrl approach. I just wonder whether the ⎕plot window can be placed as the next (nearest) alternating window. Do you n

[Bug-apl] ⎕plot focus

2019-04-08 Thread Hudson Flavio Meneses Lacerda
Hi. The ⎕plot window, just after being drawn, jumps to the background (minimized). Is there any way to control its focus from GNU APL? (I do not have GNOME; it looks like FluxBox is not 100% compatible with new GNOME versions.) (My workaround is to memorize the layer as the top.) Hudson

[Bug-apl] 1 2 3 + 3 ⍬ 5

2019-04-08 Thread Hudson Flavio Meneses Lacerda
Hi. This is not the newest CVS version, but, if the bug still exists, the test is simple enough: 29⎕cr 1 2 3 +¨ 3 '' 5 ┏→━━┓ ┃4 ┏⊖┓ 8┃ ┃ ┃0┃ ┃ ┃ ┗━┛ ┃ ┗∊━━┛ 1 2 3 + 3 ⍬ 5 == Assertion failed

Re: [Bug-apl] miscellāneum

2019-03-04 Thread Hudson Flavio Meneses Lacerda
On Sun, 3 Mar 2019 16:21:25 +0100 Dr. Jürgen Sauermann wrote: [...] > As far as GNU APL is concerned, first of all apply statement 1. on > page 38 to the interpreter itself rather than to the APL code that is > being interpreted. [...] Hi. Do you suggest, when writing GNU APL, to put the emphasi

Re: [Bug-apl] miscellāneum

2019-03-02 Thread Hudson Flavio Meneses Lacerda
Hi Jürgen, On Sat, 2 Mar 2019 17:01:55 +0100 Dr. Jürgen Sauermann wrote: [...] > There exist 2 left-overs from ancient APL 1 times: > > a)  ⍴⎕AV = 256, and > b) every defined APL function contains only characters in ⎕AV (which > is the essence of ⎕AV). > > The backgound of a) is that a characte

Re: [Bug-apl] miscellāneum

2019-03-02 Thread Hudson Flavio Meneses Lacerda
On Sat, 2 Mar 2019 17:11:49 +0100 Dr. Jürgen Sauermann wrote: > ... > =2= EOF > > GNU APL might have some command-line option to --quit the program > after running all the required scripts (without ')off'). Currently I > use a bash script 'aplscript' that appends a file which only > instruction

[Bug-apl] miscellāneum

2019-02-28 Thread Hudson Flavio Meneses Lacerda
Hi Jürgen, =1= Syntatic-Sugar Symbols While trying ngn-apl, I noticed that it allows single-character non-ASCII/APL identifiers, something I considered potentially useful some time ago, when I wrote some operators as exercise using GNU APL. I used very short operator names (mostly one letter) s

Re: [Bug-apl] WS FULL

2019-01-22 Thread Hudson Flavio Meneses Lacerda
Hi. After closing some other programs (== freeing memory), APL worked. It seems it requires about 100 MiB of free RAM as minimum? Here I hardly will have that much (hardware: 450MiB of RAM) )values generates lines like this: Value #123: Flags = COMPLETE, ⍴⊏27⊐ ≡1: SYNTAX ERROR: → in mac

Re: [Bug-apl] WS FULL

2019-01-16 Thread Hudson Flavio Meneses Lacerda
Some info: x86 32bit Debian Jessie GCC 4.9.2 Build command: DYNAMIC_LOG_WANTED='yes' \ CXX_WERROR='no' \ ./configure \ --with-gtk3 \ --with-pcre make sudo make install On Wed, 16 Jan 2019 15:58:18 -0200 Hudson Flavio Meneses Lacerda wrote: &g

Re: [Bug-apl] WS FULL

2019-01-16 Thread Hudson Flavio Meneses Lacerda
Some info: x86 32bit Debian Jessie GCC 4.9.2 Build command: DYNAMIC_LOG_WANTED='yes' \ CXX_WERROR='no' \ ./configure \ --with-gtk3 \ --with-pcre \ make sudo make install On Wed, 16 Jan 2019 15:58:18 -0200 Hudson Flavio Meneses Lacerda wrote: &g

[Bug-apl] WS FULL

2019-01-16 Thread Hudson Flavio Meneses Lacerda
Hi. I tried the newest trunk version (1114), but the program shows this strange behaviour: ... This program is free software, and you are welcome to redistribute it according to the GNU Public License (GPL) version 3 or later. a← 2

Re: [Bug-apl] #!apl

2018-08-23 Thread Hudson Flavio Meneses Lacerda
Hi. Thank all you for the inputs. My remarks about #!apl go below, after reporting a problem. PS.: Jürgen: can you use AP100 from scripts? Example: #!/usr/local/bin/apl --SV -q -f 100⎕SVO'SO' SO ← 'date' )off On my machine, usually I get this: ««« Svar_record_P() failed at ../Svar_DB.cc:324

Re: [Bug-apl] #!apl

2018-08-21 Thread Hudson Flavio Meneses Lacerda
On Tue, 21 Aug 2018 20:51:59 +0200 Juergen Sauermann wrote: > Hi, > > it works on my box: Hi, I presume it works because apl binary is generated inside that directory (apl-1.7/src/), and "." is in your $PATH. So, "#!apl" calls "./apl" inside apl-1.7/src/. > > eedjsa@server66:~/projects/juerg

Re: [Bug-apl] #!apl

2018-08-21 Thread Hudson Flavio Meneses Lacerda
⎕EA''⍝;exec apl -s "$0" "$@" > > The reason for #! comes from man(2) execve. My question is about GNU APL reading .apl files with )copy or )load. Thanks, Hudson > > /// Jürgen > > > > On 08/21/2018 03:24 PM, Hudson Flavio Meneses L

Re: [Bug-apl] #!apl

2018-08-21 Thread Hudson Flavio Meneses Lacerda
but not with sash.) By the way, why APL files need to start with "#!" to be accept by )copy/load? Cheers, Hudson On Tue, 21 Aug 2018 11:14:30 +0200 Juergen Sauermann wrote: > Hi Hudson, > > you can ./configure GNU APL with prefix=/usr and then recompile and > install. &

[Bug-apl] #!apl

2018-08-20 Thread Hudson Flavio Meneses Lacerda
Hi. Some of my scripts use `#!/usr/bin/apl --script` (from Debian), but now I am using SVN, so I should use `#!/usr/local/bin/apl --script`. So, I need to change the scripts, that may be incompatible with different environments… I have tried: #!/usr/bin/env apl #!apl --script #!/usr/bin/apl --sc

Re: [Bug-apl] async syscall

2018-08-18 Thread Hudson Flavio Meneses Lacerda
)HOST or 100 ⎕SVO). > > Yet another possibility is a shell script (#!/bin/bash ...) inside > which the process is being backgrounded and call that script with > )HOST. > > /// Jürgen > > > On 08/18/2018 07:14 PM, Hudson Flavio Meneses Lacerda wrote: > Hi. > ⎕FIO[

[Bug-apl] async syscall

2018-08-18 Thread Hudson Flavio Meneses Lacerda
Hi. How to run a subprocess in background (like system("foo &") in GNU Octave)? I have tried: )HOST gv file.ps & 100⎕SVO'OS' OS ← 'gv file.ps &' without success. Thanks, Hudson

[Bug-apl] Freezes when Modulo with huge number

2018-07-20 Thread Hudson Flavio Meneses Lacerda
Hi. APL-1.7 (deb, 32b) freezes with this line: 12|10041 Thank you for writing GNU APL! Hudson