[2021-08-05T00:00:21Z] i don't care that much, it's just the first kiss related website i've seen in a different style [2021-08-05T00:00:23Z] i'll look into adding separate pages for awesome-kiss, kiss-find, and any other community projects [2021-08-05T00:06:16Z] perhaps i should add my repo to kiss find [2021-08-05T00:09:16Z] lmk where it lives, or just make a pr to add it to the includelist [2021-08-05T00:09:40Z] oh, i should rename those lists, they dont make any sense right now [2021-08-05T03:43:27Z] Hi [2021-08-05T03:46:21Z] howdy [2021-08-05T04:16:14Z] to answer your question about npm from yesterday, it isn't online yet [2021-08-05T05:39:19Z] is there a way for kiss root to export variables [2021-08-05T05:39:25Z] s/root/hook [2021-08-05T05:41:13Z] there was [2021-08-05T05:41:15Z] but now no [2021-08-05T05:41:38Z] removed by intentionally? [2021-08-05T05:41:51Z] damnI cant english rn [2021-08-05T05:42:26Z] Yeah [2021-08-05T05:42:30Z] Hooks cant do much now [2021-08-05T05:44:06Z] I guess you could gdb the parent kiss process and call setenv [2021-08-05T05:44:11Z] putenv [2021-08-05T05:44:17Z] heh [2021-08-05T05:44:33Z] easier to change /bin/kiss [2021-08-05T05:45:56Z] > This file can now be written in any language. The only requirement now is that it be executable. The variable originally exported in the environment are passed as command-line arguments to KISS_HOOK. [2021-08-05T05:45:58Z] so that's why [2021-08-05T05:46:59Z] changing variables within kiss internals is error-prone [2021-08-05T05:50:28Z] you can easily shoot yourself in the foot because shell variables are global by default [2021-08-05T05:52:50Z] idea: let kiss run `$hook | while read line; do contains "$line" export && eval $(line); done` so only intended variables are exported [2021-08-05T05:53:08Z] (buggy code, but provides the point) [2021-08-05T05:53:29Z] eval is evil [2021-08-05T05:53:50Z] remember that and never use it [2021-08-05T05:53:57Z] same evilness as sourcing imo [2021-08-05T05:55:03Z] yeah [2021-08-05T06:22:34Z] hiiii! [2021-08-05T06:22:52Z] I think I finally generated the initramfs, but does efivar compile to anyone? [2021-08-05T06:23:16Z] it fails with "cannot find -lefivar" which sounds weird [2021-08-05T06:23:30Z] like, isn't that the library I'm trying to compile? [2021-08-05T06:23:37Z] bruh [2021-08-05T06:23:40Z] yeah it doesnt work [2021-08-05T06:24:02Z] i guess its building tests [2021-08-05T06:24:17Z] oh [2021-08-05T06:24:24Z] could it be that DESTDIR thing again? [2021-08-05T06:24:29Z] no [2021-08-05T06:24:31Z] even tinyramfs broke because of that [2021-08-05T06:24:33Z] oh [2021-08-05T06:25:41Z] fuck. i hate these new changes [2021-08-05T06:25:53Z] VERSION, DESTDIR [2021-08-05T06:26:10Z] yeah it works fine if you just remove the test target in makefile [2021-08-05T06:26:14Z] yeah I wonder why they weren't at least planned [2021-08-05T06:26:18Z] oh I'll try [2021-08-05T06:26:26Z] at line 55, change all contents with '`true`' [2021-08-05T06:26:30Z] ok [2021-08-05T06:26:44Z] lol this is the third package I'm forking just to install kiss linux with luks [2021-08-05T06:26:47Z] with shell backticks idk if they show up in the message [2021-08-05T06:26:55Z] yeah they do [2021-08-05T06:27:40Z] wait there's VERSION too now? [2021-08-05T06:27:41Z] could you make an issue on shithub for efivar [2021-08-05T06:27:47Z] VERSION is for source files [2021-08-05T06:28:01Z] so you can do https://tar-VERSION.tar.xz in source file [2021-08-05T06:28:09Z] I don't know, those changes feel oddly unnecessary to me tbh [2021-08-05T06:28:12Z] but anyways [2021-08-05T06:28:29Z] I can make the issue with no prob [2021-08-05T06:28:48Z] should I make also the DESTDIR PR from yesterday? [2021-08-05T06:28:57Z] konimex fixed it [2021-08-05T06:29:09Z] nice [2021-08-05T06:29:49Z] ok I'll report the issue when I finish this hell then [2021-08-05T06:30:55Z] bruh now I can't just put the output of `cat source` as an argument for curl -O [2021-08-05T06:31:01Z] I really don't like this change [2021-08-05T06:31:10Z] yeah [2021-08-05T06:31:12Z] i often do that [2021-08-05T06:31:13Z] did [2021-08-05T06:31:39Z] I mean, I can get the presetting of stuff in the script, you can easily revert it and it already changed the enviroment in on obvious ways [2021-08-05T06:31:56Z] but why pass that through sources? What if something has VERSION in it? [2021-08-05T06:32:02Z] s/that/sed/ [2021-08-05T06:32:03Z] but why pass sed through sources? What if something has VERSION in it? [2021-08-05T06:32:10Z] it just feels wrong [2021-08-05T06:32:44Z] you escape it [2021-08-05T06:32:49Z] lol [2021-08-05T06:32:56Z] you can escape it [2021-08-05T06:32:59Z] really [2021-08-05T06:33:08Z] yeah [2021-08-05T06:33:16Z] did dylan add this thing or did it come for free [2021-08-05T06:33:27Z] check the comments [2021-08-05T06:33:31Z] I'll do [2021-08-05T06:33:33Z] line 343 [2021-08-05T06:35:15Z] I can't find it [2021-08-05T06:35:22Z] lemme update kiss [2021-08-05T06:35:32Z] just grep for VERSION [2021-08-05T06:35:56Z] already updated lol [2021-08-05T06:35:58Z] ok now I can find it [2021-08-05T06:36:38Z] that's just weird [2021-08-05T06:37:17Z] is this a new thing? [2021-08-05T06:37:20Z] yeah [2021-08-05T06:37:22Z] few weekss [2021-08-05T06:37:29Z] most people don't like it either [2021-08-05T06:37:44Z] i guess one could setup a mirror of the repo with substitution pre applied [2021-08-05T06:37:52Z] so it can be used for kiss find or repology [2021-08-05T06:38:17Z] if so many people don't like it why hasn't anybody told dylan? [2021-08-05T06:38:24Z] or maybe they did [2021-08-05T06:38:27Z] they did, but he is BDFL [2021-08-05T06:38:37Z] I see [2021-08-05T06:39:27Z] well, time to patch efivar [2021-08-05T06:42:44Z] this is his reply if you want to see it https://github.com/kisslinux/repo/issues/290 [2021-08-05T06:43:13Z] >After VERSION introduction, some packages now now have changed their VERSION number, to part of the url [2021-08-05T06:43:17Z] BRUH [2021-08-05T06:43:49Z] oh nvm [2021-08-05T06:44:05Z] I thought it was literal url pieces [2021-08-05T06:44:15Z] lol [2021-08-05T06:49:38Z] ok the argument of "sources have already weird syntax" is actually quite good [2021-08-05T06:50:16Z] my only concern would be to change those markers slightly like "$VERSION" to make it clearer those are such [2021-08-05T06:51:25Z] the tool for preparsing stuff would be great [2021-08-05T06:51:38Z] I hope dylan adds one by default [2021-08-05T06:52:53Z] still, as much as I'm not against it that much (since it's also optional) I still see it as a minor annoyance and something that could be avoided [2021-08-05T06:55:27Z] s/could be/could've been/ [2021-08-05T06:55:27Z] still, as much as I'm not against it that much (since it's also optional) I still see it as a minor annoyance and something that could've been avoided [2021-08-05T06:57:12Z] "I hope dylan adds one by default" <- Just copy paste from kiss [2021-08-05T06:57:29Z] testuser[m]: Changing that line to `true` does nothing [2021-08-05T06:57:50Z] Show the diff of the old and new makefile [2021-08-05T06:58:20Z] Or just send the makefile you edited [2021-08-05T06:58:43Z] I uploaded it on 0x0.st [2021-08-05T06:58:43Z] https://0x0.st/-4Je.patch [2021-08-05T06:58:47Z] the patch [2021-08-05T06:59:32Z] Yea it should've workee [2021-08-05T06:59:34Z] Worked [2021-08-05T06:59:52Z] oh wait [2021-08-05T07:00:02Z] I redid make in b and it said nothing to be done for all [2021-08-05T07:00:07Z] did it compile? [2021-08-05T07:00:10Z] Means it worked [2021-08-05T07:00:13Z] oh [2021-08-05T07:00:29Z] I was sure that I saw that same error [2021-08-05T07:03:27Z] oh [2021-08-05T07:03:32Z] it did return that error [2021-08-05T07:03:41Z] but if you make again it says that it's done [2021-08-05T07:04:02Z] now I'm confused [2021-08-05T07:04:21Z] Bruh [2021-08-05T07:04:41Z] The lib has built so just install it [2021-08-05T07:04:59Z] For a hack put `make ... || :` in the build file [2021-08-05T07:05:09Z] Before the last make install line [2021-08-05T07:05:24Z] let's try [2021-08-05T07:06:06Z] well, it didn't stop [2021-08-05T07:06:14Z] let me try compiling efibootmgr [2021-08-05T07:06:26Z] it compiled in an istant [2021-08-05T07:06:33Z] epic [2021-08-05T07:06:40Z] what did `:` do? [2021-08-05T07:07:41Z] Nothing [2021-08-05T07:07:43Z] Literally [2021-08-05T07:07:52Z] it does nothing [2021-08-05T07:07:58Z] is it like a feature of shell? [2021-08-05T07:08:01Z] So if the make fails it just ignores the failure [2021-08-05T07:08:07Z] : doesnt do anything [2021-08-05T07:08:11Z] oh [2021-08-05T07:08:18Z] that's interesting [2021-08-05T07:08:31Z] Block affer `||` is executed after command fail, so by adding `||:` you do nothing after command fail [2021-08-05T07:08:38Z] I see [2021-08-05T07:08:55Z] And yea : is a shell builtin [2021-08-05T07:09:01Z] You can use anything like `true` [2021-08-05T07:09:26Z] and that stops shell -e from quitting [2021-08-05T07:09:34Z] s/shell/sh/ [2021-08-05T07:09:34Z] and that stops sh -e from quitting [2021-08-05T07:09:44Z] cool [2021-08-05T07:10:16Z] btw I really hope a community wiki will continue to exist [2021-08-05T07:10:28Z] there is a lot more stuff at k1sslinux.org [2021-08-05T07:11:27Z] hi galaxy! [2021-08-05T07:17:38Z] well, time to reboot [2021-08-05T07:17:51Z] I'm 100% sure it won't work but there's only one way to find out [2021-08-05T07:17:54Z] cya! [2021-08-05T08:14:11Z] I'm so close! [2021-08-05T08:14:43Z] the disk boots but for some reason the initramfs doesn't recognize my nvme disk [2021-08-05T08:14:59Z] is there some module I forgot to compile in? [2021-08-05T08:17:20Z] Did you add those to kernel? (Device drivers -> NVME support -> ...) [2021-08-05T08:17:37Z] I don't know, I'm starting with just defconfig [2021-08-05T08:17:55Z] thinking about it I should've checked before asking that question... [2021-08-05T08:18:06Z] well, it was the excitement I guess [2021-08-05T08:18:11Z] https://wiki.gentoo.org/wiki/NVMe [2021-08-05T08:18:33Z] oh thanks! [2021-08-05T08:22:15Z] yeah, it wasn't set [2021-08-05T08:22:49Z] Great! [2021-08-05T08:23:01Z] Every time i compile kernel, this happens :D [2021-08-05T08:23:59Z] well, time to reboot once again! [2021-08-05T08:24:05Z] cya! [2021-08-05T08:51:32Z] update: the initramfs starts and asks for the luks password! [2021-08-05T08:52:07Z] sadly when luks tries to mount the drive it says that it can't figure out the target type or something like that [2021-08-05T08:53:50Z] oh I'm dumb [2021-08-05T08:53:56Z] it's probably another kernel module lmao [2021-08-05T08:58:40Z] exactly [2021-08-05T09:04:23Z] epic, time to reboot again [2021-08-05T09:25:40Z] i'm sooo close [2021-08-05T09:25:56Z] it starts, asks the password, mounts the disk and starts kiss [2021-08-05T09:26:09Z] but it says that it can't run a script [2021-08-05T09:26:33Z] oh wait I think I'm dumb [2021-08-05T09:26:41Z] I don't think I installed baseinit [2021-08-05T09:27:20Z] yeah it wasn't installed [2021-08-05T09:31:56Z] What a journey! [2021-08-05T09:37:56Z] Bruh [2021-08-05T10:10:34Z] Hi. Is there a Linux distro more KISS than Alpine? (source based distros like KISS don't count) [2021-08-05T10:12:44Z] What do you count as KISS [2021-08-05T10:12:52Z] Not having dbus and other garbage ? [2021-08-05T10:13:45Z] Yes [2021-08-05T10:14:06Z] musl instead of glibc, busybox instead of bash, etc [2021-08-05T10:14:45Z] I want to know for the sake of interest [2021-08-05T10:15:27Z] Hmm i don't know a binary distro other than alpine that does that, void is somewhat close to it i guess, but less minimal [2021-08-05T10:17:12Z] kiss can be a binary distro too if someone hosts a repo :p [2021-08-05T10:17:57Z] Right. But no one needs it ) [2021-08-05T14:18:10Z] is there a plan to merge https://github.com/kiss-community/wiki back into https://github.com/kisslinux/wiki [2021-08-05T14:18:26Z] ask dylan :p [2021-08-05T14:19:11Z] ^ [2021-08-05T14:21:12Z] pr it? [2021-08-05T15:09:13Z] I get http://0x0.st/-4tU.txt when building kiss-xorg's chromium package, should I report an issue on their GitHub, or is there something obviously wrong I did to cause it? [2021-08-05T15:10:23Z] https://raw.githubusercontent.com/kiss-community/community/main/community/chromium/patches/chromium-renamed-freetype-member.patch [2021-08-05T15:11:21Z] and its version 91, latest is 92 [2021-08-05T15:12:24Z] https://github.com/kyx0r/repo-community/commit/2b38aeb32e31d6e8a4e89664d927dfc51b5a4be2#diff-e3ad5d688d0d89f51ccc36c25cfd616d2d303b6c679ef7f28b07ebf1803d2794 [2021-08-05T15:12:25Z] just use this [2021-08-05T15:13:05Z] those ...x11=true flags are redundant but it doesnt matter [2021-08-05T15:13:33Z] thanks, I'll try kyxor's package [2021-08-05T15:31:16Z] those chromium configure flags are not the easiest to wrap ones head around. [2021-08-05T15:59:47Z] in the gnu coreutils build system, is there a way to just build one program? [2021-08-05T16:04:37Z] there's --enable-install-program to install a single/multiple progs but dont know if a single can be built [2021-08-05T16:12:48Z] im tired of formatting text manually, so i wanted to extract fmt from coreutils [2021-08-05T16:13:14Z] but openbsd fmt has no dependencies on other files, so i'm just gonna use it [2021-08-05T16:16:23Z] also, unless libfmt does something i'm missing, the package should probably be renamed from fmt to libfmt [2021-08-05T16:17:36Z] does libfmt not provide bin/fmt? [2021-08-05T16:17:55Z] also whats wrong with busybox fold? [2021-08-05T16:18:04Z] its not great, but it worked fine for me [2021-08-05T16:18:57Z] the problem with fold is that i didn't know that it existed 30 seconds ago [2021-08-05T16:19:25Z] :) [2021-08-05T16:21:19Z] actually, i tried it, and fold just does line wrapping [2021-08-05T16:21:22Z] not full text formatting [2021-08-05T16:21:44Z] whats full text formatting? [2021-08-05T16:22:39Z] fmt lengthens lines if they're too short [2021-08-05T16:22:57Z] ah okay [2021-08-05T16:23:10Z] can't you just join all the lines, then use fold? [2021-08-05T16:23:30Z] delete all single linebreaks [2021-08-05T16:23:38Z] well then i lose my paragraphs [2021-08-05T16:23:42Z] no [2021-08-05T16:23:47Z] oh wait i see what you're saying [2021-08-05T16:23:48Z] not if you keep double linebreaks [2021-08-05T16:24:07Z] idk how to do that though, maybe something with tr [2021-08-05T16:24:20Z] i just want to pipe it into fmt and let it do it's thing [2021-08-05T16:24:46Z] | tr -d '\n' -c '\n\n' | fold -w 72 [2021-08-05T16:27:19Z] that didn't work [2021-08-05T16:27:24Z] yeah [2021-08-05T16:27:25Z] i imagine there's a way to do it tho [2021-08-05T16:27:46Z] or just steal obsd fmt [2021-08-05T16:28:16Z] hmm didn't know that bc is just a preprocessor for dc [2021-08-05T16:30:30Z] noocsharp: Ask ang [2021-08-05T16:30:38Z] wtf i have dc installed [2021-08-05T16:31:08Z] is it not posix? [2021-08-05T16:31:14Z] i thought it was? [2021-08-05T16:31:36Z] i think it is, but still, i don't think i've ever tried to run dc [2021-08-05T16:31:47Z] its cool [2021-08-05T16:31:53Z] would reccomend learning it [2021-08-05T16:32:08Z] i just use bc [2021-08-05T16:32:14Z] i'm kind of on a stack-based fad [2021-08-05T16:32:27Z] but emacs calc-mode first turned me on to stack-based calculators [2021-08-05T16:33:32Z] to me, stack based languages like forth just seem esoteric [2021-08-05T16:34:20Z] they're simple, but it's hard for me to see how one would build anything bigger than a toy, and sufficiently reliable [2021-08-05T16:34:20Z] they're unusual, but that doesn't make them esoteric [2021-08-05T16:34:52Z] there are tens of space probes in space right now powered by forth. I think of it as being a step above assembly [2021-08-05T16:34:58Z] which is what most implementations are [2021-08-05T16:35:04Z] huh, didn't know that [2021-08-05T16:35:24Z] although the implementation i'm learning right now is more of a cross between python and assembly [2021-08-05T16:35:35Z] which one are you learning? [2021-08-05T16:35:51Z] retro forth [2021-08-05T16:35:56Z] http://retroforth.org/ [2021-08-05T16:36:12Z] i've seen it when browsing on sr.ht [2021-08-05T16:36:29Z] there are also some chips that can directly run forth, which I find really cool [2021-08-05T16:36:39Z] its developed using fossil, sr.ht is just a mirror [2021-08-05T16:37:40Z] isn't it being used to build an os? [2021-08-05T16:37:53Z] or is that a different one [2021-08-05T16:37:56Z] yes, https://collapseos.org/ [2021-08-05T16:38:16Z] the os is technically complete [2021-08-05T16:39:10Z] can't wait to try it in the real world [2021-08-05T16:39:27Z] lol [2021-08-05T16:41:03Z] tbh i should learn a new programming language [2021-08-05T16:41:43Z] every time i've tried in the past few years, i just give up and go back to what i know [2021-08-05T16:42:40Z] im just forcing myself to write simple stuff in forth [2021-08-05T16:42:45Z] and a few hundred lines for a full os... that's pretty neat [2021-08-05T16:42:55Z] actually a few thousand, but still [2021-08-05T16:42:57Z] like, right now im rewriting "nc netlaser 9001 < file.pdf" in forth [2021-08-05T16:44:30Z] how does one make syscalls in forth? [2021-08-05T16:45:30Z] depends on the implementation, in retro forth you can use io:unix-syscall [2021-08-05T16:47:31Z] Rewrite kiss in forth [2021-08-05T16:47:33Z] fiss [2021-08-05T16:47:36Z] i just extracted collapseos... it doesn't have a directory containing everything [2021-08-05T16:51:34Z] > [2021-08-05T16:51:34Z] ? [2021-08-05T16:52:20Z] i extracted it and all the files extracted into the current directory [2021-08-05T16:52:48Z] Bruh [2021-08-05T16:54:01Z] oh [2021-08-05T16:54:02Z] oof [2021-08-05T16:54:44Z] best way i've found to fix that is re-extract the tarball in a new directory, then do [2021-08-05T16:54:59Z] for i in *; do rm ../$i; done [2021-08-05T16:55:17Z] replace .. to path where you extracted the files to originally [2021-08-05T16:55:38Z] i cleanup up already, wasn't that bad [2021-08-05T16:55:56Z] cleaned up* [2021-08-05T17:02:57Z] huh, didn't know that you could write to arbitrary addresses in forth [2021-08-05T17:03:02Z] i thought it was limited to the stack [2021-08-05T17:08:09Z] nope you can peak and poke as you please [2021-08-05T17:27:28Z] What is it with webdevs and refactoring UIs every couple of days [2021-08-05T17:27:36Z] Shithub changed the organization view [2021-08-05T17:27:49Z] Few months back they changed issue/PR icons [2021-08-05T17:29:25Z] job security lol [2021-08-05T17:30:49Z] managers want to show that they're not useless [2021-08-05T17:32:14Z] can't increase team velocity if you don't keep changing shit [2021-08-05T17:38:50Z] txr looks pretty cool [2021-08-05T17:40:00Z] txr? [2021-08-05T17:43:37Z] https://www.nongnu.org/txr/ [2021-08-05T18:01:34Z] Using awk is it possible to keep the delimiter. I am using a regex as the delimiter and want the result too. So if the input is "Hi word1 Hello" and the delimiter is regex "word1|word2" I want to store the "word1" [2021-08-05T18:02:13Z] Print delimiter on its own is what I mean [2021-08-05T18:02:41Z] uh isnt the delimiter saved in a variable? [2021-08-05T18:02:54Z] Yes, awk '{print FS}' prints the literal regex but I want it to print the result of the regex [2021-08-05T18:03:22Z] oh [2021-08-05T18:03:33Z] can you just re-run the regex on the input? [2021-08-05T18:04:27Z] Don't think so [2021-08-05T18:05:10Z] The output would be "Hi word1|word2 Hello" which wouldn't help [2021-08-05T18:05:21Z] Since could be word1 or word2 [2021-08-05T18:16:00Z] noocsharp: awk '/^$/{printf "\n\n";i=0;next}{printf "%s%s",(i++)?" ":"",$0}END{print ""}' | fold -s [2021-08-05T18:16:41Z] you could also install 9base, or maybe try and steal its fmt(1) [2021-08-05T18:16:59Z] ang awk '{for(i=1;i<=NF;i++){ if($i=="open|wep|psk|8021x"){print $i} } } [2021-08-05T18:16:59Z] Didn't print the match [2021-08-05T18:17:33Z] It's a regexp but I want the word matched to be printed [2021-08-05T18:17:34Z] that's not how you match regular expressions [2021-08-05T18:17:37Z] if that's what you intend [2021-08-05T18:18:04Z] $i ~ /open|wep|psk|8021x/ [2021-08-05T18:18:21Z] you can replace the slashes with "..." [2021-08-05T18:18:35Z] Thnx that works, sorry I don't know awk too well [2021-08-05T18:18:44Z] all good [2021-08-05T18:19:05Z] == is simple string comparison [2021-08-05T18:45:05Z] does anyone know if gnu make uses ctime or mtime to determine which files are outdated? [2021-08-05T18:47:35Z] noocsharp: even easier, paste -s -d'\n' file | fold -s [2021-08-05T18:49:15Z] cool [2021-08-05T18:49:25Z] probably just gonna go with openbsd fmt, it seems reasonable enoguh [2021-08-05T18:50:16Z] yeah, better to have a fmt(1) [2021-08-05T18:51:31Z] rio6, can't you try it? As far as I understand it, ctime changes when you modify the file OR change it's properties [2021-08-05T18:51:45Z] so simply do a chmod 600 on some files and see what make does [2021-08-05T18:54:27Z] noocsharp: busybox fold(1) sucks anyway. It adds trailing spaces to all folded lines [2021-08-05T18:55:04Z] there are a couple commits from dylan, where he removed a ton of trailing spaces [2021-08-05T18:55:51Z] i just got fmt packaged, works amazingly [2021-08-05T18:56:15Z] nice [2021-08-05T18:57:05Z] it doesn't even download anything, i just put fmt.[c1] in the files directory of the package lol [2021-08-05T18:57:32Z] haha [2021-08-05T18:57:37Z] with a custom makefile? [2021-08-05T18:57:59Z] i call cc directly in build [2021-08-05T18:58:08Z] it's just one file, and a man page [2021-08-05T18:58:15Z] yeah, fair [2021-08-05T18:58:37Z] and it hasn't been updated in 3 years, so i think it's pretty safe [2021-08-05T18:59:14Z] now I wonder if the plan9 fmt is smaller [2021-08-05T18:59:59Z] this one's only 414 loc according to gocloc, after i removed pledge calls [2021-08-05T19:00:18Z] oh you ported your own instead of using ibara's [2021-08-05T19:00:18Z] ? [2021-08-05T19:00:59Z] yeah, only have to remove like 6 lines [2021-08-05T19:01:13Z] 9base links to some plan9 libs [2021-08-05T19:01:42Z] https://git.suckless.org/9base/file/fmt/fmt.c.html [2021-08-05T19:02:49Z] wow, that's tiny [2021-08-05T19:03:48Z] most of the plan9 stuff is tiny, unfortunately quite a few utils lack some POSIX mandated options [2021-08-05T19:04:01Z] cat -v considered harmful etc :) [2021-08-05T19:07:16Z] posix schmosix [2021-08-05T19:08:25Z] thats to be expected given that plan9 doesn't really try to be posix :) [2021-08-05T19:10:23Z] oh yeah, definitely [2021-08-05T19:11:59Z] its cat has literally 0 options [2021-08-05T19:12:07Z] thats what cat should be though! [2021-08-05T19:12:27Z] agreed [2021-08-05T19:12:32Z] at least busybox lets you configure cat down to being tht [2021-08-05T19:12:33Z] that [2021-08-05T19:12:47Z] but obsd cat has 7 flags [2021-08-05T19:12:50Z] which makes me sad [2021-08-05T19:13:01Z] including all the bloat ones like -n and -v [2021-08-05T19:13:55Z] send a patch upstream, i'm sure they'll be very happy and accept it with open arms [2021-08-05T19:14:05Z] I tend to use cat -vet quite often [2021-08-05T19:15:20Z] whats -e? [2021-08-05T19:15:21Z] you can use sed to unambiguously print all characters but cat -vet is quick to type and easy to remember [2021-08-05T19:15:44Z] $ for end of line [2021-08-05T19:15:52Z] ah [2021-08-05T19:16:43Z] i dont see the problem with cat | vis though [2021-08-05T19:17:26Z] or vis -lt in this case [2021-08-05T19:17:48Z] I think cat -v is overly exaggarated [2021-08-05T19:18:48Z] The whole "considered harmful" thing from Rob Pike is about the enlargement of the UNIX ecosystem and cat -v is a great example [2021-08-05T19:19:22Z] yes [2021-08-05T19:19:31Z] there shouldnt be any great examples!!! [2021-08-05T19:20:18Z] Fair enough [2021-08-05T19:21:59Z] acheam: as a vis user, have you mastered structural regex already? [2021-08-05T19:23:54Z] i no longer use vis [2021-08-05T19:24:04Z] also i was reffering to vis(1), as mentioned in the cat -v paper [2021-08-05T19:24:24Z] https://marc.info/?l=openbsd-misc&m=115405425107494&w=2 [2021-08-05T19:24:38Z] basically obsd keeps cat flags for compatibility and they were in 4.1bsd [2021-08-05T19:24:55Z] what do you use then? [2021-08-05T19:24:58Z] ed? [2021-08-05T19:25:04Z] oh right. For a second I thought you meant a program like that [2021-08-05T19:25:26Z] but then I was wondering why tf the text editor vis would choose that name then [2021-08-05T19:26:53Z] there is a gh issue about it [2021-08-05T19:27:02Z] on *bsd, vis is usually installed as vise [2021-08-05T19:27:14Z] noocsharp: vi(1) [2021-08-05T19:27:32Z] which on obsd, is just a visual frontend to ed [2021-08-05T19:27:38Z] you can swap to and from them easily [2021-08-05T19:27:52Z] s/ed/ex/g [2021-08-05T19:27:52Z] you can swap to and from them easily [2021-08-05T19:27:52Z] ex though, not ed [2021-08-05T19:28:11Z] yes [2021-08-05T19:28:28Z] idk the difference though [2021-08-05T19:29:32Z] ex is a more bloated vi, all you need to know [2021-08-05T19:29:42Z] s/vi/ed/ [2021-08-05T19:29:42Z] ex is a more bloated ed, all you need to know [2021-08-05T19:30:27Z] acheam: never submitted this: https://termbin.com/kfco [2021-08-05T19:30:37Z] a couple tips and tricks in there [2021-08-05T19:32:05Z] wow lots of nice tips thanks!] [2021-08-05T19:32:18Z] the z bindings I really hate [2021-08-05T19:32:21Z] compared to vim [2021-08-05T19:32:34Z] much less convinient than z{t,b,z} [2021-08-05T19:32:42Z] and less logical [2021-08-05T19:33:16Z] also do you know how to run a shell command on a custom number of lines? [2021-08-05T19:33:24Z] like say, sort the next 10 lines in place [2021-08-05T19:33:55Z] yes, I do [2021-08-05T19:34:09Z] ! [2021-08-05T19:34:29Z] or .,+10w ! [2021-08-05T19:35:01Z] s/ ./ :./ [2021-08-05T19:35:01Z] or :.,+10w :. [2021-08-05T19:35:21Z] uh im just getting not found [2021-08-05T19:35:21Z] wow, I didn't use g cotagent [2021-08-05T19:35:28Z] like if I do !10j sort [2021-08-05T19:35:38Z] sec [2021-08-05T19:35:41Z] oh [2021-08-05T19:35:45Z] nvm [2021-08-05T19:35:47Z] i was doing it with : [2021-08-05T19:35:51Z] thank you!!! [2021-08-05T19:36:04Z] ah [2021-08-05T19:36:18Z] you are welcome [2021-08-05T19:36:23Z] holy shit this is a gamechanger [2021-08-05T19:36:27Z] instantly 10x more usable [2021-08-05T19:36:50Z] yeah, quite a few things like this which are not immediately obvious [2021-08-05T19:36:59Z] where would we be without ang? [2021-08-05T19:37:08Z] :] [2021-08-05T19:39:10Z] because you can use motions, you can obviously use }} to i.e. fmt(1) a paragraph [2021-08-05T19:39:16Z] ye [2021-08-05T19:41:03Z] tbh i dont really see the use of buffers [2021-08-05T19:41:08Z] i just open a new terminal [2021-08-05T19:41:22Z] assuming im not on the tty that is [2021-08-05T19:43:03Z] I never really used them properly [2021-08-05T19:44:36Z] waaaaait [2021-08-05T19:44:40Z] macros via buffers? [2021-08-05T19:45:29Z] oh it is documented [2021-08-05T19:45:32Z] i just never read it [2021-08-05T19:46:36Z] the og way to do macros, yeah [2021-08-05T19:48:44Z] my days of sadness upon instinctively clicking q and seeing "q isn't a vi command" are over [2021-08-05T19:49:20Z] do you need macros often? [2021-08-05T19:49:25Z] yes [2021-08-05T19:49:43Z] although tbf I use macros in a lot of places a regex would do [2021-08-05T19:50:03Z] yeah [2021-08-05T19:50:11Z] I think I mostly turn to awk if I need something more complex [2021-08-05T19:50:16Z] I fairly rarely use :%s, and when I do, its never with some complex regex [2021-08-05T19:50:28Z] awk is king [2021-08-05T19:52:39Z] it really is [2021-08-05T19:52:58Z] best bang for your buck [2021-08-05T19:56:23Z] ang If I passed a shell variable to awk in order to print specific column how would I do that. awk -v var="\$1" would print literally the string "$1" [2021-08-05T19:56:44Z] '{print var}' [2021-08-05T19:57:07Z] don't escape the $ [2021-08-05T19:57:59Z] foo=bar; awk -v var="$foo" 'BEGIN { print var }' [2021-08-05T19:58:19Z] then the shell would interpret that as the first arg in the function but i want literally the column number [2021-08-05T19:58:34Z] oh, gotcha [2021-08-05T19:59:07Z] I thought it would be \$1 so that it would work out to '{print $1}' but that did not work [2021-08-05T19:59:15Z] field=3; echo "foo bar baz" | awk -v var="$field" '{ print $var }' [2021-08-05T19:59:25Z] should print "baz" [2021-08-05T19:59:58Z] ok [2021-08-05T20:33:24Z] ang Can you help with my function https://ghostbin.com/paste/EHrkQ . "$@" is a multi-line variable but [ $line = $answer ] isn't evaluating to true even tho I printed the variables out separately and they look exactly the same [2021-08-05T20:34:28Z] Does read -r line manipulate the variable in some invisible way im not seeing [2021-08-05T20:35:07Z] Basically it's a menu program and the first menu works but the second did not [2021-08-05T20:36:52Z] nvm srry [2021-08-05T20:36:57Z] figured it out [2021-08-05T20:37:11Z] is the command substitution desired? [2021-08-05T20:37:29Z] the $(...) part [2021-08-05T20:38:25Z] so what was it? [2021-08-05T20:45:41Z] There was a trailing whitespaces [2021-08-05T20:47:56Z] ah lol [2021-08-05T21:06:40Z] ang Is it possible to run command in subshell but not have it show up in the main. Like for example foo="$(printf 'bar')". I could do just foo="bar" but I also want to run command such as tr [2021-08-05T21:07:19Z] And i dont think it is possible to pipe a variable and have it treated as a string [2021-08-05T21:10:02Z] But i dont want the printf 'bar' to actually show up on the screen [2021-08-05T21:12:32Z] Uhm, I'm not really sure I understand your problem [2021-08-05T21:13:22Z] redirect stdout? [2021-08-05T21:31:57Z] awk: warning: escape sequence `\o' treated as plain `o' [2021-08-05T21:35:42Z] thing is there is no \o [2021-08-05T21:52:42Z] Hi! I'm trying to install kiss linux, but kiss doesn't seem to find my repos. How can I troubleshoot this? [2021-08-05T21:52:52Z] echo $KISS_PATH [2021-08-05T21:53:36Z] Yes, and they point to the right path [2021-08-05T21:54:05Z] then it should find your repos... [2021-08-05T21:54:09Z] what's the output [2021-08-05T21:55:06Z] It says: ERROR Package 'e2fsprogs' not in any repository [2021-08-05T21:55:21Z] whats the output of echo $KISS_PATH [2021-08-05T21:55:25Z] It fails for any program I try to build [2021-08-05T21:56:02Z] ang Btw my issue earlier was trying to read from a multiline variable without echoing it to the screen [2021-08-05T21:56:33Z] printf '%s\n "${multi_var}" | while read -r line ... [2021-08-05T21:56:34Z] My KISS_PATH is currently ":/repos/repo/core:/repos/repo/extra:/repos/community/community" [2021-08-05T21:57:10Z] that ain't the right path [2021-08-05T21:57:22Z] well did you store your repos in the root dir? [2021-08-05T21:57:23Z] unless you created /repos? [2021-08-05T21:57:28Z] which i would advise against [2021-08-05T21:57:45Z] I did. Why would you advice against that? [2021-08-05T21:58:00Z] uhh, its root-owned now, and shits all over the FHS [2021-08-05T21:58:01Z] try removing the leading ':' perhaps? (not sure if it's actually problematic) [2021-08-05T21:58:14Z] IIRC the leading : issue was fixed [2021-08-05T21:58:53Z] can you cd /repos/repo/core/ and then kiss b? [2021-08-05T21:59:00Z] Yeah, it didn't change anything [2021-08-05T21:59:19Z] What's FHS [2021-08-05T21:59:32Z] ok [2021-08-05T21:59:46Z] yeah that is bad practice just use /var/ something [2021-08-05T21:59:53Z] or put it in your /home/$USER [2021-08-05T22:00:13Z] acheam: It did something, but it failed on a 404. I thank that was just the package though [2021-08-05T22:02:04Z] what package was it? [2021-08-05T22:02:10Z] I think everything fails with 404? [2021-08-05T22:02:10Z] try another one [2021-08-05T22:02:21Z] uhh then thats an issue on your end [2021-08-05T22:02:22Z] you don't have a network connection then [2021-08-05T22:02:30Z] that wouldn't 404 would it though? [2021-08-05T22:02:40Z] I've tried e2fsprogs, dosfstools and ncurses [2021-08-05T22:02:41Z] oh yeah, maybe it's dns? [2021-08-05T22:02:50Z] yeah thats what im thinking [2021-08-05T22:03:05Z] But I can ping kisslinux.org without any problem [2021-08-05T22:03:09Z] hmmmm [2021-08-05T22:03:15Z] And I just git cloned both repos [2021-08-05T22:03:20Z] Do you have internet [2021-08-05T22:03:32Z] scroll up [2021-08-05T22:03:51Z] whats the ip that "ping armaanb.net" shows? [2021-08-05T22:05:28Z] It might have something to do with the version of the tarballs that it tries to download. The server irn't guaranteed to have *every* tarball, and if the version variable is invalid somehow, that would explain it [2021-08-05T22:05:52Z] most release servers keep archives of all past releases [2021-08-05T22:05:58Z] and our repos aren't that bad [2021-08-05T22:06:11Z] maybe a 404 here or there but not /every/ package [2021-08-05T22:06:21Z] whats the ip that "ping armaanb.net" shows? [2021-08-05T22:06:21Z] the ip is 46.23.94.85 [2021-08-05T22:06:34Z] okay thats the right ip [2021-08-05T22:06:43Z] when did you download the kiss rootfs? [2021-08-05T22:06:52Z] and from where [2021-08-05T22:07:05Z] `kiss version` ? [2021-08-05T22:07:08Z] Today, or rather yesterday now (just passed midnight) [2021-08-05T22:07:22Z] Kiss version 5.4.0 [2021-08-05T22:07:43Z] oh you're way outdated then [2021-08-05T22:07:52Z] Oh lol [2021-08-05T22:07:53Z] did you get it from github.com/kiss-community? [2021-08-05T22:07:58Z] we're on github.com/kisslinux again [2021-08-05T22:08:03Z] redownload from here: https://github.com/kisslinux/repo/releases/tag/2021.7-9 [2021-08-05T22:08:40Z] I did [2021-08-05T22:09:12Z] Can I just extract the new tarball on top of the old one? [2021-08-05T22:09:25Z] theoretically an old rootfs shouldn't be an issue, but with the libressl/openssl changes and stuff it will be easier to start with the new one [2021-08-05T22:09:33Z] rm -rf first [2021-08-05T22:09:43Z] or reformat [2021-08-05T22:09:58Z] I'll try that tomorrow, it's too late now [2021-08-05T22:10:06Z] But thanks a lot for the help [2021-08-05T22:10:20Z] you're in a channel of night owls, 12am is weak! [2021-08-05T22:10:37Z] if you're not tweaking your kiss install until the rooster crows, you're not doing it right [2021-08-05T22:13:25Z] I'm sorry, I'm trying to turn my (real) life back into control and the discovery of kiss linux hasn't been helpful xD [2021-08-05T22:16:42Z] Btw, is there an easy way to get "normie" programs like steam and dircord working? I'd prefer a solution that isn't flatpak though [2021-08-05T22:16:58Z] chroot [2021-08-05T22:17:26Z] I'll look into that :) [2021-08-05T22:17:59Z] unpack an arch rootfs then kiss-chroot into it [2021-08-05T22:18:07Z] pretty simple, and its like running arch instead of kiss [2021-08-05T22:18:30Z] beware that kiss-chroot pretty much removes any security benefits of chroot beyond programs not seeing your personal files [2021-08-05T22:20:33Z] Do you have personal experience with steam in chroot, or just programs in general? [2021-08-05T22:21:12Z] programs in general [2021-08-05T22:21:14Z] I'm curious about game compability, because I'm currently having a bit of trouble with steam [2021-08-05T22:21:16Z] but many people here have run kiss [2021-08-05T22:21:26Z] Steam in gentoo I mean [2021-08-05T22:21:29Z] if you want to run more than a few programs just run gkiss though [2021-08-05T22:21:44Z] What's that? [2021-08-05T22:21:44Z] should let most proprietary programs work out of the box [2021-08-05T22:21:52Z] kiss with Glibc and GNU coreutils [2021-08-05T22:21:59Z] Aah, right [2021-08-05T22:22:22Z] You'd also need it if you want to listen to spotify or watch netflix [2021-08-05T22:22:23Z] not gnu coreutils [2021-08-05T22:22:27Z] just glibc [2021-08-05T22:22:29Z] oh? [2021-08-05T22:22:44Z] yes [2021-08-05T22:24:31Z] one of the best things about kiss is that it destroys the temptation to use shitty normie software, because it's painful to get it working [2021-08-05T22:27:05Z] Lol, I'm dangerously close to just say fuck it and leave gaming all together [2021-08-05T22:27:25Z] do. it. [2021-08-05T22:27:35Z] I mostly program in rust in my free time anyway [2021-08-05T22:28:07Z] The problem is that I have fun games, and I'll miss them :'( [2021-08-05T22:29:28Z] Like, it's one thing to be able to play them but not doing it, and another thing to not be able to do it altogether [2021-08-05T22:29:37Z] I've tried some renpy games via a void rootfs. [2021-08-05T22:29:46Z] how could a proprietary program be fun? doesn't the moral guilt weigh heavier than than any short-term pleasure that it can provide? (/s) [2021-08-05T22:30:03Z] Lol [2021-08-05T22:30:54Z] I can kinda forgive games though. At least the commercial aspect of it [2021-08-05T22:32:06Z] I use it mostly to run tor browser. [2021-08-05T22:32:31Z] cant you run tor on kiss? [2021-08-05T22:32:46Z] i cant imagine it being much different to build than firefox [2021-08-05T22:33:58Z] Someone packaged tor in community [2021-08-05T22:34:06Z] But I'm yet to find a working tor browser package [2021-08-05T22:34:28Z] If anyone packages it, hit me up ;) [2021-08-05T22:34:53Z] Not sure how complex it is to package, but the project recommends against building your own as far as I recall. [2021-08-05T22:39:05Z] well so does firefox [2021-08-05T22:39:22Z] also because they don't want people using out-of-date versions [2021-08-05T22:42:03Z] It would be nice to build it on kiss. [2021-08-05T22:42:26Z] dew it [2021-08-05T22:44:12Z] I recall looking at a gentoo ebuild for it, was horrid. [2021-08-05T22:44:37Z] Kind of put me off trying to package it. [2021-08-05T22:59:11Z] soliwilos: cAN yOU pAcKAgE iT fOr Me?!? [2021-08-05T23:02:40Z] I'll at least look into it. [2021-08-05T23:06:31Z] not. good. enough. [2021-08-05T23:08:12Z] :p [2021-08-05T23:10:34Z] lol the rpm logo is awesome [2021-08-05T23:10:35Z] https://avatars.githubusercontent.com/u/8504469?s=200&v=4 [2021-08-05T23:10:48Z] why a packaging format needs a logo? Don't ask me! [2021-08-05T23:11:05Z] also why a packaging format needs 50 repos? [2021-08-05T23:18:39Z] Should probably delete github.com/kiss-community tbh [2021-08-05T23:23:11Z] no [2021-08-05T23:23:18Z] we are using it for community things now [2021-08-05T23:23:30Z] like http://kisscommunity.org/ gemini://gemini.ctrl-c.club/~phoebos/logs/kisslinux-2021-08-05.txt

-- Leo's gemini proxy

-- Connecting to gemini.ctrl-c.club:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain; charset=utf-8

-- Response ended

-- Page fetched on Sun Jun 2 13:17:32 2024