bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
bjorkintosh has joined #picolisp
bjorkintosh has joined #picolisp
bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
bjorkintosh has joined #picolisp
bjorkintosh has joined #picolisp
bjorkintosh has quit [Changing host]
Iacob has quit [Remote host closed the connection]
Iacob has joined #picolisp
rob_w has joined #picolisp
_whitelogger has quit [Ping timeout: 260 seconds]
_whitelogger_ has joined #picolisp
Iacob has quit [Remote host closed the connection]
corecheckno has joined #picolisp
Iacob has joined #picolisp
rob_w has quit [Quit: Leaving]
corecheckno has quit [Remote host closed the connection]
Iacob has quit [Remote host closed the connection]
Iacob has joined #picolisp
<taleon>
Is it possible to start PicoLisp in a terminal and connect from a second terminal so that you are in the same instance and can access the same loaded functions and data?
<abu[7]>
Yes, with 'ctty', but iirc a bit tricky
<abu[7]>
This is used however in bin/pty and psh
<abu[7]>
Well, not directly in bin/pty but in PilBox (i.e. on the other side)
<taleon>
It would be an interesting function. Then you can edit the same functions and data from two or more terminals and the changes are visible in all terminals. Or you could leave vip open in one terminal, leave the cons cells graphically displayed in another terminal, and set up and test the function in the repl in a third terminal.
<taleon>
Do you use sockets or how does that work?
<abu[7]>
No, it opens terminal devices
<abu[7]>
and pty creates a "pseudo terminal"
<abu[7]>
But working from both at the same time is not possible I think
<taleon>
Ah, too bad. It would be cool if you could start, for example, `pil --daemon`, then get a socket or a session ID and then connect to the running instance from the other terminals with, say, `pil -c session-id`.
<taleon>
It was just an idea of mine to see if it would work. PicoLisp has so many functions that I don't yet know. :-)
<abu[7]>
:)
<abu[7]>
bin/psh comes close
<abu[7]>
I use it on production servers a lot
<abu[7]>
Connects to a running applicatioÑ
<abu[7]>
But only one term per (child)process
<abu[7]>
ie. a running GUI process which had no TTY before that
<taleon>
thanks, I'll take a look at it and see if I can manage it.
<taleon>
Wasn't that hard thanks to your explanation.
<abu[7]>
psh is really useful. I can connect to a customer's session (after looking up the port and sesID from the log file) and debug it life (eg. while talking to him on the phone)
<taleon>
Yes, that makes perfect sense, especially on production systems, to avoid downtimes.
Iacob has quit [Read error: Connection reset by peer]
Iacob has joined #picolisp
<taleon>
abu[7]: The speed of your Pi calculation is impressive. How high, or to what decimal place, is the precision?
<abu[7]>
It is infinite
<abu[7]>
runs forever, just gets slower and slower
<abu[7]>
But I found a minor mistake, will fix tomorrow
<taleon>
After letting the Pi calculation run for a few minutes, I noticed some strange characters. A whitespace, for example, or a `^`.