<razzy>
i think it would be possible to have 3 last copies of process.
<Regenaxer>
But the REPL must be switched between those processes then
<Regenaxer>
can be tricky
<Regenaxer>
Things mess up the readline if more than one process reads from it
<razzy>
i see, so switch only in emergency?
<razzy>
only on user button?
<Regenaxer>
I see no way to switch explicitly
<Regenaxer>
Any process which starts to (read) accesses the current tty
<Regenaxer>
(unless (fork) (msg ..) (bye)) is ok, it does not read
<razzy>
i do not fully understand
<Regenaxer>
Try (fork) without the (bye)
<Regenaxer>
you cannot use the REPL any more
<Regenaxer>
because 2 processes read
<razzy>
i think there should be option for switching processes in general. but i do not know.
<Regenaxer>
What I do often is using 'psh' to connect to running GUI applications
<Regenaxer>
Then I have many processes on the same DB
<Regenaxer>
bin/psh does perhaps what you mean
<razzy>
I will use history for (d) for now. :] improvement :]
<Regenaxer>
it forks, then uses ctty to get a separate terminal
<Regenaxer>
yeah, most things are well with just (d)
<Regenaxer>
or (v foo) and insert '!'
<Regenaxer>
Perhaps I do that most often
<Regenaxer>
insert '!' to stop only at a certain point
<razzy>
i can use !
<Regenaxer>
T
<razzy>
fast flowing through program would feel nice, so i can have more of the program fresh in memory.
<Regenaxer>
right, so you can probably indeed do that using (unless (fork) (ctty "/dev/ttyXX") ...)
<razzy>
I write general structure of whole program and than debug stepping to repair syntax.
<Regenaxer>
ok, but usually it is easier and faster simply to restart the whole program from command line
<Regenaxer>
shell history
hunar has joined #picolisp
cranium has quit [Quit: Leaving]
<hunar>
Hello everyone :D I've never used IRC before, the website recommended asking questions here
<hunar>
i have a problem while trying to (compile a static picolisp from linux) for (flinux on windows) i'm following this page http://picolisp.com/wiki/?flinuxPicoLisp My problem is at the final linking step it shows this error (cannot find -lcrypt) but both libcrypt.so and libcrypt.a exist on the system, does anybody know what is the problem?
<Regenaxer>
Hi hunar! Welcome!
<razzy>
Hello hunar
<Regenaxer>
hmm, I never tried that
<Regenaxer>
(don't even have Windows)
<Regenaxer>
Also, the description is perhaps a bit outdated?
<Regenaxer>
Current PicoLisp is based on LLVM
<hunar>
I also never use windows, but i'm planning to make a software that my friends can benefit from, and everyone i know uses windows.. I'm currently searching for ways to send picolisp projects to windows users such that they dont need to install anything
<hunar>
I think they are outdated but that page was my best finding yet :/
<Regenaxer>
There was a thread in the mailing list a few days ago
<hunar>
I'll check it out now :D, i initially asked this question on r/lisp since i didn't know about the mailing list
<Regenaxer>
good :)
<hunar>
Ok i read it. Unfortunately they have problems in the beginning of their compilation and i have problem at the end
<Regenaxer>
Thorsten said he has Debian on WSL
<Regenaxer>
that seemed to work out of the box
<Regenaxer>
So libcrypt is the problem?
<Regenaxer>
This is only needed to build the tools httpGate and ssl. Perhaps you don't need those?
<hunar>
My final goal is a windowsy experience, because non of my friends will use WSL :(
<Regenaxer>
How does a windowsy experience feel like? ;)
<hunar>
When i remove the --static flag it links without any problems, but the --static fails.. there were three makes (make make gate, make tools, make picolisp) the first two succeed but doesn't generate a picolisp binary
<hunar>
The windows people want everything to be downloaded once and double clicked :D no dependency or extra step
<Regenaxer>
hmm, make gate etc. is the old outdated version
<Regenaxer>
Not sure if I understood. You plan to avoid WSL?
<hunar>
Thanks for the info :D, I'll try compiling that source you linked :)
<Regenaxer>
ok :)
<hunar>
the flinux project sais that it can run unchanged linux executables on windows :| so without msys2 or sygwin or WSL
<Regenaxer>
But on plain Windows PicoLisp will not run, it needs POSIX system calls
<hunar>
I hope it did :( .. I have one more question before trying the compilation, how does IRC work, i mean can i for example search for a specific word that was once said in this channel?
<Regenaxer>
OK, good :)
<razzy>
hunar: there is history of channel written in topic.
<hunar>
It didn't work :( flinux is outdated (last update 2016), I guess my only option now is WSL..
<hunar>
the compilation worked, but the flinux didn
<Regenaxer>
Good to know
<hunar>
I have a new question :D is there anyway to lock or hide (idk what to call it) a picolisp project such that the user cant see/change the source code and break stuff?
<Regenaxer>
We had this question occasionally :) I think there is no way atm. Perhaps write an obfuscator?
<hunar>
If it was a compiled language i wouldn't have problems since users don't normally edit binary, even bytecode.. but since picolisp interprets code directly i don't have much hope for the answer
<Regenaxer>
T
<Regenaxer>
So an index mapping all symbols to random names
<hunar>
I think even obfuscated lisp would looks nicer to read than other languages :D
<Regenaxer>
hehe, yes
<hunar>
So creating a program that sits on the client side and asks for login/password doesn't make sense :/
<Regenaxer>
Typical PicoLisp programs are web applications, so the source is not visible to users anyway
<Regenaxer>
yes, remote server
<hunar>
I was a Common Lisp beginner fanboy yesterday, but picolisp was sooo nice that I considered leaving CL entirely. But now I want to go back and at the same time I don't want to leave picolisp, it's so cute and powerful
<Regenaxer>
difficult ;)
<Regenaxer>
Using both might be confusing
<Regenaxer>
CL and Pil are very different in philosophy
<hunar>
Indeed.. Thanks for all the help :D you saved me at least 20 more hours of googling, thanks for your time :D
<Regenaxer>
welcome :)
<Regenaxer>
Just hang around here
<hunar>
I will :D, the above login (AndroUser2) was me on a failed attempt at using an app to keep an eye on here
<Regenaxer>
I see
<Regenaxer>
I use my self-written irc client (in picolisp of course ;)
<Regenaxer>
runs permanently on a rented root server
<Regenaxer>
and I connect to it from my mobile
<Regenaxer>
so I'm typing this on Android
<hunar>
That's very cool :D
<hunar>
I'm not yet used to IRC, is there a way to permanently have a username across all irc clients? so that i can have this name on android
<Regenaxer>
The user name is a matter of the server
<Regenaxer>
i.e. libera.chat here
<Regenaxer>
same for all channels then
<Regenaxer>
I think you already registered your nick at libera.chat, right?
<Regenaxer>
Otherwise this channel would not work for you
<hunar>
I didn't see a register button :/
<Regenaxer>
hmm
<Regenaxer>
well, not a button ;)
<hunar>
I installed HexChat and clicked on the link on libera.chat (irc.libera.chat:6697 (TLS)) then hexchat popped up and i entered nicknames and stuff
<Regenaxer>
Perhaps it registered for you
<Regenaxer>
Manually you give a command like "/nickserv register <nick> <mail>
<Regenaxer>
No, needs passwd "/nickserv register <pw> <mail>
<Regenaxer>
I forgot the details :)
<Regenaxer>
Anyway it works for you
<hunar>
I found this: If you do not complete registration within one day, your nickname will expire.
<hunar>
-NickServ- hunar is now registered to hbkurd@gmail.com.
<hunar>
I did it :D
<Regenaxer>
Perfect!
<hunar>
Thanks :D
hunar has quit [Ping timeout: 240 seconds]
hunar has joined #picolisp
hunar has quit [Client Quit]
AndroUser2 has joined #picolisp
AndroUser2 has quit [Ping timeout: 240 seconds]
v88m has joined #picolisp
AndroUser2 has joined #picolisp
AndroUser2 has quit [Read error: Connection reset by peer]
AndroUser2 has joined #picolisp
AndroUser2 has quit [Remote host closed the connection]