2021-10-08 03:42
ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel |
https://kisscommunity.org | post logs or else | "Seek simplicity but distrust it" -- Alfred North Whitehead
00:14
illiliti has quit [Quit: leaving]
00:25
bibliocar has joined #kisslinux
00:26
bibliocar has quit [Client Quit]
00:42
akira01 has quit [Ping timeout: 268 seconds]
00:59
<
phoebos >
ugh why doesn't posix specify TIOCGWINSZ for ioctl(3) :(
01:01
<
phoebos >
sure finding the terminal size is kinda implementation specific but the whole point of posix is to provide a standardized interface to the implementations
01:03
<
phoebos >
but then it requires stuff like ls to adapt their output "to the nature of the output device", "based on the implementation's knowledge of the output device"
01:03
<
phoebos >
just gonna have to hope people set $COLUMNS
01:04
<
noocsharp >
the obvious solution is to not use terminals
01:04
<
phoebos >
otherwise they're getting 80
01:04
<
phoebos >
oh yeah, that must be what they're getting at
01:14
bibliocar has joined #kisslinux
01:15
<
bibliocar >
Maybe someone could make a standard other than posix?
01:16
<
bibliocar >
queue xkcd standards comic
01:18
<
bibliocar >
specify UT1 over UTC and eliminate leap seconds once and for all.
01:23
<
bibliocar >
Also, i just learned there are NTP servers for UT1, which means at least I'm happy.
01:27
<
acheam >
just pull a GNU and ignore POSIX
01:41
illiliti has joined #kisslinux
01:41
<
bibliocar >
Ignoring at least parts of it seems pretty common nowadays.
01:43
<
bibliocar >
I think it's okay as long as it's well documented, especially when you have lots of little simple components like kiss.
01:46
<
acheam >
even if its in a newer standard of POSIX, whats even the point
01:46
<
acheam >
most systems I've seen only try to conform to 2001 or 2008
01:49
<
illiliti >
just don't care about ancient systems. drop them and move on
01:50
<
phoebos >
illiliti: :D yay
01:50
<
illiliti >
don't forget to adhere to POSIX as much as possible
01:51
<
cem >
yeah, I totally agree
01:51
<
phoebos >
for tc[gs]etwinsize, just gotta wait 20 years for people to realise POSIX updated :p
01:51
<
cem >
we should try best to be portable, but not with 40 year old systems
01:52
<
phoebos >
the only standard i care about is posix. if your system doesn't work with posix, buy something newer
01:55
<
cem >
the only needed addition to posix is shell local variables :^)
01:55
<
cem >
and like it will never happen, but I still don't know of a shell without local variables
01:56
<
illiliti >
yash in posix mode doesn't support local
01:56
<
cem >
let me fix that statement and say bourne-like shells without local variables currently used
01:56
<
phoebos >
i mean, you can always make more shells: myvar=1; (myvar=2; foo $myvar;) bar $myvar
01:57
<
cem >
illiliti: I thought that it did
01:58
<
cem >
I just tried, it works on yash posix mode
01:58
<
illiliti >
hmm, looks like author added support for it
01:58
<
illiliti >
the last time i tried it didn't
01:58
<
cem >
phoebos: but creating subshells is worse, and not worth it
01:59
<
cem >
most shells do add the support for it, because it's one of the most common mistakes
02:00
<
phoebos >
cem: but if you really want "local" variables, subshells provide the same functionality. kinda. if you use a few `export`s for globals
02:00
<
cem >
even then, I'd argue that locals are very useful, even if not 100% necessary
02:01
<
illiliti >
globals by default is the most annoying thing in shell
02:01
<
phoebos >
but shell was never meant for real programming
02:01
<
phoebos >
just plumbing
02:02
<
cem >
yeah, I get that you can have the same functionality with subshell, but at the end of the day, a subshell is a spawned subprocess
02:02
<
cem >
a local variable is cheap
02:03
<
cem >
subprocesses are not
02:03
<
phoebos >
i wouldn't genuinely use subshells just to get local variables
02:23
<
illiliti >
cem: yash even accepts typeset in posix mode. something is wrong...
02:25
<
trunc88 >
POSIX-compliant shell in the world!
02:26
<
illiliti >
it was much stricter before
02:35
illiliti has quit [Read error: Connection reset by peer]
02:35
illiliti_ has joined #kisslinux
03:02
<
travankor >
you start yash with yash -o posixly-correct?
03:03
<
illiliti_ >
yash -o posixlycorrect
03:04
<
illiliti_ >
i also tried to run it as sh
03:26
<
phoebos >
also does anyone know if the struct dirent * returned by readdir(3) should ever be free(3)'d?
03:32
<
noocsharp >
when in doubt, look at the musl source
03:32
<
phoebos >
oh i guess you're not supposed to do anything with the pointer until you're finished reading the dir, and then the pointer will be NULL
04:17
illiliti_ has quit [Quit: leaving]
04:28
mahmutov has joined #kisslinux
04:36
mahmutov has quit [Ping timeout: 256 seconds]
04:59
<
Featyre >
The only issue with some POSIX shells I have seen is pressing left and right to make changes but all I got is ^[[A or something
05:00
<
Featyre >
Surprisingly, KISS' POSIX shell doesn't
05:03
<
testuser[m] >
Cuz those shells don't parse escape sequences
07:24
mmatongo has joined #kisslinux
07:25
<
mmatongo >
Been a min
07:25
<
testuser[m] >
many mins
07:25
<
mmatongo >
Unfortunately I use macOS now as my daily driver cause of work
07:31
mmatongo has quit [Remote host closed the connection]
09:34
trunc88 has quit [Ping timeout: 268 seconds]
10:11
rlittl01 has quit [Remote host closed the connection]
11:35
<
Featyre >
Trying to install xorg is a chore
11:36
<
Featyre >
I'm stuck in this error
11:36
<
Featyre >
Hold on let me show logs
11:45
<
Featyre >
So it stuck on building libeproxy
11:50
<
testuser[m] >
have u modified the mesa build file
11:50
<
testuser[m] >
using libglvnd?
11:51
<
Featyre >
libeproxy doesn't detect mesa
11:52
<
testuser[m] >
hmm u dont need libglvnd at all, remove libglvnd, rebuild default mesa and then show the log
11:52
<
testuser[m] >
does it have the same error ?
11:52
<
testuser[m] >
u might have installed mesa, then installed libglvnd and then removed mesa somehow
11:52
<
testuser[m] >
so the alternatives werent swapped
11:53
<
testuser[m] >
but mesa with libglvnd isnt possible unless u alter the build file
11:53
<
testuser[m] >
oh nvm it checks
11:53
<
testuser[m] >
/usr/include/EGL doesn't exist right?
11:55
<
testuser[m] >
show contents of /var/db/kiss/installed/libglvnd/build and /var/db/kiss/installed/mesa/build and /var/db/kiss/choices
11:55
<
Featyre >
Well I uninstalled libglvnd
11:56
<
Featyre >
Mesa is rebuilding
12:33
<
testuser[m] >
Done?
13:03
<
Featyre >
I think it's fine now, don't know why it didn't detect Mesa the first time but whatever
13:21
humky has joined #kisslinux
14:32
dnv has joined #kisslinux
15:31
an3223 has quit [Ping timeout: 276 seconds]
15:36
GrumpyUser has joined #kisslinux
15:38
GrumpyUser is now known as bibliocar
15:55
mahmutov has joined #kisslinux
16:17
ella-0 has joined #kisslinux
16:20
ella-0_ has quit [Ping timeout: 240 seconds]
16:34
dnv has quit [Quit: dnv]
17:16
mahmutov_ has joined #kisslinux
17:18
mahmutov has quit [Ping timeout: 256 seconds]
18:07
mahmutov_ has quit [Ping timeout: 240 seconds]
18:09
bibliocar has quit [Read error: Connection reset by peer]
18:14
bibliocar has joined #kisslinux
18:31
mahmutov_ has joined #kisslinux
19:21
akira01 has joined #kisslinux
19:22
<
akira01 >
im little confused
19:22
<
akira01 >
whats the package that includes egl?
19:22
<
akira01 >
mesa? Or other?
20:40
akira01 has quit [Ping timeout: 268 seconds]
21:16
mahmutov_ has quit [Ping timeout: 268 seconds]
23:04
ella-0 has quit [Ping timeout: 250 seconds]
23:42
cem has quit [Remote host closed the connection]
23:42
cem has joined #kisslinux