alexshe72 has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
razzy has joined #picolisp
razzy has quit [Ping timeout: 268 seconds]
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
razzy has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
razzy has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
razzy has quit [Ping timeout: 265 seconds]
razzy has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
razzy has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
aw- has quit [Ping timeout: 268 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 268 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
<razzy>
Regenaxer: I finally moved with my history trouble. by itself commands work as expected, but when starting with ./pil rc + , it erases .pilrc ttps://paste.rs/WLC
<Regenaxer>
hmm, you write to ".pilrc"
<Regenaxer>
I know I told you to write to "+.pilrc" in *Bye, but here this is not useful
<Regenaxer>
all that uniq calls should not be necessary
<razzy>
+ appends to file
<razzy>
it is usefull
<razzy>
yes, too many uniq calls
<Regenaxer>
yes, so you get the same history over and over again
<razzy>
after start, it makes .pilrc blank
<razzy>
no history in
<Regenaxer>
Also, (mapc prinl is not correct
<Regenaxer>
History is a list of strings
<Regenaxer>
(mapc prinl writes lines
<Regenaxer>
I would simply do (push1 '*Bye '(out "+.pilrc" (mapc println (history))))
<Regenaxer>
or (mapc println (diff (history) *OldHistory)) perhaps
<Regenaxer>
hmm, no, sorry!
<Regenaxer>
I said wrong
<Regenaxer>
(mapc prinl is fine
<razzy>
I value your println input. but i do not think it solves problem. problem is after pil rc + it erases insides of .pilrc
<razzy>
which imho it should not
<Regenaxer>
right
<Regenaxer>
(out "+.pilrc" appends
<razzy>
which i want
<Regenaxer>
Why do you do (out ".pilrc" (mapc prinl (history))) ?
<Regenaxer>
This writes new
<razzy>
yes
<Regenaxer>
and then in *Bye you append
<razzy>
because i do not want to loose history when I open multiple pil
<razzy>
now it works ok, without 2 lines of code :) I am happy
<Regenaxer>
Great :)
razzy has quit [Ping timeout: 265 seconds]
razzy has joined #picolisp
<razzy>
Regenaxer: now i m using this http://ix.io/3zga/text it works. maybe i shot myself. I do not see how.
<razzy>
i agree that for future i should do cleanup in (make
<Regenaxer>
Hmm, if you do # (while (read) (eval @))
<Regenaxer>
ie comment it, the initial commands are not executed
<Regenaxer>
is that desired?
<razzy>
they are executed
<Regenaxer>
true
<Regenaxer>
.pil/rc is 'load'ed
<Regenaxer>
But not the ones from ".pilrc"
<razzy>
no, .pilrc is just history for me
<Regenaxer>
ok, then fine
<Regenaxer>
I use .pilrc to execute debugging commands for that project (directory)
<razzy>
I now see why it is that way.
<Regenaxer>
Any way is ok, everybody is free to do whatever in the rc files
<razzy>
I was thinking that everybody will benefit from my change, but now i see that is not the case.
<Regenaxer>
I think some people might benefit
<Regenaxer>
showing different possibilities
<Regenaxer>
My plan was to hake the distributed version just have the minimal, general way: 'loading' the file ~/.pil/rc
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
<razzy>
i see potential. I think there are several options to do it. Current ./rc is too much convoluted, not transparent for my skill :). When given a choice, I opt for one big pile with good search algorithms. hence one history file :]
alexshe86 has joined #picolisp
stultulo has joined #picolisp
f8l has quit [Ping timeout: 252 seconds]
razzy has quit [Ping timeout: 252 seconds]
razzy has joined #picolisp
alexshe86 is now known as alexshendi
razzy has quit [Ping timeout: 265 seconds]
razzy has joined #picolisp
razzy has quit [Ping timeout: 260 seconds]
alexshe81 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe81 has quit [Read error: Connection reset by peer]