[2022-08-25T01:18:24Z] to whoever mentioned tinyx a while back, you're a king [2022-08-25T01:18:43Z] somehow i fucked my xorg setup and i'm currently relying on it [2022-08-25T03:17:17Z] Hi [2022-08-25T03:41:47Z] o/ [2022-08-25T03:49:11Z] hi [2022-08-25T04:33:44Z] midfavila: it was me. and youre very welcome. I noticed you can also get rid of libXdmcp [2022-08-25T04:34:28Z] you just have to use --disable-dmcp and --disable-xdm-auth-1 [2022-08-25T04:36:08Z] also; midfavila http://0x0.st/o9x9.txt nm of libc.a like you mentioned earlier [2022-08-25T04:53:12Z] is tinyx a complete or a minimal replacement of X? [2022-08-25T05:00:05Z] both more or less. im sure theres stuff to do with it, but its working fine on my end. I dont miss xorg at all really [2022-08-25T05:09:23Z] yeah for me i cant really get tinyx working probably because of fonts or something, it just loads into the framebuffer than just dies [2022-08-25T05:12:41Z] do you get any errors? like missing font alias? [2022-08-25T05:13:58Z] could not init font path element usr share fonts 100dpi something something [2022-08-25T05:14:00Z] then cant deallocate console 1 [2022-08-25T05:14:09Z] i have X running and it just skips to it [2022-08-25T05:14:38Z] https://termbin.com/sc8i [2022-08-25T05:15:03Z] this is the tinyX startup script from someone im using [2022-08-25T05:15:17Z] wael[m] tinyx is fine if you need *just* an X server [2022-08-25T05:15:26Z] i'm thinking of forking it once I have more experience [2022-08-25T05:15:31Z] you have to do a sed for tinyx to work. it doesnt replace /bin/Xorg [2022-08-25T05:15:40Z] Sfbdev [2022-08-25T05:15:44Z] s/S/X [2022-08-25T05:15:49Z] incorporate a few select extensions and maybe some stuff from xenocara idk [2022-08-25T05:16:02Z] at the very least I think xrandr is reasonable [2022-08-25T05:16:14Z] wael[m]: look at the readme https://github.com/ehawkvu/kiss-xorg/tree/master/xorg/tinyx [2022-08-25T05:16:28Z] got it sir [2022-08-25T05:16:32Z] or do as I did, create a separate one for tinyx [2022-08-25T05:17:01Z] > Get the font in .bdf format. [2022-08-25T05:17:01Z] Im sorry what [2022-08-25T05:17:06Z] midfavila: I would rewrite the make stuff. which [2022-08-25T05:17:38Z] can tinyx not do ttf fonts at all? [2022-08-25T05:17:44Z] tinyx can do ttf [2022-08-25T05:17:54Z] just not directly like X can [2022-08-25T05:18:03Z] wael[m]: nevermind that, just build the package from there, and run the sed on sx. once you ran the sed, you wont be able to launch X anymore, as youve modified sx. hence why I made a separate script for it [2022-08-25T05:18:06Z] it's passed to your applications to handle, which they usually do anyway [2022-08-25T05:18:10Z] tinyx does ttf yes [2022-08-25T05:18:22Z] although your font scaling is gonna be wonky [2022-08-25T05:18:30Z] curl -F'file=@/bin/sxfb' 0x0.st [2022-08-25T05:18:35Z] ffff [2022-08-25T05:18:35Z] simply launching the modified sx still wont work kinda [2022-08-25T05:18:45Z] http://0x0.st/o9xW.sh [2022-08-25T05:18:46Z] lmao rip [2022-08-25T05:18:50Z] wait it uses the framebuffer right [2022-08-25T05:18:52Z] use this one [2022-08-25T05:18:55Z] it does [2022-08-25T05:18:58Z] Xvfb does, ye- [2022-08-25T05:19:02Z] * midfavila huffs [2022-08-25T05:19:04Z] i should probably nvidia-drm modeset=1 then [2022-08-25T05:19:24Z] anyway sad_plan what were you saying about the make stuff? [2022-08-25T05:19:30Z] is it really as simple as that? [2022-08-25T05:19:43Z] ............it works [2022-08-25T05:19:55Z] the makefile is a disaster. its one makefile which runs multiple makefiles. not to even mention the use of autotools [2022-08-25T05:20:12Z] unfortunately that kind of stuff is standard [2022-08-25T05:20:14Z] :X [2022-08-25T05:20:22Z] wael[m]: great, now go run all your favorite tools, and be amazed that they just still works :p [2022-08-25T05:20:33Z] I knooow. and its still horribe. I hate it [2022-08-25T05:20:36Z] well dwm doesnt launhc [2022-08-25T05:20:48Z] strange [2022-08-25T05:20:57Z] it'll be interesting to see if tinyx can be compiled with tcc [2022-08-25T05:21:11Z] i've spent the past few hours working on my fork's next release [2022-08-25T05:21:34Z] most of core can self-host and there's five or six dozen packages that are confirmed working, with more otw [2022-08-25T05:21:54Z] need to replace alsa-* with tinyalsa, and if X.Org can be replaced with TinyX, well... [2022-08-25T05:22:01Z] that's an entire system sans GCC [2022-08-25T05:22:19Z] is it possible to log tinyx? the errors/logs dont tell me anything at all, i cant launch dwm or terminals using the default keybinds, as i tried tinyx before and it WILL NOT accept modkey (super key) [2022-08-25T05:24:19Z] fek [2022-08-25T05:24:29Z] looks like X11 is held back by the same stuff the rest of the distribution is [2022-08-25T05:24:31Z] lack of perl support [2022-08-25T05:25:08Z] once perl and by extension autotools and libtool are up, things will become a lot nicer [2022-08-25T05:29:58Z] wael[m]: if you have super key binded, those wont work. just fyi. [2022-08-25T05:30:11Z] but no, theres not much logs afaik [2022-08-25T05:30:16Z] try a different wm perhaps [2022-08-25T05:30:30Z] anyway i'm going to head off for the night [2022-08-25T05:30:47Z] if any of you guys are willing, i'd appreciate someone taking a peek at building perl with tcc [2022-08-25T05:30:56Z] midfavila: what about sndio aswell with tinyalsa? its what I use [2022-08-25T05:31:05Z] i'll have to look at it [2022-08-25T05:31:12Z] sndio is what obsd uses right? [2022-08-25T05:31:12Z] sad_plan: wtf why cant i use super key [2022-08-25T05:31:12Z] no alsa-lib/alsa-util at all [2022-08-25T05:31:25Z] wael[m] tinyx reads directly from the kernel [2022-08-25T05:31:31Z] unfortunatly no, tinyx doesnt seem to recognize it [2022-08-25T05:31:31Z] it doesn't have input abstractions [2022-08-25T05:31:38Z] also with ffmpeg, x11grab lags the shit out of tinyx [2022-08-25T05:31:45Z] that's why tinyx doesn't need drivers [2022-08-25T05:31:49Z] and yeah, uh, of course it does [2022-08-25T05:31:54Z] how come [2022-08-25T05:31:55Z] it's not really accelerated [2022-08-25T05:31:58Z] at least afaik [2022-08-25T05:32:09Z] but someone please correct me if i'm wrong [2022-08-25T05:32:18Z] theres no hardware accelerateration afaik anyway [2022-08-25T05:32:18Z] ok maybe i should stick with X [2022-08-25T05:32:19Z] tl;dr tinyx trades performance for compatibility [2022-08-25T05:32:28Z] and yes, you should, if you want lots of extra features and decent performance [2022-08-25T05:32:37Z] ^ [2022-08-25T05:32:38Z] tinyx excels only in portability, memory and disk usage [2022-08-25T05:32:41Z] what about Xenocara then [2022-08-25T05:32:46Z] good luck porting it [2022-08-25T05:32:52Z] but also it's just hardened x.org [2022-08-25T05:33:02Z] nvm [2022-08-25T05:33:07Z] :p [2022-08-25T05:33:14Z] anyway i need to get to bed for real now [2022-08-25T05:33:22Z] remind me about sndio next time you see me, sad_plan [2022-08-25T05:33:25Z] i'll definitely look into it [2022-08-25T05:33:34Z] what about OSS4 tho? [2022-08-25T05:33:49Z] midfavila: will do [2022-08-25T06:31:02Z] noocsharp: seeing as you stopped using kiss. what did you end up with instead? oasis? and why? [2022-08-25T07:16:44Z] https://www.reddit.com/r/linux/comments/wwsiaf/writing_a_wayland_compositor_is_much_harder_than/ [2022-08-25T07:16:52Z] very interesting [2022-08-25T07:53:19Z] testuser[m]12: you adopted file but didn't take it off the tracker [2022-08-25T07:54:01Z] I adopted file [2022-08-25T07:54:36Z] wait. no he did before me [2022-08-25T07:54:38Z] nevermind then [2022-08-25T09:09:18Z] "https://www.reddit.com/r/linux/..." <- so it's not bloated? [2022-08-25T10:09:11Z] does anyone knows why exacly toybox complains about line 4 on inittab? Ive been trying to get toybox's init to work, buuut nope [2022-08-25T10:09:40Z] line 4 is the respawn runsvdir command, starting runit. respawn is a supported command on init afaik, so I dont get it [2022-08-25T10:10:06Z] the respawn:runsvdir ? [2022-08-25T10:10:17Z] yepp [2022-08-25T10:10:38Z] if runsvdir just launches services in /var/service, why not just add the services to inittab lol [2022-08-25T10:21:01Z] if the respawn command is the issue, the tty probably wont start either.. ill have to doublecheck. I might have to create a bootscript for both, like we used to on sinit etc :p [2022-08-25T10:21:15Z] does toybox better? [2022-08-25T10:21:29Z] yes [2022-08-25T10:21:58Z] * is toybox better? [2022-08-25T10:22:32Z] weal do you use wayland or xorg? [2022-08-25T10:22:55Z] i dont believe weal is here [2022-08-25T10:23:54Z] wael? [2022-08-25T10:24:04Z] yes what about him [2022-08-25T10:24:29Z] nope. complained about not being able to run /lib/rc.boot instead [2022-08-25T10:24:30Z] hm [2022-08-25T10:24:38Z] aw [2022-08-25T10:25:21Z] virutalmachineus: toybox is smaller in any case, but less complete [2022-08-25T10:25:42Z] so wether its *better* is probably subjectiv.. [2022-08-25T10:25:50Z] wait toybox comes with no shell right [2022-08-25T10:26:05Z] currently no. but toysh is planned [2022-08-25T10:26:15Z] there is some code on toysh, but it doesnt work [2022-08-25T10:26:29Z] so if im gonna switch to toybox id have to package busybox ash on its own them hm [2022-08-25T10:26:43Z] use yash or ksh [2022-08-25T10:26:55Z] no, you could just use dash, bash, zsh, oksh yash, mksh etc... [2022-08-25T10:27:00Z] lots of shells to choose from [2022-08-25T10:27:12Z] not all work as expected with kiss though. [2022-08-25T10:27:12Z] i used to use yash/mksh/oksh before i switched to kiss but i just used the default shell (ash) and ive been quite happy with it [2022-08-25T10:27:30Z] I belive i.e. mksh has some globbing issue with kiss. Ive never tried it with kiss though.. [2022-08-25T10:27:50Z] the tab completion sucks tho so yeah i should probably switch to a better shell [2022-08-25T10:28:17Z] ash is fine I suppose, but I currently use oksh instead. vi feature is pretty neat. I used to use zsh, but I find it to be a tad bit big.. [2022-08-25T10:28:29Z] inb4 yash isnt in community repo [2022-08-25T10:28:33Z] zsh has really nice completetion, but is waaay bigger.. [2022-08-25T10:28:53Z] zsh is just too big for me i dont ever want to use it [2022-08-25T10:29:04Z] hi Im new here rn I'm installing kiss on my machine and I got error when compiling kernel [2022-08-25T10:29:22Z] iirc carbs has yash packaged. in any case, yash isnt hard to package anyway [2022-08-25T10:29:29Z] whats the error? [2022-08-25T10:30:09Z] sad_plan: i think i will have to use yash, i really like the way i can select with tab complete rather than to have to type the name manually [2022-08-25T10:30:24Z] Warning: Kernel ABI header at tools/arch/x86/lib/insn.c differs from latest version at arch/x86/lib/insn.c [2022-08-25T10:30:27Z] cennedy: https://kisscommunity.bvnf.space/FAQ/#010 might help [2022-08-25T10:30:39Z] Warning: Kernel ABI header at tools/arch/x86/lib/inat.c differs from latest version at arch/x86/lib/inat.c [2022-08-25T10:30:42Z] that's a warning, not an error [2022-08-25T10:30:45Z] thats normal [2022-08-25T10:31:33Z] wael[m]: you do that. yash is a great option anyway [2022-08-25T10:31:34Z] But it's canceling [2022-08-25T10:31:51Z] post the full log [2022-08-25T10:32:15Z] on a pastebin [2022-08-25T10:32:27Z] or pipe it to nc termbin.com 9999 [2022-08-25T10:33:32Z] How I can paste it [2022-08-25T10:33:42Z] It's on my pc [2022-08-25T10:34:23Z] Which kernel version should I use [2022-08-25T10:34:28Z] For best experience [2022-08-25T10:34:55Z] make >log 2>&1; nc termbin 9999 whichever you want [2022-08-25T10:53:04Z] sad_plan: holy shit i love yash [2022-08-25T10:53:29Z] bit sad i cant do tab select with oksh/mksh tho [2022-08-25T10:53:47Z] great [2022-08-25T10:54:04Z] there is a way to do it iirc. but Im not sure how. im sure you can script it or something instead [2022-08-25T10:54:38Z] i did try to incoprerate commands inside keybindings but i could never get that to ever work [2022-08-25T11:00:01Z] hm [2022-08-25T11:00:37Z] last time i used mksh it was so painful to do commands inside keybindings [2022-08-25T11:01:28Z] Ive never really done that too much, except in zsh, but its way different. lots of docs available, so its mostly just copy/paste at that point.. [2022-08-25T11:03:32Z] https://github.com/seankhl/fzf-mksh/blob/master/key-bindings.mksh [2022-08-25T11:03:34Z] this is an example [2022-08-25T11:06:39Z] ah. somewhat reminds me of the zsh functions actually [2022-08-25T11:38:09Z] has anyone built gtk4 on kiss? [2022-08-25T12:22:40Z] cennedy: ma man ! [2022-08-25T15:03:28Z] Hi I have question [2022-08-25T15:03:39Z] When I want to build llvm package [2022-08-25T15:03:48Z] It says [2022-08-25T15:03:56Z] Targeting amdgpu [2022-08-25T15:04:03Z] Targeting x86 [2022-08-25T15:04:11Z] But I have Intel hd graphics 2500 [2022-08-25T15:04:16Z] And 64 bit pc [2022-08-25T15:06:13Z] I think we should get rid of kiss maintainer and add maintainer file cuz it's useless when cloning a repo with --depth=1 [2022-08-25T15:07:41Z] Is it error bad thing or not [2022-08-25T15:08:04Z] Cuz I said I have Intel gpu but it's targeting amdgpu [2022-08-25T15:24:05Z] cennedy cuz shintel doesn't have a lolvm backend in mesa [2022-08-25T15:24:16Z] doesn't matter [2022-08-25T15:53:12Z] oh, hey sad_plan [2022-08-25T15:53:17Z] good timing, I just got on [2022-08-25T15:53:26Z] Hey midfavila [2022-08-25T15:53:31Z] Hah, lol great [2022-08-25T15:54:28Z] testuser[m]12: with a maintainer file, do you just mean a file containing an email, name or url etc? [2022-08-25T15:56:01Z] midfavila, look into sndio. Now Ive reminded you of it. Lol [2022-08-25T15:56:25Z] already pulled it up :p [2022-08-25T15:56:30Z] sndio is nice for some applications [2022-08-25T15:56:31Z] Also, I found a other project today. A hotkey deamon. ~200 sloc. Configs similarly to suckless tools [2022-08-25T15:56:36Z] Nice [2022-08-25T15:56:37Z] it doesn't provide a lot [2022-08-25T15:56:50Z] sauce, sad_plan? [2022-08-25T15:56:51Z] Which arent it nice for phoebos? [2022-08-25T15:57:00Z] Just a sec mid [2022-08-25T15:57:08Z] i tried implementing uxn's audio with sndio [2022-08-25T15:57:26Z] https://github.com/phenax/shotkey midfavila [2022-08-25T15:57:56Z] sndio only works with the paradigm of providing a buffer, seeing how much was successfully played and then providing the next buffer [2022-08-25T15:58:17Z] fine if you're playing a file [2022-08-25T15:58:45Z] annoying if you're synthesising stuff in [real]-time [2022-08-25T15:59:24Z] That I can understand. Sndio is really simple [2022-08-25T16:07:55Z] hmm [2022-08-25T16:08:02Z] tinyx seems promising with tcc [2022-08-25T16:08:23Z] looks like it's able to get most of the way through the source tree before hitting a (seemingly) minor syntax error [2022-08-25T16:08:51Z] dunno about its dependencies though [2022-08-25T16:09:19Z] promising indeed for smaller compilers. ive been thinking about trying a different one aswell [2022-08-25T16:09:51Z] i can send you a tarball for my current system if you want to skip some of the bootstrap [2022-08-25T16:09:57Z] (assuming you want to try tcc) [2022-08-25T16:10:27Z] yeah, tcc has been on my mind. aswell as cproc. just give me a link or something [2022-08-25T16:10:35Z] one secco [2022-08-25T16:11:42Z] http://0x0.st/o9g5.tar.gz [2022-08-25T16:11:52Z] you'll want to enter rc after chroot'ing [2022-08-25T16:11:57Z] the standard shell is dash without readline [2022-08-25T16:12:25Z] userland is suckless with minor supplements, KISS_DL should be set to axel [2022-08-25T16:12:27Z] uhhhh [2022-08-25T16:12:35Z] only other thing of note is that the standard editor is se [2022-08-25T16:12:49Z] but you should be able to compile mg or something if you'd rather [2022-08-25T16:13:25Z] sad_plan: name/email [2022-08-25T16:13:41Z] >forward slash as separator [2022-08-25T16:13:43Z] how un-unix [2022-08-25T16:13:48Z] we use colons in this chat [2022-08-25T16:14:17Z] nice. ill check it out once I get back on my laptop [2022-08-25T16:15:09Z] kk [2022-08-25T16:15:21Z] it's kind of shit because i haven't shown it to anyone else [2022-08-25T16:15:24Z] so pls be gentle [2022-08-25T16:15:25Z] uwu [2022-08-25T16:17:32Z] but yeah rn there's maybe ~150 packages that work oob [2022-08-25T16:17:36Z] no worries C: [2022-08-25T16:17:52Z] thats a higher number than expected tbh [2022-08-25T16:18:04Z] tcc is shockingly capable [2022-08-25T16:18:50Z] i'm gonna spend some time today going through and sorting the rest of my repo [2022-08-25T16:19:08Z] i figure most of it will work just fine, considering it's basically just C [2022-08-25T16:19:22Z] maybe a few perl programs here and there that'll require a binary from my host machine [2022-08-25T16:21:48Z] why not name [2022-08-25T16:22:00Z] not as easy to parse [2022-08-25T16:22:05Z] names might include spaces [2022-08-25T16:22:32Z] name:email is better afaic [2022-08-25T16:29:30Z] sounds great. are you using any patches for using s/ubase with linux btw? or does it work out of the box? [2022-08-25T16:29:58Z] works oob [2022-08-25T16:30:13Z] i've dailied the suckless utils basically since day one on kiss [2022-08-25T16:30:35Z] with a few exceptions (which I've already dealt with) you can even compile a kernel with 'em [2022-08-25T16:30:51Z] yeah, ive tried them couple times, but had some issues, so always reverted back to busybox really.. [2022-08-25T16:31:07Z] rip [2022-08-25T16:31:12Z] yup [2022-08-25T16:31:26Z] i've only had a handful of issues, and it usually comes down to either a) [2022-08-25T16:31:33Z] someone's port isn't written properly [2022-08-25T16:31:35Z] or b) [2022-08-25T16:31:41Z] someone's build system uses non-POSIX stuff [2022-08-25T16:31:55Z] kinda wanna redo my setup from scratch again, with the tools I wanna use, and just work my way up from there, and fix stuff along the way. not the other way around. [2022-08-25T16:32:06Z] i've run into so many buildfiles that place parameters *after* filenames, it's hilarious [2022-08-25T16:32:13Z] and yeah, go for it [2022-08-25T16:33:56Z] ill lay a plan this weekend perhaps, and start monday or something. i really wanna do toybox, because its more nĂ­ch, but s/ubase is way smaller, which is also appesling to me :c [2022-08-25T16:34:11Z] * midfavila nod-nods [2022-08-25T16:34:15Z] s/appesling/appealing/ [2022-08-25T16:36:11Z] I also just dont wanna deal with pesky shared libs, but we all know that aint happening any time soon :') [2022-08-25T16:36:37Z] i mean, i've gotten pretty close to a completely static userland and dev toolchain [2022-08-25T16:37:06Z] only persistent problem is what i mentioned the other day, with some symbols from stdlib being undefined during static links [2022-08-25T16:40:43Z] yeah, ive previously created a fully static system, but the lack of usable browser is for the most part whats bothering me the most. perhaps just use a chroot for that, but that would be cheating :c [2022-08-25T16:41:08Z] if you include links under the set of usable browsers, you can statically link it [2022-08-25T16:41:38Z] what is it with people and having a thing for static linking [2022-08-25T16:41:51Z] i know. but i cant seem to get the graphical part to work. for whatever reason.. [2022-08-25T16:41:57Z] makes portability a non-issue, wael[m] [2022-08-25T16:42:03Z] because static linking is based [2022-08-25T16:42:06Z] can also increase system reliability [2022-08-25T16:42:12Z] so like, as an example, [2022-08-25T16:42:25Z] if I delete the C runtime from my distro, basically everything still works fine [2022-08-25T16:42:43Z] because they each include the necessary components of the C runtime to do their job [2022-08-25T16:43:06Z] even the compiler and such works without the C runtime [2022-08-25T16:58:42Z] https://lists.gnu.org/archive/html/autoconf/2021-01/msg00049.html [2022-08-25T17:00:45Z] > Future plans [2022-08-25T17:00:47Z] Burn it [2022-08-25T17:01:45Z] fwiw i'd rather autotools than ninja or w/e [2022-08-25T17:01:50Z] or... [2022-08-25T17:01:52Z] * midfavila shudders [2022-08-25T17:01:53Z] cmake [2022-08-25T17:02:01Z] fucking libressl in a build tool [2022-08-25T17:02:26Z] whats the point of autotools [2022-08-25T17:02:50Z] to allow for programs written in C to painlessly compile natively on a wide variety of platforms, and to automate the writing of makefiles [2022-08-25T17:02:59Z] s/C/C or C++/ [2022-08-25T18:38:59Z] illiliti: https://github.com/kiss-community/community/issues/731#issuecomment-937687845 [2022-08-25T19:25:43Z] midfavila: why would you want to parse the maintainer file [2022-08-25T19:26:17Z] it's just a note of who to ask without relying on git [2022-08-25T19:29:30Z] dunno, but it's better to assume that someone somewhere will benefit from it [2022-08-25T19:29:52Z] especially when making it trivial to manipulate or not is determined by one character [2022-08-25T20:10:19Z] well : is allowed in emails [2022-08-25T20:10:23Z] better to use newline [2022-08-25T22:51:13Z] Hum [2022-08-25T22:51:41Z] Do you think I can put `-static` in my CFLAGS/CXXFLAGS ? [2022-08-25T22:52:04Z] Or it'll just fuck up a lot of things lol [2022-08-25T22:52:50Z] (Don't want to spend X hours recompiling everything and then realize that x or y doesn't work anymore) [2022-08-25T22:53:19Z] (The plan is to make kiss more or less 100% static, like oasis) [2022-08-25T23:25:00Z] no.... [2022-08-25T23:40:58Z] ogromny, unfortunately for most large projects it's a little more complex than just throwing -static in your CFLAGS or LDFLAGS