[2022-10-05T00:45:06Z] >mfw autotools expects the system's implementation of cat to only ever be unbuffered [2022-10-05T00:45:18Z] *all* they had to do was specify -u [2022-10-05T01:11:19Z] Lol [2022-10-05T01:11:23Z] Where's that from [2022-10-05T01:11:25Z] ? [2022-10-05T01:15:46Z] where's what from? the -u option, my complaint, or..? [2022-10-05T01:16:19Z] btw, phoebos, to add to our conversation a little while ago about athena, [2022-10-05T01:16:23Z] http://www.ibiblio.org/pub/linux/system/!INDEX.short.html [2022-10-05T01:16:31Z] there are a number of athena-based programs here, if you ever wanted to look [2022-10-05T01:16:44Z] i've only explored the status directory thus far [2022-10-05T01:21:37Z] The error msg. [2022-10-05T01:21:49Z] oh [2022-10-05T01:22:04Z] it fails to generate config.status when the system's cat implementation buffers output [2022-10-05T01:22:11Z] or, at least, it throws that error [2022-10-05T01:26:20Z] Generator build systems tend to bring those problems =P [2022-10-05T02:29:03Z] has anyone tested river? [2022-10-05T02:29:12Z] is it better than sway? [2022-10-05T02:53:18Z] I would say try dwl [2022-10-05T03:10:05Z] is more "lightweight" ? [2022-10-05T03:10:26Z] obviously, as it isn't written in Zig [2022-10-05T03:27:26Z] Leaving here, see y'll. [2022-10-05T03:30:28Z] was gonna make a westfold joke as gondor but couldn't figure out how to relate it to WMs [2022-10-05T03:33:57Z] just say it [2022-10-05T04:01:25Z] Hi [2022-10-05T04:25:04Z] Hi [2022-10-05T07:30:57Z] o/ [2022-10-05T07:34:16Z] \o [2022-10-05T08:03:04Z] o/ [2022-10-05T08:22:39Z] phoebos: https://codeberg.org/kiss-community/kiss/commit/4386cf1c96f7aa5053d8249b795acc8cbfa38872 ? [2022-10-05T09:52:45Z] testuser[m]: nice one [2022-10-05T09:52:53Z] you could use equ rather than [ though [2022-10-05T09:54:29Z] midfavila: ooh thanks. always interested in more athena programs [2022-10-05T10:50:05Z] https://codeberg.org/dnkl/fuzzel [2022-10-05T11:23:10Z] personally I would use fzy with a scratchpad terminal [2022-10-05T14:53:31Z] phoebos, same [2022-10-05T14:54:00Z] there's very few athena programs that seems to be both of real use and small enough to understand and learn from [2022-10-05T14:54:03Z] it's unfortunate [2022-10-05T14:54:27Z] speaking of, [2022-10-05T14:54:46Z] could you guys keep an eye out for ancient versions of aewm? it apparently used xaw once upon a time [2022-10-05T16:27:36Z] til toybox is incompatible with kisslinux init scripts [2022-10-05T16:27:50Z] send [2022-10-05T16:28:02Z] send what [2022-10-05T16:30:07Z] L o g [2022-10-05T16:31:33Z] how [2022-10-05T16:33:24Z] rc.boot line 10 toybox warn, line 57 broken option (fsck is 'unstable' in toybox), line 70 fail to remount, line 74, -a doesn't exist [2022-10-05T16:33:40Z] Send [2022-10-05T16:33:42Z] Screenshot [2022-10-05T16:34:09Z] give me a momeny [2022-10-05T16:42:00Z] * wael[m] uploaded an image: (234KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JdVBAtKgiPkotYvHyLlPzlUL/LMC8.4_20221005_194125_PX3_LMC_FINAL%20nfr%20uwversion.jpg > [2022-10-05T16:42:28Z] phoebos @phoebos:libera.chat: illiliti: sad_plan: [2022-10-05T16:55:29Z] that's expected [2022-10-05T16:56:36Z] https://github.com/landley/toybox/blob/master/toys/lsb/mount.c#L71-L88 [2022-10-05T16:58:13Z] mount -a isn't a real flag? [2022-10-05T16:58:33Z] and if that's true, then the same is for swapon? [2022-10-05T16:59:08Z] mount -a mounts everything in fstab [2022-10-05T16:59:22Z] swapon -a is the same [2022-10-05T17:00:05Z] swapon -a in toybox doesn't exist [2022-10-05T17:00:24Z] no, but thats what it should do [2022-10-05T17:00:56Z] use util-linux. toybox is incomplete and barely usable [2022-10-05T17:02:02Z] also, fsck -a on toybox doesnt exist. so youd have to patch out the -a [2022-10-05T17:02:19Z] so fsck -ATt instead of -AaTt [2022-10-05T17:02:34Z] if I were to do that I'd use ubase, I tried out toybox purely only for 2 or 5 programs that have features that aren't in sbase [2022-10-05T17:02:48Z] sad_plan: that is what I did, I reverted it for the picture [2022-10-05T17:04:14Z] i'm not sure that toybox fsck will work at all. it is essentially stubbed [2022-10-05T17:04:42Z] dilyn used it, so it does work [2022-10-05T17:08:13Z] ok [2022-10-05T17:08:49Z] i think mount fails because https://github.com/landley/toybox/blob/master/toys/lsb/mount.c#L79 [2022-10-05T17:09:51Z] it remounts fine but fails at mount -a no? [2022-10-05T17:10:27Z] iirc, mount -a fails, but its a non-fatal error though [2022-10-05T17:10:46Z] still causes the boot process to be interrupted lol [2022-10-05T17:11:33Z] it does. really annoying. could just pass || continue though [2022-10-05T17:12:29Z] my swap tho :( [2022-10-05T17:12:35Z] I did that earlier on a project, and it did work [2022-10-05T17:12:49Z] youd have to specify the swap partition manually [2022-10-05T17:12:54Z] instead of swapon -a [2022-10-05T17:12:58Z] that also works [2022-10-05T17:13:19Z] its a swapfile [2022-10-05T17:13:19Z] oh yeah true [2022-10-05T17:13:19Z] bit of a hassle isn't it [2022-10-05T17:14:48Z] sure, but you could just make bootscript to enable it instead [2022-10-05T17:15:15Z] boot hook you mean? [2022-10-05T17:15:18Z] yeah [2022-10-05T17:15:41Z] well boot hooks are executed after swapon is initiated so [2022-10-05T17:16:11Z] if I'm going to modify the init scripts I might as well just override them as well [2022-10-05T17:16:11Z] will need also a ||continue I guess [2022-10-05T17:20:08Z] wael[m]: this works https://github.com/hovercats/kiss-somethingsomethingstatic/blob/refactor/core/baselayout/files/rc.init [2022-10-05T17:20:15Z] its what I used when messing with toybox [2022-10-05T17:20:30Z] do you even still use toybox? [2022-10-05T17:21:08Z] not atm no, but at some time, Ive been using it, yes [2022-10-05T17:21:25Z] how was it [2022-10-05T17:21:47Z] and what did you switch to afterwards [2022-10-05T17:21:48Z] I assume busybox lol [2022-10-05T17:22:40Z] busybox yes, as I completly borked my system at one point [2022-10-05T17:27:49Z] ip also doesnt work btw, if you didnt already notice.. [2022-10-05T17:32:01Z] is there any requirements for calling the shutdown init script? [2022-10-05T17:32:26Z] cant I just call it in a script or something? [2022-10-05T17:33:54Z] speaking of low-level applications/high-level systems programming, [2022-10-05T17:34:16Z] if any of you guys were interested in learning about it, I've been reading a book simply called "Unix: The Textbook" recently [2022-10-05T17:34:55Z] purports to offer a complete introduction to the use and programming of unix systems, including csh, bash, python, C, the use of sockets, etc [2022-10-05T17:35:19Z] also discusses the use of debuggers and such, among other common dev tools [2022-10-05T17:35:34Z] that does sound interesting indeed [2022-10-05T17:35:43Z] * midfavila nod-nods [2022-10-05T17:36:05Z] it covers PC-BSD and Solaris, though, which is a little unusual for a book published in 2016 [2022-10-05T17:36:22Z] still, the book seems to have both breadth and depth [2022-10-05T17:36:30Z] ~1200ish pages [2022-10-05T17:37:01Z] sad_plan: if ip is literally broken I'm going to switch back to ubase [2022-10-05T17:37:13Z] suckless doesn't provide ip or ifconfig [2022-10-05T17:37:24Z] wait wtf what did theb [2022-10-05T17:37:25Z] then [2022-10-05T17:37:27Z] or what does [2022-10-05T17:37:28Z] busybox probably [2022-10-05T17:37:32Z] i use net-tools [2022-10-05T17:37:33Z] true [2022-10-05T17:37:47Z] yeah so like [2022-10-05T17:37:47Z] what's net-tools [2022-10-05T17:37:49Z] oh [2022-10-05T17:37:58Z] net-tools is the original distribution of internetworking utilities for linux [2022-10-05T17:38:03Z] predates iputils [2022-10-05T17:38:09Z] (I don't like ip) [2022-10-05T17:38:14Z] or just use iproute2 or something [2022-10-05T17:38:25Z] hmmmm [2022-10-05T17:38:46Z] the only reason I switched to toybox is literally no `ls` colors lol [2022-10-05T17:38:54Z] okay but [2022-10-05T17:39:01Z] that's a superfluous feature [2022-10-05T17:39:38Z] what's superfluous [2022-10-05T17:39:40Z] I mean, colors is nice, so its easier to differentiate different files, but still. its not detrimental. im fine without it imo [2022-10-05T17:39:51Z] I CANNOT go without it [2022-10-05T17:39:52Z] wael[m], unnecessary or excessive [2022-10-05T17:39:59Z] see dict(1) [2022-10-05T17:40:00Z] I need colors or I'll become emotionless and dreadful [2022-10-05T17:40:14Z] is that a real man page [2022-10-05T17:40:19Z] uh, yes [2022-10-05T17:40:24Z] dict(1) is a DICT client [2022-10-05T17:40:29Z] fetches definitions for words [2022-10-05T17:40:33Z] not for me [2022-10-05T17:40:38Z] install dict then [2022-10-05T17:40:52Z] not found [2022-10-05T17:41:19Z] packaged as dictd in my repos, maybe someone else has their own package [2022-10-05T17:43:00Z] anyway for what it's worth, you could probably patch sbase ls to display colors pretty easily [2022-10-05T17:44:44Z] forgot to mention sbase kinda breaks with big packages I need [2022-10-05T17:44:45Z] notably sed lol [2022-10-05T17:44:56Z] also missing -v flags in cp rm ln which are for verbosity [2022-10-05T17:45:31Z] I do not track my $? all the time so I got confused why stuff didn't work, but -v tells me what went wrong [2022-10-05T17:45:36Z] what features from sed is missing? besides -i, but its not posix so its not unexpected that its missing [2022-10-05T17:47:03Z] last time I've seen an error is missing sed functions [2022-10-05T17:47:17Z] it is also impossible to compile toybox from an sbase system [2022-10-05T17:47:35Z] probably because toybox targets gnu compability. [2022-10-05T17:47:39Z] and sbase targets posix [2022-10-05T17:48:06Z] so theyre not really aligned target wise. which is sortof also why Im choosing to not use toybox. I dont care for gnu tools [2022-10-05T17:48:20Z] hence me checking out other projects [2022-10-05T17:48:44Z] fair [2022-10-05T17:48:44Z] testuser: [2022-10-05T17:54:43Z] I also sort of gave up with the POSIX shell patch for toybox because I couldn't get one line and one line only right [2022-10-05T17:55:06Z] which line was that? [2022-10-05T17:55:46Z] its in scripts/make.sh where it tries to compare the configuration file newer than this that yada yada [2022-10-05T17:55:51Z] the original POSIX patch for toybox didn't work for some reason [2022-10-05T17:56:14Z] ah, yeah I had issues with that aswell [2022-10-05T17:56:21Z] line 275 [2022-10-05T17:56:42Z] that because since that has been created, toybox has changed drastically. the patch is getting rather old [2022-10-05T17:56:55Z] yeah lol [2022-10-05T17:56:58Z] it works fine in local but not in a clean state like in kiss build [2022-10-05T17:57:03Z] yeah I updated it somewhat [2022-10-05T17:57:41Z] its just THAT ONE line [2022-10-05T17:57:42Z] that one line has been unchanged since the POSIX patch so its a bit confusing [2022-10-05T17:57:43Z] I actually tried to cheat my way out of if by using only the updated .c files, but to no avail. it didnt build [2022-10-05T17:57:53Z] then I dunno. [2022-10-05T17:58:08Z] funkybox [2022-10-05T18:03:40Z] sad_plan, if you're looking for POSIX userland tools, I'm (slowly) working on a collection of them right now [2022-10-05T18:04:03Z] goals are SUS compatibility and ease of maintenance over performance or GNU compatibility [2022-10-05T18:04:23Z] im interested. im currently eying sbase, k9core, and baseutils, the openbsd port [2022-10-05T18:04:44Z] i can only speak to sbase; with minimal supplementation, it works quite nicely [2022-10-05T18:04:57Z] however, right now im trying to figure out how I can properly call the rc.shutdown script. calling it manually, or via a script, does not seem to work for some reason.. [2022-10-05T18:05:29Z] yeah, sbase seems fine, but I would like something else, just for the sake of choosing something else, but im initially fine with sbase. its simple enough, and works [2022-10-05T18:05:54Z] thus baseutils and k9core. I also looked at phoebos' bore repo, but it doesnt contain alot of utils yet [2022-10-05T18:06:23Z] m{e,p,u}-utils is pretty barren at the moment too [2022-10-05T18:06:41Z] my systems programming knowledge and computer science knowledge are both too limited for me to handle more than the most basic of coreutils [2022-10-05T18:07:04Z] hoping that book i mentioned earlier will get me up to the point of being able to write some more programs [2022-10-05T18:07:38Z] yeah.. [2022-10-05T18:08:03Z] still need to finish echo at some point too [2022-10-05T18:08:16Z] SUS mandates that you be able to octal escape characters [2022-10-05T18:08:44Z] I was planing on figuring this stuff out, and then *lock* myself to this setup, aslong as it actually works, and get started on actually learning programming. I got a fairly ok workflow these days. [2022-10-05T18:08:49Z] what is SUS? [2022-10-05T18:08:57Z] the Single UNIX Specification [2022-10-05T18:09:00Z] aah [2022-10-05T18:09:06Z] it's an extension to POSIX necessary to attain UNIX certification [2022-10-05T18:09:32Z] unlike POSIX, it *does* specify things like UI, and some utilities work differently [2022-10-05T18:10:19Z] I belive Ive actually heard of that someplace. maybe from you. I dont recall [2022-10-05T18:10:25Z] probably me [2022-10-05T18:10:36Z] idk if many people these days care about SUS [2022-10-05T18:10:41Z] yeah, most likely you :P [2022-10-05T18:11:35Z] what's k9core? [2022-10-05T18:12:11Z] its a minimal coreutilites [2022-10-05T18:12:14Z] ill fetch the link [2022-10-05T18:12:26Z] their ls also lacks colors [2022-10-05T18:12:30Z] just so you know [2022-10-05T18:12:31Z] :P [2022-10-05T18:13:07Z] https://git.bvnf.space/k9core/log.html [2022-10-05T18:13:24Z] phoebos' fork. the upstream doesnt have any updates that his doesnt [2022-10-05T18:13:32Z] midfavila: lol [2022-10-05T18:13:33Z] so does baseutils too [2022-10-05T18:13:34Z] fycj [2022-10-05T18:13:34Z] fuck [2022-10-05T18:13:52Z] why do you even need these colors anyway? [2022-10-05T18:14:01Z] why are they so important? [2022-10-05T18:14:04Z] is there seriously no coreutils that has ls colors [2022-10-05T18:14:11Z] not many [2022-10-05T18:14:14Z] its a convenience [2022-10-05T18:14:18Z] like I said, it's kind of a superfluous feature [2022-10-05T18:14:21Z] not important [2022-10-05T18:14:28Z] I can suffice it for a little indicator in text [2022-10-05T18:14:33Z] similar to 9base [2022-10-05T18:16:06Z] what, k9core is strange. ls with no flags or dirs, will just output nothing [2022-10-05T18:16:10Z] thats unexpected [2022-10-05T18:16:53Z] bruh thats worse than no colors [2022-10-05T18:17:22Z] yeah, k9 is... [2022-10-05T18:17:28Z] ...bad? [2022-10-05T18:17:32Z] mediocre? [2022-10-05T18:17:36Z] sub-optimal. [2022-10-05T18:17:58Z] i wouldn't use k9core [2022-10-05T18:18:02Z] so why is it on the watchlist [2022-10-05T18:18:02Z] I can't fault them for trying, but at least parse your arguments properly [2022-10-05T18:18:12Z] it was educational at best [2022-10-05T18:18:27Z] hm, ok, ill scratch that from the list then :p [2022-10-05T18:18:45Z] you don't have many options for coreutils if you expect ls to output in color [2022-10-05T18:18:51Z] it's like [2022-10-05T18:18:55Z] GNU and Busybox [2022-10-05T18:18:57Z] and that's it [2022-10-05T18:19:25Z] toybox. [2022-10-05T18:19:37Z] toybox isn't complete [2022-10-05T18:19:39Z] like come on its such a basic feature!! [2022-10-05T18:19:39Z] phoebos: I noticed you forked baseutils. were you planing on doing anything more with it? I noticed you fixed the fcommon stuff [2022-10-05T18:19:41Z] true [2022-10-05T18:19:58Z] oh [2022-10-05T18:20:00Z] phoebos is aabacuss? [2022-10-05T18:20:04Z] yes [2022-10-05T18:20:07Z] i suppose i should mention my other goal for my utils: [2022-10-05T18:20:19Z] makes sense [2022-10-05T18:20:20Z] compile without errors under tcc and cproc [2022-10-05T18:20:28Z] and pass SPLint checks [2022-10-05T18:20:40Z] sad_plan: just that fix. otherwise, use openbsd [2022-10-05T18:20:57Z] midfavila: what is SPLint [2022-10-05T18:20:57Z] ah ok [2022-10-05T18:21:03Z] gotta plug https://git.bvnf.space/bore [2022-10-05T18:21:11Z] a shellcheck for C? [2022-10-05T18:21:16Z] wael[m], SPLint is an extension to the traditional lint utility [2022-10-05T18:21:17Z] does it have ls [2022-10-05T18:21:21Z] wael[m], yes, basically [2022-10-05T18:21:29Z] it's capable of both static and dynamic analysis [2022-10-05T18:21:39Z] phoebos: yeah, I did notice that one. but its not very complete :p [2022-10-05T18:21:39Z] oo interesting [2022-10-05T18:21:51Z] atleast lacks alot of utils [2022-10-05T18:21:55Z] it's also not much slower than regular lint, even with dynanal [2022-10-05T18:22:11Z] the downside is that the way that it works requires you learn a DSL [2022-10-05T18:22:34Z] need to manually annotate regions for checking to happen outside of static analysis [2022-10-05T18:23:02Z] midfavila: remove dyn from dynanal [2022-10-05T18:23:13Z] wow that's so fucking hilarious and clever [2022-10-05T18:23:19Z] original sex joke [2022-10-05T18:23:23Z] *very funny* [2022-10-05T18:23:27Z] yes I'm so funyn [2022-10-05T18:25:43Z] Bruh is this SPLint thing something that's been dead since 2010 [2022-10-05T18:26:07Z] ...no? [2022-10-05T18:26:40Z] https://github.com/splintchecker/splint [2022-10-05T18:26:42Z] send [2022-10-05T18:26:43Z] last commit was 2021 [2022-10-05T18:27:05Z] anyway, the idea of a "dead" program is one I object to [2022-10-05T18:27:12Z] well-written programs stand the test of time [2022-10-05T18:27:35Z] Yeah I saw that repo but that's like 10 commits [2022-10-05T18:27:57Z] 768, but what's almost two orders of magnitude between friends [2022-10-05T18:28:34Z] 18 commits since 2012 [2022-10-05T18:29:01Z] and? [2022-10-05T18:29:52Z] clang-tidy [2022-10-05T18:31:18Z] i'm not installing llvm and clang just to lint my C programs [2022-10-05T18:31:30Z] and, anyway, neither is an option for me [2022-10-05T18:37:27Z] cppcheck? [2022-10-05T18:39:26Z] if it's C++, it's not an option [2022-10-05T18:58:13Z] wael[m]: https://github.com/dilyn-corner/KISS-me/blob/main/core/baseinit/patches/toybox.patch [2022-10-05T19:10:14Z] Should baseinit mount cgroups? [2022-10-05T19:10:17Z] https://codeberg.org/kiss-community/community/src/branch/main/community/docker/files/run [2022-10-05T19:13:11Z] probably [2022-10-05T19:13:48Z] my kernel doesn't have cgroups [2022-10-05T19:14:02Z] if supported [2022-10-05T19:14:02Z] only then [2022-10-05T19:14:13Z] ok [2022-10-05T19:15:34Z] illiliti: can u check the KISS chroot pr once [2022-10-05T19:15:46Z] mkre [2022-10-05T19:15:51Z] more* [2022-10-05T19:16:31Z] I made a change to not rerun as root if already root [2022-10-05T19:31:13Z] looks fine. do i need to run it? [2022-10-05T19:34:01Z] No [2022-10-05T19:34:09Z] It's tested [2022-10-05T19:35:22Z] ok [2022-10-05T19:48:25Z] sad_plan: yea, I'm making slow progress :p [2022-10-05T19:49:06Z] but they're POSIX, all of it, and no more [2022-10-05T19:50:41Z] https://codeberg.org/kiss-community/kiss/pulls/62#issuecomment-634486 [2022-10-05T22:49:20Z] hello everyone