May 16, 2021 18:00
hmmm.. symbol type changed to n. the spec does use "name"
May 15, 2021 05:34
@JohnE Oh, so nice. Thank you John!
May 14, 2021 20:47
@HaoDeng It is. My wording mistake. I meant a line-oriented text editor (e.g. ed).
May 12, 2021 21:29
Oh, didn't think of that.
May 12, 2021 20:54
@JohnE some time ago you mentioned that there is a line editor written in q. I couldn't find it. Do you have a link?
May 12, 2021 20:51
$ ~/src/k/shakti/mi
mi 2021.04.28 2 8 (c)shakti 2.0
\pwd
,"/Users/rcabaco/src/rc/nf"
May 12, 2021 20:51
it always starts with the current path correctly set for me
May 12, 2021 20:49
\pwd
,"/Users/rcabaco"
\cd src
\pwd
,"/Users/rcabaco/src"
May 12, 2021 20:49
like this?
May 12, 2021 20:47
free/community edition currently has: 0:, 1:, stdout (as far as i can tell there's nothing for stdin - prompt)
May 12, 2021 12:17
although some are nyi
May 12, 2021 12:17
May 12, 2021 12:17
@rak1507 f/:x
Apr 26, 2021 15:48
i can write to stdout with ""0:, but could not find a way to read
Apr 26, 2021 15:48
is there a way to read from stdin in k9?
Mar 27, 2020 10:23
@yiyus it's here: pastebin.com/MM6g4abS
Mar 27, 2020 10:20
i didn't look at the previous version
Mar 27, 2020 09:09
i still have the help on mac
Jan 23, 2020 09:57
@ngn both read1 and read0 work but neither reads only 1 byte. they read input till newline and cut to the specified length.
Jan 23, 2020 09:13
@ngn implications?
Jan 23, 2020 09:13
@ngn no
Jan 23, 2020 09:10
with named pipes
Jan 23, 2020 09:10
@ngn oh, true
Jan 23, 2020 09:09
@ngn "read1[x], where x is: an file symbol or a list (file;offset;length) or a list (file;offset)"
Jan 23, 2020 08:02
@ngn Yes
Jan 23, 2020 08:02
@ngn Didn't see read1
 

 The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
May 11, 2021 13:50
Reading APL format file /Applications/Dyalog-18.0.app/Contents/Resources/Dyalog/.
\aplfmt\default.DFT .../usr/bin/TYPE: line 4: type: /Applications/Dyalog-18.0.app
DOMAIN ERROR: Command interpreter returned failure code 1
SMGETFMT[15] FILE←⎕CMD'TYPE ',FILE

/Contents/Resources/Dyalog/.aplfmtdefault.DFT: not found
May 11, 2021 13:50
@Adám Not sure if it is relevant for Dyalog, but smdesign.ws gives a domain error on launch:
May 11, 2021 13:39
@Adám i am looking at the sm workspaces trying to find out what it can do.
May 11, 2021 13:08
Or.. Is the Dyalog terminal session implemented with ⎕SM?
May 11, 2021 13:05
There exists ⎕SM but from what I can tell it is only for forms.
May 11, 2021 13:05
This is nice. One can use this to implement TUIs.
May 11, 2021 12:53
No. I was just trying out. From your code I see my error:the start character
May 11, 2021 12:49
Still no luck with the ansi control sequences tough
May 11, 2021 12:46
that was it. thank you
May 11, 2021 12:45
*that
May 11, 2021 12:44
strange, i get no output from thta
May 11, 2021 12:43
running ./dyalog load=, starts a session
May 11, 2021 12:43
@dzaima is there a way not to start a session?
May 11, 2021 12:40
No luck. I imagine the Dyalog session in the terminal is catching all of this.
May 11, 2021 12:28
@Adám Using the FD for stdout was my first attempt but got me a domain error
May 11, 2021 12:26
@Adám Yes. Going to try now ⎕NTIE with /dev/stdout
May 11, 2021 12:19
@Adám neat. Now i just need to find a way to get stdout as ⍺ for ⎕ARBOUT
May 10, 2021 18:53
maybe when scripting is available.
May 10, 2021 18:53
@Adám maybe i didn't explain myself correctly. I was thinking that it was possible to load a .aplf with load= and have it print stuff to the terminal. But now I see that it does not work that way.
May 10, 2021 18:48
but ⎕SH'tput clear' does not work either.
May 10, 2021 18:47
@Adám didn't know about LX=. I am trying to use ANSI escape control sequences in the terminal.
May 10, 2021 18:40
maybe i should try using ⎕sh
May 10, 2021 18:40
I am trying to use it with 'dyalog load=..' and no output is done
May 10, 2021 18:39
Does ⎕ not work for writing to stdout?