Re: [Bug-apl] ⎕FIO[49]

2017-01-27 Thread Jay Foad
Just FYI, it's similar to Dyalog's ⎕NGET . (I'm not suggesting NGET is necessarily a good name to use in wslib5.) On 27 January 2017 at 02:03, Elias Mårtenson wrote: > Speaking of which, ⎕FIO[49] needs a name in wslib5. Any

Re: [Bug-apl] ⎕FIO[49]

2017-01-27 Thread Juergen Sauermann
Hi currently we have 'readlines' in the wrapper function FIO which is contained in the FILE_IO workspace. BTW the FILE_IO workspace, already contains this wrapper function Z←L FIO[X] R, kindly provided by Christian Robert, which calls

Re: [Bug-apl] ⎕FIO[49]

2017-01-27 Thread Juergen Sauermann
Hi, I have added two wrapper functions in the FILE_IO workspace: Z←FIO∆readlines Bs reads the entire file named Bs (i.e. not a file handle Bh!) line by line and stores each line i in Z[i]. Z←(LO FIO∆transform_lines

Re: [Bug-apl] ⎕FIO[49]

2017-01-27 Thread Elias Mårtenson
Very nice. Thanks! Would it make sense to add a tokenisation function as well that one could use as a RO for this operator? Regards, Elias On 27 Jan 2017 23:04, "Juergen Sauermann" wrote: > Hi, > > I have added two wrapper functions in the *FILE_IO* workspace: > > *Z←FIO∆readlines Bs* > > read

[Bug-apl] shared memory

2017-01-27 Thread enztec
Hi I have found a lot of discussion threads on shared memory - the switch from /dev/shm/ dir to unix sockets etc is there some example code using the new method that someone could pass to me? I have a synapse library in fpc that can access sockets and wanted to see if conversion of it to apl

Re: [Bug-apl] shared memory

2017-01-27 Thread enztec
sorry - i found the testcases/AP* but if there is any thoughts/comments on this any one has - it would be appreciated I realize shared memory is considered 'dinosaur' On Fri, 27 Jan 2017 10:53:21 -0700 enz...@gmx.com wrote: > Hi > > I have found a lot of discussion threads on shared me

Re: [Bug-apl] shared memory

2017-01-27 Thread Juergen Sauermann
Hi, if you look into older versions (say, around SVN 340) of src/Svar_DB.cc of GNU APL then you will find examples of using shared memory. Before APs/APserver was introduced, GNU APL used shared memory to store the data of shared APL vari

Re: [Bug-apl] shared memory

2017-01-27 Thread enztec
Thanks I find the shared memory interesting and have their testcases working on the latest svn 863 but the guy saying they are dinosaurs . ;) https://lists.gnu.org/archive/html/bug-apl/2014-06/msg00258.html On Fri, 27 Jan 2017 19:50:26 +0100 Juergen Sauermann wrote: > Hi, > > if y

[Bug-apl] svn 863 make warning/error

2017-01-27 Thread enztec
on this computer I thought svn 863 compiledbut it left 1.6 installed so didn't notice libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wall -I sql -I/usr/local/include -rdynamic -g -O2 -MT libapl_la-ValueHistory.lo -MD -MP -MF .deps/libapl_la-ValueHistory.Tpo -c ValueHistory.

Re: [Bug-apl] svn 863 make warning/error

2017-01-27 Thread enztec
i removed the -Werror in the src/Makefile line 680common_CXXFLAGS = -Werror -Wall -I sql $(am__append_2) $(am__append_6) and make gave good apl *so far in my testing) On Fri, 27 Jan 2017 15:16:14 -0700 enz...@gmx.com wrote: > > on this computer I thought svn 863 compiled

[Bug-apl] location of cursor on new apl session

2017-01-27 Thread enztec
In all my previous apl installations the cursor in an xterm was at the top of the xterm - it stays there for 1.3 but with 1.6 and now 863 i can see it start at the top when first opened but then goes to the bottom and indents - any ideas? I have 1.3 1.6 and 863 all installed on same computer

Re: [Bug-apl] location of cursor on new apl session

2017-01-27 Thread Christian Robert
You never said what was that computer, nor it's OS, nor it's OS version ... Since about 2 years, when I joined this group, the cursor always had that behavior for me and it's fine. This give you the feeling as if you were into a GUI. I guess that this was introduced by the usage of *curses* li