<sad_plan>
its what I used when messing with toybox
<wael[m]>
do you even still use toybox?
<sad_plan>
not atm no, but at some time, Ive been using it, yes
<wael[m]>
how was it
<wael[m]>
and what did you switch to afterwards
<wael[m]>
I assume busybox lol
rohan has quit [Ping timeout: 265 seconds]
<sad_plan>
busybox yes, as I completly borked my system at one point
<sad_plan>
ip also doesnt work btw, if you didnt already notice..
rohan has joined #kisslinux
<sad_plan>
is there any requirements for calling the shutdown init script?
<sad_plan>
cant I just call it in a script or something?
<midfavila>
speaking of low-level applications/high-level systems programming,
<midfavila>
if any of you guys were interested in learning about it, I've been reading a book simply called "Unix: The Textbook" recently
<midfavila>
purports to offer a complete introduction to the use and programming of unix systems, including csh, bash, python, C, the use of sockets, etc
<midfavila>
also discusses the use of debuggers and such, among other common dev tools
<sad_plan>
that does sound interesting indeed
* midfavila
nod-nods
<midfavila>
it covers PC-BSD and Solaris, though, which is a little unusual for a book published in 2016
<midfavila>
still, the book seems to have both breadth and depth
<midfavila>
~1200ish pages
<wael[m]>
sad_plan: if ip is literally broken I'm going to switch back to ubase
<midfavila>
suckless doesn't provide ip or ifconfig
<wael[m]>
wait wtf what did theb
<wael[m]>
then
<wael[m]>
or what does
<midfavila>
busybox probably
<midfavila>
i use net-tools
<wael[m]>
true
<midfavila>
yeah so like
<wael[m]>
what's net-tools
<midfavila>
oh
<midfavila>
net-tools is the original distribution of internetworking utilities for linux
<midfavila>
predates iputils
<midfavila>
(I don't like ip)
<sad_plan>
or just use iproute2 or something
<wael[m]>
hmmmm
<wael[m]>
the only reason I switched to toybox is literally no `ls` colors lol
<midfavila>
okay but
<midfavila>
that's a superfluous feature
<wael[m]>
what's superfluous
<sad_plan>
I mean, colors is nice, so its easier to differentiate different files, but still. its not detrimental. im fine without it imo
<wael[m]>
I CANNOT go without it
<midfavila>
wael[m], unnecessary or excessive
<midfavila>
see dict(1)
<wael[m]>
I need colors or I'll become emotionless and dreadful
<wael[m]>
is that a real man page
<midfavila>
uh, yes
<midfavila>
dict(1) is a DICT client
<midfavila>
fetches definitions for words
<wael[m]>
not for me
<midfavila>
install dict then
<wael[m]>
not found
<midfavila>
packaged as dictd in my repos, maybe someone else has their own package
<midfavila>
anyway for what it's worth, you could probably patch sbase ls to display colors pretty easily
rohan has quit [Ping timeout: 268 seconds]
rohan has joined #kisslinux
<wael[m]>
forgot to mention sbase kinda breaks with big packages I need
<wael[m]>
notably sed lol
<wael[m]>
also missing -v flags in cp rm ln which are for verbosity
<wael[m]>
I do not track my $? all the time so I got confused why stuff didn't work, but -v tells me what went wrong
<sad_plan>
what features from sed is missing? besides -i, but its not posix so its not unexpected that its missing
<wael[m]>
last time I've seen an error is missing sed functions
<wael[m]>
it is also impossible to compile toybox from an sbase system
<sad_plan>
probably because toybox targets gnu compability.
<sad_plan>
and sbase targets posix
<sad_plan>
so theyre not really aligned target wise. which is sortof also why Im choosing to not use toybox. I dont care for gnu tools
<sad_plan>
hence me checking out other projects
<wael[m]>
fair
<wael[m]>
testuser:
<wael[m]>
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
<sad_plan>
which line was that?
<wael[m]>
its in scripts/make.sh where it tries to compare the configuration file newer than this that yada yada
<wael[m]>
the original POSIX patch for toybox didn't work for some reason
<sad_plan>
ah, yeah I had issues with that aswell
<wael[m]>
line 275
<sad_plan>
that because since that has been created, toybox has changed drastically. the patch is getting rather old
<wael[m]>
yeah lol
<wael[m]>
it works fine in local but not in a clean state like in kiss build
<wael[m]>
yeah I updated it somewhat
<wael[m]>
its just THAT ONE line
<wael[m]>
that one line has been unchanged since the POSIX patch so its a bit confusing
<sad_plan>
I actually tried to cheat my way out of if by using only the updated .c files, but to no avail. it didnt build
<sad_plan>
then I dunno.
<wael[m]>
funkybox
<midfavila>
sad_plan, if you're looking for POSIX userland tools, I'm (slowly) working on a collection of them right now
<midfavila>
goals are SUS compatibility and ease of maintenance over performance or GNU compatibility
<sad_plan>
im interested. im currently eying sbase, k9core, and baseutils, the openbsd port
<midfavila>
i can only speak to sbase; with minimal supplementation, it works quite nicely
<sad_plan>
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..
<sad_plan>
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
<sad_plan>
thus baseutils and k9core. I also looked at phoebos' bore repo, but it doesnt contain alot of utils yet
<midfavila>
m{e,p,u}-utils is pretty barren at the moment too
<midfavila>
my systems programming knowledge and computer science knowledge are both too limited for me to handle more than the most basic of coreutils
<midfavila>
hoping that book i mentioned earlier will get me up to the point of being able to write some more programs
<sad_plan>
yeah..
<midfavila>
still need to finish echo at some point too
<midfavila>
SUS mandates that you be able to octal escape characters
<sad_plan>
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.
<sad_plan>
what is SUS?
<midfavila>
the Single UNIX Specification
<sad_plan>
aah
<midfavila>
it's an extension to POSIX necessary to attain UNIX certification
<midfavila>
unlike POSIX, it *does* specify things like UI, and some utilities work differently
<sad_plan>
I belive Ive actually heard of that someplace. maybe from you. I dont recall
<midfavila>
probably me
<midfavila>
idk if many people these days care about SUS