beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
seninha has quit [Ping timeout: 268 seconds]
<abu[m]> Good morning ☺
<abu[m]> Now my mind is clearer again ;)
<abu[m]> For completeness, for the 'buf' example yesterday I'd use something like:
<abu[m]> : (buf P 40 (%@ "strcpy" NIL P "abc") (byte (inc P) (char "X")) (struct P 'S))
<abu[m]> -> "aXc"
<abu[m]> In Lisp this would be
<abu[m]> (pack (replace (chop "abc") "b" "X"))
<abu[m]> or
<abu[m]> (pack (replace (chop "abc") "b" "☺"))
<abu[m]> -> "a☺c"
lagash_ has quit [Ping timeout: 246 seconds]
lagash_ has joined #picolisp
rob_w has joined #picolisp
lagash_ has quit [Ping timeout: 255 seconds]
lagash has joined #picolisp
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
beneroth has quit [Quit: Leaving]
<fbytez> Thanks very much.
razzy has joined #picolisp
<razzy> hello to all :]
<abu[m]> Hi razzy!
<razzy> long time no see :], how are you :]
beneroth has joined #picolisp
<abu[m]> Yes, you disappeared :) We are all fine I think
viaken has quit [Ping timeout: 256 seconds]
<razzy> abu[m]: my computer with comms died. I took time to build new system. :]
<beneroth> hey razzy o/
<beneroth> welcome back :)
<abu[m]> Oh, bad luck!
clacke has quit [*.net *.split]
viaken2 has joined #picolisp
clacke has joined #picolisp
<razzy> you may remember i like fuzzy finders like https://github.com/Magnushhoie/fuz .
<razzy> I am trying to use fuzzy finder "fzy" in vip.
<abu[m]> Yes I remember. Good!
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
<razzy> i have trouble with return value reading to vip. this (print (in '(sh "-c" "cat api.l | fzy") (line))) does not read output from "fzy". Question: is there good way to read fzy-out in vip? ideally vip->fzy->vip.
<razzy> my picolisp is propably rusted again :]
<abu[m]> I do not see why the above should not work. But to do the latter, you need 'pipe'.
<razzy> pipe i see. :) thank you
<razzy> i will read my old programs :]
<abu[m]> The example in the reference with 'tr' does something like you need
<abu[m]> (pipe (out (tr "[a-z]" "[A-Z]") ...
<abu[m]> : (in '(sh "-c" "cat lib.l") (line))
<abu[m]> -> ("#" " " "2" "8" "d" ...
<abu[m]> So the above works
rob_w has quit [Remote host closed the connection]
zaWanderer has joined #picolisp
chexum has quit [Ping timeout: 255 seconds]
zaWanderer has quit [Quit: Leaving]
chexum has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
seninha has quit [Quit: Leaving]
<razzy> it works alone. not as pipe with fzy.
<abu[m]> I see. Yes, you said "read fzy-out", so you need only one pipe
razzy has quit [Ping timeout: 264 seconds]
razzy has joined #picolisp
seninha has joined #picolisp
razzy has quit [Ping timeout: 248 seconds]
razzy has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
seninha has quit [Quit: Leaving]
seninha has joined #picolisp
inara` has quit [Quit: Leaving]
inara has joined #picolisp
inara` has joined #picolisp
inara has quit [Ping timeout: 264 seconds]
seninha has quit [Quit: Leaving]
razzy has quit [Ping timeout: 268 seconds]
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
seninha has quit [Ping timeout: 260 seconds]