ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
cyborg_ar has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
<Nistur> mornin'
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
beneroth has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
alexshendi has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
<Regenaxer> orivej: It would be nice if you either join or not join ;)
<Regenaxer> (repeating myself)
<Regenaxer> But it seem you don't even notice
<Regenaxer> orivej, hulloooo!!
<Regenaxer> please
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
<Regenaxer> orivej, please!
<Regenaxer> OK, I think I have to block that nick
alexshendi has quit [Ping timeout: 256 seconds]
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
<Regenaxer> muted
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
beneroth has joined #picolisp
anjaa has quit [Ping timeout: 260 seconds]
Regenaxer has left #picolisp [#picolisp]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #picolisp
Regenaxer has joined #picolisp
Blue_flame has quit [Read error: Connection reset by peer]
anjaa has joined #picolisp
Blue_flame has joined #picolisp
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
sriram has joined #picolisp
sriram has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
test has joined #picolisp
test is now known as Guest6780
Guest6780 has quit [Remote host closed the connection]
sri_ram has joined #picolisp
<sri_ram> Hi I downloaded the latest version of picolisp but I do not seem to have the latest vip.l as it references ncurses rather than ANSI escape( https://picolisp.com/wiki/?vip)
<sri_ram> which gives me an error: ./pil "@lib/vip.l" +
<sri_ram> : (vi "file.l")!? (265428 $177774063745075 $177774063745077 $177774063745101)[DLL] /lib64/libncurses.so: file too short
<sri_ram> I was also trying the flight simulator (https://picolisp.com/wiki/?rcsim) as follows: ./pil misc/rcsim.l -main -go +
<sri_ram> but after putting the focus in the flight sim window...i don't seem to be able to increase throttle...with the PgUp and Home buttons.
<beneroth> Hi sri_ram
<beneroth> You downloaded https://software-lab.de/picoLisp.tgz ?
<sri_ram> Hi beneroth....yes, I downloaded the latest rolling release at https://software-lab.de/picoLisp.tgz
<sri_ram> the vip.l file has a revision date of 22apr18abu and has ### Curses library interface ###(local) curses(de curses @ (pass native "libncurses.so") )
<beneroth> you sure you invoked the pil version you download and not some older global installation you happened to have around?
<sri_ram> I did ./pil to make sure...I also vi'ed the file vip.l to check
<beneroth> the vip.l I have in @bin/ has # 01may18abu
<sri_ram> I did have an older distribution but I deleted it
<beneroth> hmmm
<beneroth> I'm on 20.7.4
<sri_ram> My bin/vip is also dated 2018apr...so I somehow must have a older version...let me blow it away and download
<sri_ram> thanks beneroth
<beneroth> your welcome
<sri_ram> but my ./pil -version gives 20.7.16
<sri_ram> did you download and update vip separately at some point?
<sri_ram> ok sorry....i found the source of the problem....the picolisp.tgz file I downloaded was renamed to .1 because of the earlier .tgz so I did not install correctly
<sri_ram> thanks again
<Regenaxer> Hi sri_ram! :)
<Regenaxer> In fact I released also today. Now (20 7 22)
<sri_ram> oh nice....I will download and update...one question though...I get an error saying "COLUMNS or LINES not set"
<sri_ram> when I try to vi
<Regenaxer> yes, normally set by the shell
<sri_ram> yes, for some reason not set in my case...though using konsole...
<Regenaxer> I think you just need an export
<Regenaxer> in .bashrc
<Regenaxer> export COLUMNS LINES
<sri_ram> ah I see....ok...because $LINES and $COLUMNS are both set in the shell....so the export would do the trick
<Regenaxer> yes :)
<sri_ram> thanks...I do have one other question...I will also redo the flight simulator test and the problem I had with it above will hopefully go away too :) ...Thanks!
<sri_ram> (the other question was re flight sim...but I will try with the latest first)
<Regenaxer> Sounds like a definition of escape sequences
<sri_ram> the flight sim issue?
<Regenaxer> yes
<Regenaxer> the arrow etc keys
<Regenaxer> You can easily test what your terminal delivers
<Regenaxer> : (make (link (key)) (while (key 100) (link @)))
<Regenaxer> then hit e.g. an arrow key
<sri_ram> ah ok....sure...willl try with the latest first...and will check the keys
<sri_ram> (that is a great idea for testing the key value...will try it out)
<Regenaxer> good. I have no better idea how to get such keys in a portable way
<Regenaxer> rcsim uses "@lib/term.l"
<Regenaxer> and it may not work everywhere
<sri_ram> I had an idea that my emacs would be able to print it out...but this is better to do in picolisp itself
<sri_ram> vip works nicely now thanks
<Regenaxer> cool :)
<Regenaxer> It is a bit different from vim meanwhile ;)
<Regenaxer> some move-change combinations differ, I found it more homogeneous this way
<sri_ram> I thought that if it is sufficient for you it would be sufficient for me :) I depend heavily on regex though but would like to get used to using match instead
<Regenaxer> Now I prefer it, and I'm confused if I use vim
<Regenaxer> yes, no regexp
<Regenaxer> @ is wildcard in searches
<Regenaxer> and &word searches for a word
<Regenaxer> which is \<word\> in vim
<Regenaxer> tedious to type ;)
<sri_ram> only one feature I think I may miss (compared to my emacs) is that vip splits only horizontally and on wide laptop screens I find the vertical split of emacs nice
<Regenaxer> true
<sri_ram> I usually just do /<word|pattern> to search for something in vi(m)
<Regenaxer> I never used vertical splits
<Regenaxer> ok
<Regenaxer> I use tmux
<Regenaxer> which splits vertically if needed
<beneroth> Regenaxer, the second 'any argument to (quit) cannot be retrieved after a (catch), right? (the first 'any argument to 'quit ends up in *Msg)
<Regenaxer> I never start a shell on any machine without tmux
<beneroth> (and is also returned by (catch))
<Regenaxer> hmm, good question
<sri_ram> I like side by side comparison for checking (thanks for tmux reference, will read up on it)
<Regenaxer> the object in error should be passed
<Regenaxer> but right, it is not accessible
<Regenaxer> it is only printed
<beneroth> My use case is an (catch '("")) which does then some logging
<beneroth> I like to make a feature request for that, if it's feasible ;-)
<beneroth> no hurry
<Regenaxer> ok
<beneroth> I could decorate 'quit...
<Regenaxer> Do you call 'quit' explicitly? Not runtime errors?
<beneroth> yes
<beneroth> I do call it explicitly here
<beneroth> but of course I would like also catch runtime errors
<Regenaxer> ok
<beneroth> e.g. file not found or such from 'in
<beneroth> the catch is around a specific function call, not above everything.
<Regenaxer> good
<beneroth> afk
<sri_ram> seems to match with the output of tput
<sri_ram> in lib/term.l
<Regenaxer> I see
<sri_ram> : *XtPgUp-> "^[[5~"
<sri_ram> : (make (link (key)) (while (key 100) (link @)))-> ("^[" "[" "5" "~")
<Regenaxer> yeah
<Regenaxer> So in rcsim all controls work?
<sri_ram> so not sure why PgUp does not increase throttle
<sri_ram> actually no controls work
<Regenaxer> Does the terminal have the keyboard focus?
<Regenaxer> (not the rcsim display)
<sri_ram> oh i thought rcsim should have the keyboard fcous?
<Regenaxer> no, the pil program runs in the terminal ;)
<sri_ram> oh I see....my terminal is full screen so when it starts
<sri_ram> actually it does'nt matter...I simply misread the document where it said the REPL should have focus...and somehow stuck in my mind that the flight window should have focus...in this case I must make
<sri_ram> sure my terminal is not full screen...so I can see both windows simultaneously...
<Regenaxer> I have X configured as focus follows mouse
<Regenaxer> yes
<Regenaxer> On my desktop I just need a small part of the repl win to be visible
<sri_ram> I have click to fcus...as found the other one confusing when i move the moutse....but got it now...
<Regenaxer> I like it a lot if the focus window does not need to overlay other windows
<Regenaxer> just a small part must be visible
<sri_ram> was able to throttle and also lift off just a bit :) now to learn how to fly :) how do I find the runway again? at the moment i kept going on the ground off the runway
<Regenaxer> This is difficult. I find the runway seldom
<Regenaxer> Best would be an on-board camera
<Regenaxer> or some map view
<sri_ram> ah ok...the other question was when i want to land how do i know where the runway is..maybe runway is just a starting point and one can land anywhere in the world when altitude reaches 1m :)
<Regenaxer> yes
<Regenaxer> I land always near myself
<Regenaxer> you can estimate the height above ground with the shadow
<Regenaxer> or the numeric display
<sri_ram> great...will play with it a little...main object was to learn how to write a simulation in Picolisp
<Regenaxer> ok :)
<Regenaxer> I had a *lot* of fun with it
<Regenaxer> too bad that it does not run on Android (yet)
<sri_ram> thanks :) I am looking forward to it too....from a boy, always wanted to try radio-controlled flying...this may be better even since it is not so pleasant outside today :)
<Regenaxer> yep, and won't really crash
<Regenaxer> you can train advanced things
<sri_ram> (was wondering if replacing the calls to X with openGl would help? with the android port i mean)
<Regenaxer> like looping, rolls, upside-down flight
<Regenaxer> and clean perfect landings
<Regenaxer> yes, or rewrite in JavaScript Canvas
<sri_ram> yes I saw the video on youtube....for me the landing is the best part....so will aim for that
<Regenaxer> good
orivej has quit [Quit: No Ping reply in 180 seconds.]
<Regenaxer> decrease the throttle to the lowest part, and keep hitting elevator-up to slow it down
orivej has joined #picolisp
<sri_ram> thanks ...will try that
<sri_ram> hit ground at a steep angle....needs some work :)
<sri_ram> from me i mean...to become proficient
<Regenaxer> hehe :)
<sri_ram> what is the comfortable cruising speed? 50%? to stop it keeping going up continuously?
<Regenaxer> yes, full power pulls up too much
<Regenaxer> Away for a short evening cycling tour
orivej has quit [Quit: No Ping reply in 180 seconds.]
sri_ram has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
mtsd has joined #picolisp
alexshendi has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
<alexshendi> Guten Ahmmmmd!
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
mtsd has quit [Quit: Leaving]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
mtsd has joined #picolisp
mtsd has quit [Quit: leaving]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #picolisp
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp