<noocsharp>
i don't care that much, it's just the first kiss related website i've seen in a different style
<micro_O>
i'll look into adding separate pages for awesome-kiss, kiss-find, and any other community projects
<noocsharp>
perhaps i should add my repo to kiss find
<micro_O>
lmk where it lives, or just make a pr to add it to the includelist
<micro_O>
oh, i should rename those lists, they dont make any sense right now
micro_O has quit [Ping timeout: 258 seconds]
vladimyr[m] has joined #kisslinux
zenomat has quit [Ping timeout: 258 seconds]
zenomat has joined #kisslinux
zenomat has quit [Changing host]
zenomat has joined #kisslinux
vladimyr[m] is now known as vladimyr
Uks2 has quit [Ping timeout: 268 seconds]
Uks2 has joined #kisslinux
micro_O has joined #kisslinux
<testuser[m]>
Hi
<noocsharp>
howdy
<noocsharp>
to answer your question about npm from yesterday, it isn't online yet
micro_O has quit [Ping timeout: 240 seconds]
GalaxyNova has joined #kisslinux
gtms has joined #kisslinux
GalaxyNova has quit [Read error: Connection reset by peer]
<rio6>
is there a way for kiss root to export variables
<rio6>
s/root/hook
<testuser[m]>
there was
<testuser[m]>
but now no
<rio6>
removed by intentionally?
<rio6>
damnI cant english rn
<testuser[m]>
Yeah
<testuser[m]>
Hooks cant do much now
<testuser[m]>
I guess you could gdb the parent kiss process and call setenv
<testuser[m]>
putenv
<rio6>
heh
<rio6>
easier to change /bin/kiss
<rio6>
> 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.
<rio6>
so that's why
<illiliti>
changing variables within kiss internals is error-prone
<illiliti>
you can easily shoot yourself in the foot because shell variables are global by default
<rio6>
idea: let kiss run `$hook | while read line; do contains "$line" export && eval $(line); done` so only intended variables are exported
<rio6>
(buggy code, but provides the point)
<illiliti>
eval is evil
<illiliti>
remember that and never use it
<rio6>
same evilness as sourcing imo
<illiliti>
yeah
riteo-laptop has joined #kisslinux
<riteo-laptop>
hiiii!
<riteo-laptop>
I think I finally generated the initramfs, but does efivar compile to anyone?
<riteo-laptop>
it fails with "cannot find -lefivar" which sounds weird
<riteo-laptop>
like, isn't that the library I'm trying to compile?
<testuser[m]>
bruh
<testuser[m]>
yeah it doesnt work
<testuser[m]>
i guess its building tests
<riteo-laptop>
oh
<riteo-laptop>
could it be that DESTDIR thing again?
<testuser[m]>
no
<riteo-laptop>
even tinyramfs broke because of that
<riteo-laptop>
oh
<illiliti>
fuck. i hate these new changes
<illiliti>
VERSION, DESTDIR
<testuser[m]>
yeah it works fine if you just remove the test target in makefile
<riteo-laptop>
yeah I wonder why they weren't at least planned
<riteo-laptop>
oh I'll try
<testuser[m]>
at line 55, change all contents with '`true`'
<riteo-laptop>
ok
<riteo-laptop>
lol this is the third package I'm forking just to install kiss linux with luks
<testuser[m]>
with shell backticks idk if they show up in the message
<riteo-laptop>
yeah they do
<riteo-laptop>
wait there's VERSION too now?
<testuser[m]>
could you make an issue on shithub for efivar
<riteo-laptop>
I don't know, those changes feel oddly unnecessary to me tbh
<riteo-laptop>
but anyways
<riteo-laptop>
I can make the issue with no prob
<riteo-laptop>
should I make also the DESTDIR PR from yesterday?
<testuser[m]>
konimex fixed it
<riteo-laptop>
nice
<riteo-laptop>
ok I'll report the issue when I finish this hell then
micro_O has joined #kisslinux
<riteo-laptop>
bruh now I can't just put the output of `cat source` as an argument for curl -O
<riteo-laptop>
I really don't like this change
<testuser[m]>
yeah
<testuser[m]>
i often do that
<testuser[m]>
did
<riteo-laptop>
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
<riteo-laptop>
but why pass that through sources? What if something has VERSION in it?
<riteo-laptop>
s/that/sed/
<cotangent>
<riteo-laptop> but why pass sed through sources? What if something has VERSION in it?
<riteo-laptop>
it just feels wrong
<testuser[m]>
you escape it
<testuser[m]>
lol
<riteo-laptop>
you can escape it
<riteo-laptop>
really
<testuser[m]>
yeah
<riteo-laptop>
did dylan add this thing or did it come for free
<testuser[m]>
check the comments
<riteo-laptop>
I'll do
<testuser[m]>
line 343
micro_O has quit [Ping timeout: 250 seconds]
<riteo-laptop>
I can't find it
<riteo-laptop>
lemme update kiss
<testuser[m]>
just grep for VERSION
<riteo-laptop>
already updated lol
<riteo-laptop>
ok now I can find it
<riteo-laptop>
that's just weird
<riteo-laptop>
is this a new thing?
<testuser[m]>
yeah
<testuser[m]>
few weekss
<testuser[m]>
most people don't like it either
<testuser[m]>
i guess one could setup a mirror of the repo with substitution pre applied
<testuser[m]>
so it can be used for kiss find or repology
<riteo-laptop>
if so many people don't like it why hasn't anybody told dylan?
<riteo-laptop>
>After VERSION introduction, some packages now now have changed their VERSION number, to part of the url
<riteo-laptop>
BRUH
<riteo-laptop>
oh nvm
<riteo-laptop>
I thought it was literal url pieces
<testuser[m]>
lol
<riteo-laptop>
ok the argument of "sources have already weird syntax" is actually quite good
<riteo-laptop>
my only concern would be to change those markers slightly like "$VERSION" to make it clearer those are such
<riteo-laptop>
the tool for preparsing stuff would be great
<riteo-laptop>
I hope dylan adds one by default
<riteo-laptop>
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
<riteo-laptop>
s/could be/could've been/
<cotangent>
<riteo-laptop> 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
<testuser[m]>
<riteo-laptop> "I hope dylan adds one by default" <- Just copy paste from kiss
<riteo-laptop>
testuser[m]: Changing that line to `true` does nothing
<testuser[m]>
Show the diff of the old and new makefile
vladimyr has left #kisslinux [#kisslinux]
<testuser[m]>
Or just send the makefile you edited
micro_O has quit [Read error: Connection reset by peer]
gtms has quit [Remote host closed the connection]
micro_O_ has quit [Ping timeout: 258 seconds]
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 258 seconds]
micro_O has joined #kisslinux
<msk[m]>
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?
<Guest16>
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"
<Guest16>
Print delimiter on its own is what I mean
<acheam>
uh isnt the delimiter saved in a variable?
<Guest16>
Yes, awk '{print FS}' prints the literal regex but I want it to print the result of the regex
<acheam>
oh
<acheam>
can you just re-run the regex on the input?
<Guest16>
Don't think so
<Guest16>
The output would be "Hi word1|word2 Hello" which wouldn't help
<acheam>
also do you know how to run a shell command on a custom number of lines?
<acheam>
like say, sort the next 10 lines in place
<ang>
yes, I do
<ang>
!<motion>
<ang>
or .,+10w !<command>
<ang>
s/ ./ :./
<cotangent>
<ang> or :.,+10w :.<command>
<acheam>
uh im just getting <motion> not found
<ang>
wow, I didn't use g cotagent
<acheam>
like if I do !10j sort
<ang>
sec
<acheam>
oh
<acheam>
nvm
<acheam>
i was doing it with :
<acheam>
thank you!!!
<ang>
ah
<ang>
you are welcome
<acheam>
holy shit this is a gamechanger
<acheam>
instantly 10x more usable
<ang>
yeah, quite a few things like this which are not immediately obvious
<acheam>
where would we be without ang?
<ang>
:]
<ang>
because you can use motions, you can obviously use }} to i.e. fmt(1) a paragraph
<acheam>
ye
<acheam>
tbh i dont really see the use of buffers
<acheam>
i just open a new terminal
<acheam>
assuming im not on the tty that is
<ang>
I never really used them properly
<acheam>
waaaaait
<acheam>
macros via buffers?
<acheam>
oh it is documented
<acheam>
i just never read it
<ang>
the og way to do macros, yeah
micro_O has quit [Ping timeout: 240 seconds]
<acheam>
my days of sadness upon instinctively clicking q and seeing "q isn't a vi command" are over
<ang>
do you need macros often?
<acheam>
yes
<acheam>
although tbf I use macros in a lot of places a regex would do
<ang>
yeah
<ang>
I think I mostly turn to awk if I need something more complex
<acheam>
I fairly rarely use :%s, and when I do, its never with some complex regex
<acheam>
awk is king
gtms has joined #kisslinux
<ang>
it really is
<ang>
best bang for your buck
gtms has quit [Client Quit]
gtms has joined #kisslinux
<Guest16>
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"
<Guest16>
'{print var}'
<ang>
don't escape the $
<ang>
foo=bar; awk -v var="$foo" 'BEGIN { print var }'
<Guest16>
then the shell would interpret that as the first arg in the function but i want literally the column number
<ang>
oh, gotcha
<Guest16>
I thought it would be \$1 so that it would work out to '{print $1}' but that did not work
<Guest16>
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
<Guest16>
Does read -r line manipulate the variable in some invisible way im not seeing
<Guest16>
Basically it's a menu program and the first menu works but the second did not
<Guest16>
nvm srry
<Guest16>
figured it out
<ang>
is the command substitution desired?
<ang>
the $(...) part
<ang>
so what was it?
<Guest16>
There was a trailing whitespaces
<ang>
ah lol
gtms has quit [Remote host closed the connection]
<Guest16>
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
<Guest16>
And i dont think it is possible to pipe a variable and have it treated as a string
<Guest16>
But i dont want the printf 'bar' to actually show up on the screen
<ang>
Uhm, I'm not really sure I understand your problem
<acheam>
redirect stdout?
<Guest16>
awk: warning: escape sequence `\o' treated as plain `o'
<Guest16>
thing is there is no \o
GalaxyNova has quit [Quit: Whoooooshh]
NomisIV has joined #kisslinux
<NomisIV>
Hi! I'm trying to install kiss linux, but kiss doesn't seem to find my repos. How can I troubleshoot this?
<acheam>
echo $KISS_PATH
<NomisIV>
Yes, and they point to the right path
<acheam>
then it should find your repos...
<noocsharp>
what's the output
<NomisIV>
It says: ERROR Package 'e2fsprogs' not in any repository
<acheam>
whats the output of echo $KISS_PATH
<NomisIV>
It fails for any program I try to build
<Guest16>
ang Btw my issue earlier was trying to read from a multiline variable without echoing it to the screen
<Guest16>
printf '%s\n "${multi_var}" | while read -r line ...
<NomisIV>
My KISS_PATH is currently ":/repos/repo/core:/repos/repo/extra:/repos/community/community"
<acheam>
that ain't the right path
<noocsharp>
well did you store your repos in the root dir?
<acheam>
unless you created /repos?
<acheam>
which i would advise against
<NomisIV>
I did. Why would you advice against that?
<acheam>
uhh, its root-owned now, and shits all over the FHS
<noocsharp>
try removing the leading ':' perhaps? (not sure if it's actually problematic)
<acheam>
IIRC the leading : issue was fixed
<acheam>
can you cd /repos/repo/core/<package> and then kiss b?
<NomisIV>
Yeah, it didn't change anything
<Guest16>
What's FHS
<Guest16>
ok
<Guest16>
yeah that is bad practice just use /var/ something
<Guest16>
or put it in your /home/$USER
<NomisIV>
acheam: It did something, but it failed on a 404. I thank that was just the package though
Guest16 has quit [Quit: Client closed]
Guest16 has joined #kisslinux
<acheam>
what package was it?
<acheam>
try another one
<NomisIV>
I think everything fails with 404?
<acheam>
uhh then thats an issue on your end
<noocsharp>
you don't have a network connection then
<acheam>
that wouldn't 404 would it though?
<NomisIV>
I've tried e2fsprogs, dosfstools and ncurses
<noocsharp>
oh yeah, maybe it's dns?
<acheam>
yeah thats what im thinking
<NomisIV>
But I can ping kisslinux.org without any problem
<acheam>
hmmmm
<NomisIV>
And I just git cloned both repos
<Guest16>
Do you have internet
<acheam>
scroll up
<acheam>
whats the ip that "ping armaanb.net" shows?
<NomisIV>
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
<acheam>
most release servers keep archives of all past releases
<acheam>
and our repos aren't that bad
<acheam>
maybe a 404 here or there but not /every/ package
<acheam>
whats the ip that "ping armaanb.net" shows?
<NomisIV>
the ip is 46.23.94.85
<acheam>
okay thats the right ip
<noocsharp>
when did you download the kiss rootfs?
<acheam>
and from where
<acheam>
`kiss version` ?
<NomisIV>
Today, or rather yesterday now (just passed midnight)
<NomisIV>
Kiss version 5.4.0
<acheam>
oh you're way outdated then
<NomisIV>
Oh lol
<acheam>
did you get it from github.com/kiss-community?
<NomisIV>
Can I just extract the new tarball on top of the old one?
<acheam>
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
<acheam>
rm -rf first
<acheam>
or reformat
<NomisIV>
I'll try that tomorrow, it's too late now
<NomisIV>
But thanks a lot for the help
<acheam>
you're in a channel of night owls, 12am is weak!
<acheam>
if you're not tweaking your kiss install until the rooster crows, you're not doing it right
<NomisIV>
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
<NomisIV>
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
<acheam>
chroot
GalaxyNova has joined #kisslinux
<NomisIV>
I'll look into that :)
<acheam>
unpack an arch rootfs then kiss-chroot into it
<acheam>
pretty simple, and its like running arch instead of kiss
<acheam>
beware that kiss-chroot pretty much removes any security benefits of chroot beyond programs not seeing your personal files
<NomisIV>
Do you have personal experience with steam in chroot, or just programs in general?
<acheam>
programs in general
<NomisIV>
I'm curious about game compability, because I'm currently having a bit of trouble with steam
<acheam>
but many people here have run kiss
<NomisIV>
Steam in gentoo I mean
<acheam>
if you want to run more than a few programs just run gkiss though
<acheam>
should let most proprietary programs work out of the box
<NomisIV>
What's that?
<GalaxyNova>
kiss with Glibc and GNU coreutils
<NomisIV>
Aah, right
<GalaxyNova>
You'd also need it if you want to listen to spotify or watch netflix
<acheam>
not gnu coreutils
<acheam>
just glibc
<GalaxyNova>
oh?
<acheam>
yes
<noocsharp>
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
<NomisIV>
Lol, I'm dangerously close to just say fuck it and leave gaming all together
<acheam>
do. it.
<NomisIV>
I mostly program in rust in my free time anyway
<NomisIV>
The problem is that I have fun games, and I'll miss them :'(
yamchah2 has quit [Remote host closed the connection]
yamchah2 has joined #kisslinux
<NomisIV>
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
<soliwilos>
I've tried some renpy games via a void rootfs.
<acheam>
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)
<NomisIV>
Lol
<NomisIV>
I can kinda forgive games though. At least the commercial aspect of it
<soliwilos>
I use it mostly to run tor browser.
<acheam>
cant you run tor on kiss?
<acheam>
i cant imagine it being much different to build than firefox
<GalaxyNova>
Someone packaged tor in community
<GalaxyNova>
But I'm yet to find a working tor browser package
<GalaxyNova>
If anyone packages it, hit me up ;)
<soliwilos>
Not sure how complex it is to package, but the project recommends against building your own as far as I recall.
<acheam>
well so does firefox
<acheam>
also because they don't want people using out-of-date versions
<soliwilos>
It would be nice to build it on kiss.
<acheam>
dew it
<soliwilos>
I recall looking at a gentoo ebuild for it, was horrid.
<soliwilos>
Kind of put me off trying to package it.
<GalaxyNova>
soliwilos: cAN yOU pAcKAgE iT fOr Me?!?