Aw: Re: write from pl-script into named pipe on shell

2017-02-05 Thread Olaf Hamann
gt; An: picolisp@software-lab.de > Betreff: Re: write from pl-script into named pipe on shell > > Hi Olaf, > > > Println is not the key, I also played around with flush and sync and tell > > and every word I saw in rosetta examples :-) > > It seems the bash is not fast e

Re: write from pl-script into named pipe on shell

2017-02-05 Thread Alexander Burger
Hi Olaf, > Println is not the key, I also played around with flush and sync and tell > and every word I saw in rosetta examples :-) It seems the bash is not fast enough. At least it works if I put (wait 1000) between the calls to (out "listener" ..). This still does not really make sense to me,

Re: write from pl-script into named pipe on shell

2017-02-04 Thread O.Hamann
Thank you for the quick answer, Alex. Println is not the key, I also played around with flush and sync and tell and every word I saw in rosetta examples :-) But no problem at all - enjoy the weekend :-) Another approach was to have all different senders and the one receiver in one picolisp

Re: write from pl-script into named pipe on shell

2017-02-04 Thread Alexander Burger
Hi Olaf, just a wild guess, I'm too lazy ATM to try: > == hey.l == > (out "listener" (print 'tput "clear")) > (out "listener" (print 'tput "cup" 3 15)) > (out "listener" (print 'echo "hey")) Should it not be 'println' instead of 'print', so that the shell gets a newline delimiter? ♪♫ Alex --

write from pl-script into named pipe on shell

2017-02-04 Thread O.Hamann
Hi all, if someone has fun with this question, I would appreciate an answer. I creat a named pipe in a terminal window and start a simple listener loop: ==bash== mknod listener p while true do read line In a second terminal window (same working directory) sending from pil repl commands to