beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
aw- has joined #picolisp
aw- has quit [Client Quit]
aw- has joined #picolisp
<Regenaxer> Shouldn't we participate in the Lisp Game Jam?
<Regenaxer> Unfortunately I'm neither a game programmer nor a gamer
<Regenaxer> A little game for PilBox would be cool though
<beneroth> hi Regenaxer
<beneroth> link?
* beneroth has no capacity currently :-(
<beneroth> thx
<Regenaxer> This was posted by Jean-Christophe in the mailings
<beneroth> haven't received it, it appears
<beneroth> last email I received from Jean-Christophe is from two days ago, 'PilCon tomorrow', about the pipe question
<Regenaxer> Didn't know it exists
<Regenaxer> oh
<Regenaxer> It is in the archive "Autumn Lisp Game Jam 2021 J"
<beneroth> btw. Regenaxer after much struggle and tiring googling... I've found the unix command 'script' (installed by default, originally from BSD in the 70s)
<beneroth> it was originally made to get a full log of a unix shell, but can also be used to run another process within a pseudo-tty (pty)
<Regenaxer> Which 'script' do you mean?
<Regenaxer> ah
<Regenaxer> yes, script I know
<beneroth> I didn't! and I searched forever to get this functionality!
<beneroth> needs to be put into an article about (pipe)
<Regenaxer> I also completely forgot about it
<beneroth> 'script' makes it possible to use cli commands in picolisp (pipe) even when they require a tty and behave differently when called without tty
<beneroth> I run more than once into this issue, it's extremely annoying, tricky to recognize at first
<Regenaxer> Might be a solution for razzy
<beneroth> exactly. maybe his tool also checks for tty
<Regenaxer> about mailings: Did you receive "PilCon yesterday"?
<beneroth> many do, I don't understand why.. I would understand cli tools using curses etc. (or other screen renderings, like vim/vip etc) checking for tty, but there are also many shell-like tools which do normal sequential input/output but behave differently when not called from a tty
<beneroth> Regenaxer, yes I did
<Regenaxer> ok
<beneroth> last mail I received
<Regenaxer> After that only 2
<Regenaxer> Yeah, tty is a special beast
<beneroth> yeah didn't receive those, not even the second one you wrote
<beneroth> maybe they check for tty to get screen size or so to better format their output.. but still
<beneroth> ah my psh issue persists on the new server, too
<Regenaxer> Ubuntu?
<beneroth> not sure if the used SSH client has to do something with or if its entirely an issue of the server (windows -> ssh -> server -> pil repl -> psh)
<beneroth> yeah, Ubuntu 18.04 (old server) and Ubuntu 20.04 (new server)
<Regenaxer> I think ssh is not the problem
<Regenaxer> rather changing tty
<Regenaxer> ctty
<Regenaxer> permissions or so?
<beneroth> yeah. but it works on my dev machine and older ubuntus
<beneroth> which permissions?
<beneroth> no issue with normal pil repl, only psh
<Regenaxer> it opens some /dev/pts/N
<Regenaxer> On Debian I never had a problem
<beneroth> same issue even when the pil server & client repl runs as root
<Regenaxer> ok
<Regenaxer> The problem were some keys not working, right?
<Regenaxer> So anyway not a permission issue
<beneroth> maybe some systemd fuckery.. systemd is such a hazard. I've wanted to mount a new partition using fstab, turns out systemd generates "systemD mount unit" configs files automatically from /etc/fstab, but when there is a slight mistake it doesn't regenerate them automatically even when /etc/fstab is updated.. resulting in the unfunny result that "mount -a" correctly does mount according to /etc/fstab configs, but then systemd detects it has a mount unit for
<beneroth> the mount point, and quickly unmounts the mount point. no errors, not even in the logs. mount -a works but systemd undoes the effect instantly.
<beneroth> Regenaxer, yes. backspace not getting recognized. so I have to type in psh commands the first time right.
<Regenaxer> Perhaps strace(s) help? Which key is passed around?
<beneroth> hm, might be an idea. which process?
<beneroth> client or server session?
<beneroth> I will test later
<Regenaxer> ok, both
<Regenaxer> write() and read() on stdio
<Regenaxer> all involved processes
<beneroth> ok, will try, thanks :)
<aw-> hi beneroth Regenaxer
<aw-> beneroth: don't forget, if an entry in /etc/fstab can't be mounted (ex: missing HDD), systemd will completely prevent the system from booting
<aw-> have to add 'nofail' to the options
<beneroth> hi aw- =)
<beneroth> right, I'm aware, thanks :)
Guest3726 has joined #picolisp
<beneroth> aw-, have you experienced with no-systemd-distros? do you plan to? I guess I need to check out devuan, but didn't so far
<beneroth> s/experienced/experimented
Guest3726 has quit [Quit: Client closed]
<Regenaxer> Hi aw-!
<aw-> beneroth: yes, you mean Linux before systemd?
<aw-> i've used Devuan, I set it up on a rock64 a while ago, it's basically just Debian without systemd. Works just as you'd expect. I stopped following the project when they started naming the releases differently from Debian releases, as if they wanted to turn it into their own OS or something.. can't keep track, don't care.
<aw-> and I still use TinyCore Linux for a bunch of things, no systemd there, it's wonderful
<aw-> beneroth: Devuan is still great though, really nice to NOT have systemd. Definitely worth trying if you dislike systemd that much.
<beneroth> aw-, thanks, good to know!
<beneroth> I dislike it on idealistic notions (bloat, transparency) and practical experience, just whenever I have an issue with OS stuff it most times turns out to be caused by systemd, while I don't see practical benefits for my work
<Regenaxer> indeed. Suddenly matrix-synapse did not start up any longer. Obscure error message. By chance I found out that "systemctl daemon-reexec" helps
<Regenaxer> Not the slightest idea why! :)
aw- has quit [Quit: Leaving.]
alexshendi has joined #picolisp
alexshe41 has joined #picolisp
alexshendi has quit [Ping timeout: 268 seconds]
alexshe41 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
aw- has joined #picolisp
alexshe80 has joined #picolisp
alexshe1 has joined #picolisp
alexshendi has quit [Ping timeout: 264 seconds]
alexshe80 has quit [Ping timeout: 264 seconds]
alexshe1 has quit [Ping timeout: 246 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Ping timeout: 246 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Ping timeout: 264 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Remote host closed the connection]