💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-01-05.txt captured on 2024-05-12 at 16:09:30.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-01-05T05:14:20 #kisslinux <icyphox> anyone know of any vim-like text editor that's not as bloated 2020-01-05T05:17:34 #kisslinux <xor29ah> busybox vi 2020-01-05T05:19:12 #kisslinux <icyphox> hmmm 2020-01-05T05:20:51 #kisslinux <icyphox> xor29ah: vi doesn't have syntax highlighting, does it? 2020-01-05T06:26:23 #kisslinux <mforney> vis? 2020-01-05T06:37:41 #kisslinux <icyphox> mforney: i think i'll stick to vim, lol 2020-01-05T06:43:44 #kisslinux <eyepatchOwl> kakoune aims for less feature bloat than vim, but I'm not sure that it's binary is actually smaller. 2020-01-05T06:43:56 #kisslinux <eyepatchOwl> @icyphox 2020-01-05T06:44:08 #kisslinux <icyphox> it's also functionally different, afaik 2020-01-05T06:45:00 #kisslinux <eyepatchOwl> There is a substantial difference in how you manipulate the editor, but it's still vim-like. 2020-01-05T06:45:13 #kisslinux <eyepatchOwl> for some, generous, definition of vim-like. 2020-01-05T06:45:39 #kisslinux <icyphox> indeed 2020-01-05T06:45:49 #kisslinux <icyphox> i'll have to do a considerable amount of re-learning 2020-01-05T06:45:58 #kisslinux <icyphox> which i cba to, frankly 2020-01-05T06:46:50 #kisslinux <eyepatchOwl> I found that the re-learning was quite minimal, although they're close enough that my muscle memory gets confused if I forget which editor I'm in. I use it as my main editor and feel big wins for large tasks and small losses for small tasks. 2020-01-05T06:47:28 #kisslinux <eyepatchOwl> In any case, I don't think the binary is smaller than a vim binary, so no real alternative there. 2020-01-05T06:47:34 #kisslinux <icyphox> i see 2020-01-05T06:47:48 #kisslinux <icyphox> in which case i'll stick to vim 2020-01-05T06:48:04 #kisslinux <icyphox> s/whihc/that 2020-01-05T08:10:10 #kisslinux <Aarg> icyphox: checkout neatvi, bim and nvi 2020-01-05T08:12:51 #kisslinux <Aarg> nvi2 is the best of all the vi's but it doesn't build with musl 2020-01-05T08:27:42 #kisslinux <dylanaraps> lieuxnoir: iwd 2020-01-05T08:29:28 #kisslinux <dylanaraps> Aarg: nvi2 should build on KISS as we provide the needed BSD headers. 2020-01-05T08:32:50 #kisslinux <Aarg> oh, I will have a look then 2020-01-05T08:34:09 #kisslinux <Aarg> I normally use nvi but have you looked at voids package? they patch it so heavily, not going to touch that myself 2020-01-05T08:34:24 #kisslinux <dylanaraps> Actually. 2020-01-05T08:34:28 #kisslinux <dylanaraps> 2 headers are missing. 2020-01-05T08:34:39 #kisslinux <dylanaraps> bitstring.h 2020-01-05T08:34:44 #kisslinux <dylanaraps> Oh, just that one. 2020-01-05T08:34:49 #kisslinux <Aarg> there is a closed issue asking about musl compat 2020-01-05T08:34:54 #kisslinux <dylanaraps> Yup 2020-01-05T08:35:02 #kisslinux <Aarg> where the author is hardly helpful 2020-01-05T08:35:03 #kisslinux <dylanaraps> That's what I'm talking about :P 2020-01-05T08:35:24 #kisslinux <Aarg> ah :D 2020-01-05T08:35:34 #kisslinux <Aarg> might be hopeless :( 2020-01-05T08:35:45 #kisslinux <dylanaraps> Let me test a build 2020-01-05T08:36:20 #kisslinux <Aarg> if you manage to build it, that would rock 2020-01-05T08:36:39 #kisslinux <Aarg> being stuck on bb vi is not cool, its quite buggy too 2020-01-05T08:38:33 #kisslinux <dylanaraps> ninja: build.ninja:1254:116: invalid $ escape 2020-01-05T08:38:36 #kisslinux <dylanaraps> Interesting 2020-01-05T08:39:04 #kisslinux <dylanaraps> Let me try with Make 2020-01-05T08:42:47 #kisslinux <Aarg> btw. are you aware that kiss's max password length is 8? 2020-01-05T08:43:48 #kisslinux <Aarg> I was so confused when I clearly mistyped the end of my pw but it still logged me in 2020-01-05T09:18:36 #kisslinux <dylanaraps> Man this is a non-portable source 2020-01-05T09:20:26 #kisslinux <Aarg> damn 2020-01-05T09:20:47 #kisslinux <dylanaraps> It's ok 2020-01-05T09:20:50 #kisslinux <dylanaraps> I'm getting it done. 2020-01-05T09:20:53 #kisslinux <dylanaraps> No patching 2020-01-05T09:21:02 #kisslinux <Aarg> :o 2020-01-05T09:21:16 #kisslinux <dylanaraps> Maybe one patch 2020-01-05T09:21:52 #kisslinux <Aarg> was about to ask if we have to follow the authors advice to just use vim 2020-01-05T09:23:26 #kisslinux <dylanaraps> Following advice is not what we do here :^) 2020-01-05T09:24:20 #kisslinux <Aarg[m]> lol 2020-01-05T09:24:37 #kisslinux <Aarg[m]> See, that's why I love your distro 2020-01-05T09:27:13 #kisslinux <dylanaraps> Heh 2020-01-05T09:27:22 #kisslinux <dylanaraps> Gets 40% through the build so far 2020-01-05T09:57:31 #kisslinux <dylanaraps> It builds ;) 2020-01-05T09:57:35 #kisslinux <dylanaraps> Linker errors now 2020-01-05T10:06:47 #kisslinux <dylanaraps> ooo it's a missing dependency me thinks 2020-01-05T10:07:36 #kisslinux <Aarg[m]> 🙏 2020-01-05T10:13:11 #kisslinux <dylanaraps> > log.c:(.text+0x4ae): undefined reference to `dbopen' 2020-01-05T10:13:16 #kisslinux <dylanaraps> A bunch of these (all the same) 2020-01-05T10:13:38 #kisslinux <dylanaraps> Ah 2020-01-05T10:13:40 #kisslinux <dylanaraps> Figured it out 2020-01-05T10:25:33 #kisslinux <Aarg[m]> What was it? 2020-01-05T10:26:03 #kisslinux <Aarg[m]> Oh, that's some bad stuff, right? 2020-01-05T10:26:19 #kisslinux <Aarg[m]> I think that's how buffers are stored internally or something 2020-01-05T10:26:34 #kisslinux <Aarg[m]> s/bad/bsd/ 2020-01-05T10:27:10 #kisslinux <Aarg[m]> Using a database that is 2020-01-05T10:27:50 #kisslinux <dylanaraps> berkley db 2020-01-05T10:27:57 #kisslinux <dylanaraps> But an old version of berkley db 2020-01-05T10:28:10 #kisslinux <dylanaraps> Which is kinda OK since there's a compatibility header. 2020-01-05T10:31:02 #kisslinux <Aarg[m]> Aah, okey 2020-01-05T10:31:13 #kisslinux <dylanaraps> yay 2020-01-05T10:31:33 #kisslinux <dylanaraps> OK 2020-01-05T10:31:33 #kisslinux <dylanaraps> a couple more linker errors. 2020-01-05T11:04:13 #kisslinux <dylanaraps> OK 2020-01-05T11:04:20 #kisslinux <dylanaraps> We need berkeley db version 1 lol 2020-01-05T11:12:37 #kisslinux <Aarg> wow, how old is that? 2020-01-05T11:12:56 #kisslinux <dylanaraps> Here's the thing. 2020-01-05T11:13:24 #kisslinux <dylanaraps> Current berkeley db has version 1 as a compatibility header but it still seems incompatible. 2020-01-05T11:13:29 #kisslinux <dylanaraps> https://github.com/dylanaraps/dylan-kiss/blob/master/nvi2/build 2020-01-05T11:13:38 #kisslinux <dylanaraps> It builds and links fine. 2020-01-05T11:13:48 #kisslinux <dylanaraps> Issue is that at runtime it errors out. 2020-01-05T11:14:07 #kisslinux <dylanaraps> This gets hit: https://github.com/hyc/BerkeleyDB/blob/master/lang/db185/db185.c#L174 2020-01-05T11:14:11 #kisslinux <dylanaraps> Due to the usage of bfname. 2020-01-05T11:14:35 #kisslinux <dylanaraps> I abuse CFLAGS to define everything :^) 2020-01-05T11:14:45 #kisslinux <dylanaraps> Then added a single BSD header. 2020-01-05T11:15:05 #kisslinux <dylanaraps> Finally, ripped out the base64.c file from BSD and build it into the binary. 2020-01-05T11:15:32 #kisslinux <dylanaraps> There's some sed calls to fix non-posix stuff. 2020-01-05T11:18:02 #kisslinux <Aarg> maybe looking at how normal nvi was ported could help? 2020-01-05T11:18:16 #kisslinux <Aarg> should be pretty much the same editor 2020-01-05T11:18:18 #kisslinux <dylanaraps> I've tried. 2020-01-05T11:18:24 #kisslinux <Aarg> sorry that Im not off more help 2020-01-05T11:18:27 #kisslinux <dylanaraps> All good 2020-01-05T11:18:34 #kisslinux <Aarg> stuff like this is way above my capabilites 2020-01-05T11:18:59 #kisslinux <Aarg> capabilities* 2020-01-05T11:22:01 #kisslinux <dylanaraps> Ah 2020-01-05T11:22:11 #kisslinux <dylanaraps> nvi includes the old berkeley db source in its tree. 2020-01-05T11:29:40 #kisslinux <dylanaraps> OK 2020-01-05T11:29:43 #kisslinux <dylanaraps> Will do the same. 2020-01-05T11:29:46 #kisslinux <dylanaraps> Be on later though. 2020-01-05T11:29:49 #kisslinux <dylanaraps> Out of time for now. 2020-01-05T12:30:51 #kisslinux <icyphox> Aarg: bim looks good! i'll try that out 2020-01-05T12:31:36 #kisslinux <icyphox> i'm basically looking for a drop-in replacement. bim seems to fit the bill, somewhat. 2020-01-05T12:32:05 #kisslinux <icyphox> i will have to see how i can make it look like my current nvim install. 2020-01-05T12:36:51 #kisslinux <Aarg> aye, give it a try 2020-01-05T12:37:03 #kisslinux <Aarg> some people also compile a minimal vim 2020-01-05T12:37:45 #kisslinux <Aarg> I've given up on fancy looks, nowadays I disable as much of the ui as possible 2020-01-05T12:38:19 #kisslinux <Aarg> don't even need ruler when you can Ctrl-G :) 2020-01-05T14:05:24 #kisslinux <dylanaraps> OK. 2020-01-05T14:05:33 #kisslinux <dylanaraps> nvi2 also needs 'lorder' and 'tsort' from BSD. 2020-01-05T14:05:55 #kisslinux <dylanaraps> Well, the old berkeley db needs them. 2020-01-05T14:07:26 #kisslinux <dylanaraps> Time to remove these dependencies... 2020-01-05T15:26:20 #kisslinux <icyphox> I think I might do an install of KISS, finally, today. I'll use my phone/iPad for Bluetooth. Heh. 2020-01-05T15:26:41 #kisslinux <icyphox> But urghh I don't want to have to setup everything again. 2020-01-05T15:26:44 #kisslinux <icyphox> I will see. 2020-01-05T15:37:23 #kisslinux <dylanaraps> lol 2020-01-05T15:37:47 #kisslinux <dylanaraps> The kernel config is the tricky part. 2020-01-05T15:39:28 #kisslinux <icyphox> Oh yeah. I don't look forward to that. 2020-01-05T15:39:42 #kisslinux <icyphox> I've always screwed that up. 2020-01-05T15:54:26 #kisslinux <dylanaraps> I did it my first time when I installed KISS. :P 2020-01-05T15:54:32 #kisslinux <dylanaraps> Sorry. Power went out. 2020-01-05T16:02:53 #kisslinux <dylanaraps> I'm now convinced that nvi2 is terrible 2020-01-05T16:03:57 #kisslinux <Aarg> :D 2020-01-05T16:04:11 #kisslinux <Aarg> don't bother, I would probably be the only user anyway 2020-01-05T16:05:55 #kisslinux <dylanaraps> Tried bim? https://github.com/klange/bim 2020-01-05T16:08:42 #kisslinux <Aarg> briefly, some things annoyed me but I can't remember what it was 2020-01-05T16:09:28 #kisslinux <dylanaraps> Ah 2020-01-05T16:09:56 #kisslinux <dylanaraps> I use vim personally as I love using this https://github.com/junegunn/goyo.vim 2020-01-05T16:11:58 #kisslinux <dylanaraps> Also https://github.com/byllgrim/svi and https://github.com/byllgrim/mvi 2020-01-05T16:12:27 #kisslinux <Aarg> goyo is neat, I think I've seen it before 2020-01-05T16:12:36 #kisslinux <Aarg> okey, checked bim again 2020-01-05T16:12:42 #kisslinux <dylanaraps> Also https://github.com/aligrudi/neatvi 2020-01-05T16:12:52 #kisslinux <Aarg> what annoyed me is that you can't filter lines via '! 2020-01-05T16:13:05 #kisslinux <dylanaraps> Open an issue 2020-01-05T16:13:06 #kisslinux <Aarg> and you can't 'r !<cmd>' either 2020-01-05T16:13:16 #kisslinux <dylanaraps> It's in active development :) 2020-01-05T16:13:53 #kisslinux <Aarg> yeah, I should do that, it seems really nice besides missing features 2020-01-05T16:15:49 #kisslinux <dylanaraps> When did you try busybox vi last? 2020-01-05T16:16:11 #kisslinux <Aarg> I've been using it all day :) 2020-01-05T16:16:19 #kisslinux <dylanaraps> Ah 2020-01-05T16:16:29 #kisslinux <Aarg> since I installed kiss like a couple days ago 2020-01-05T16:16:41 #kisslinux <Aarg> it mainly shits itself when you undo indentation changes 2020-01-05T16:16:51 #kisslinux <Aarg> garbles the lines it undos 2020-01-05T16:17:24 #kisslinux <Aarg> it also has no ! ex command 2020-01-05T16:17:37 #kisslinux <dylanaraps> I can't reproduce your first issue. 2020-01-05T16:17:40 #kisslinux <Aarg> really annoying when you cant filter a range through fold/fmt 2020-01-05T16:17:47 #kisslinux <dylanaraps> i<TAB><ESC>u 2020-01-05T16:17:55 #kisslinux <Aarg> use >> or << 2020-01-05T16:17:58 #kisslinux <dylanaraps> OK 2020-01-05T16:18:30 #kisslinux <dylanaraps> ah 2020-01-05T16:18:32 #kisslinux <dylanaraps> gotcha 2020-01-05T16:18:44 #kisslinux <Aarg> it's pretty sad 2020-01-05T16:19:03 #kisslinux <Aarg> oh, speaking of busybox 2020-01-05T16:19:06 #kisslinux <Aarg> I mentioned earlier 2020-01-05T16:19:20 #kisslinux <Aarg> are you aware that the current max password length is characters? 2020-01-05T16:19:27 #kisslinux <Aarg> 8 characters* 2020-01-05T16:22:26 #kisslinux <Aarg> CONFIG_USE_BB_CRYPT=y and CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" is the reason afaict 2020-01-05T16:22:33 #kisslinux <dylanaraps> Yup 2020-01-05T16:23:23 #kisslinux <Aarg> I was misstyping my password and it still logged me in 2020-01-05T16:23:29 #kisslinux <Aarg> which was very confusing for a second 2020-01-05T16:23:33 #kisslinux <dylanaraps> Truncates most likely 2020-01-05T16:23:45 #kisslinux <Aarg> yes 2020-01-05T16:23:46 #kisslinux <dylanaraps> I haven't noticed as I use smaller passwords for my accounts. 2020-01-05T16:23:52 #kisslinux <dylanaraps> I'll fix it. 2020-01-05T16:24:00 #kisslinux <dylanaraps> I wonder if it'll break existing des passwords(?) 2020-01-05T16:25:48 #kisslinux <Aarg> my wild guess is that it wont affect you and you only have to change passwords if you want the new cypher or original length over 8 chars 2020-01-05T16:26:41 #kisslinux <dylanaraps> We could keep it the default and have users set the algorithm they'd like. 2020-01-05T16:28:26 #kisslinux <Aarg> can you even change it at runtime? 2020-01-05T16:28:48 #kisslinux <dylanaraps> Yup 2020-01-05T16:28:58 #kisslinux <dylanaraps> > Default encryption method (passwd -a, cryptpw -m, chpasswd -c ALG) 2020-01-05T16:29:04 #kisslinux <dylanaraps> > Possible choices are "d[es]", "m[d5]", "s[ha256]" or "sha512". 2020-01-05T16:30:22 #kisslinux <dylanaraps> passwd has no help output though... 2020-01-05T16:30:30 #kisslinux <dylanaraps> Nor a man page... 2020-01-05T16:30:31 #kisslinux <Aarg> yeah I was just checking 2020-01-05T16:30:34 #kisslinux <dylanaraps> Thanks busybox 2020-01-05T16:32:27 #kisslinux <Aarg> okey -a sha512 works 2020-01-05T16:33:04 #kisslinux <Aarg> I guess no need to change the busybox config 2020-01-05T16:33:39 #kisslinux <Aarg> it's probably better to mention this whole thing in the wiki 2020-01-05T16:34:17 #kisslinux <dylanaraps> Yeah 2020-01-05T17:47:36 #kisslinux <E5ten> dylanaraps could I get a summary of why nvi2 is terrible 2020-01-05T17:48:22 #kisslinux <E5ten> oh cool well I'm trying the cmake build that it has and the sed command it uses breaks ninja nice 2020-01-05T17:50:49 #kisslinux <E5ten> uh I think it uses $@ in its cmake custom command because that works in a Makefile holy shit bad build system usage 2020-01-05T17:51:03 #kisslinux <E5ten> like it uses $@ because in the generated Makefile that'll refer to the correct thing 2020-01-05T17:51:04 #kisslinux <E5ten> wow 2020-01-05T17:55:57 #kisslinux <E5ten> this entire build system is broken with ninja because they wrote their cmake to be specifically working with Makefiles I think 2020-01-05T17:55:58 #kisslinux <E5ten> I now agree, nvi2 trash 2020-01-05T17:58:28 #kisslinux <Aarg> E5ten: https://github.com/lichray/nvi2/issues/40 2020-01-05T17:58:33 #kisslinux <Aarg> This is also pretty cool 2020-01-05T18:04:45 #kisslinux <E5ten> oh yes, that's fun and good 2020-01-05T18:17:02 #kisslinux <dylanaraps> I sent a bunch of messages but had no net. 2020-01-05T18:17:03 #kisslinux <dylanaraps> https://termbin.com/zhfx 2020-01-05T18:17:05 #kisslinux <dylanaraps> :^) 2020-01-05T18:27:50 #kisslinux <icyphox> dylanaraps, I've added some new points in the wishlist. Take a look whenever. :) 2020-01-05T18:28:06 #kisslinux <icyphox> Also, I made a PR for VERSION. 2020-01-05T18:28:27 #kisslinux <icyphox> I will do PING as well. 2020-01-05T18:29:18 #kisslinux <icyphox> Also also, birch still doesn't join channels automatically at launch, while using ZNC. 2020-01-05T18:32:12 #kisslinux <Aarg> why do you want to respond to ctcp ping and version? 2020-01-05T18:40:31 #kisslinux <dylanaraps> Yup. I'd rather not implement them either. 2020-01-05T18:56:11 #kisslinux <dylanaraps> icyphox: How are you using -c? '-c "#chan,#chan"' ? 2020-01-05T18:57:04 #kisslinux <icyphox> dylanaraps: I'm not. 2020-01-05T18:57:46 #kisslinux <icyphox> Essentially, I'm always joined on some channels. When I connect to ZNC, it populates those with the playback. 2020-01-05T18:57:53 #kisslinux <dylanaraps> Oh 2020-01-05T18:57:54 #kisslinux <dylanaraps> I see 2020-01-05T18:58:21 #kisslinux <dylanaraps> Is there a message I can respond to for this? 2020-01-05T18:58:37 #kisslinux <icyphox> Hmm. Probably. I'll check one sec. 2020-01-05T18:59:19 #kisslinux <dylanaraps> ie how would the client know what channels to auto connect to? 2020-01-05T19:00:08 #kisslinux <icyphox> Yeah, I'm not sure. 2020-01-05T19:00:11 #kisslinux <icyphox> https://wiki.znc.in/Playback 2020-01-05T19:00:44 #kisslinux <dylanaraps> > In order for an IRC client to support advanced playback, it should request the znc.in/playback capability and keep track of the latest server time of received messages 2020-01-05T19:01:02 #kisslinux <icyphox> Huh. 2020-01-05T19:01:02 #kisslinux <dylanaraps> So I'd have to support znc for starters. 2020-01-05T19:01:10 #kisslinux <icyphox> That shouldn't be needed. 2020-01-05T19:01:33 #kisslinux <icyphox> Wait, I'll check icyrc's source. It worked ootb in that. lol 2020-01-05T19:01:38 #kisslinux <dylanaraps> Do any terminal clients implement this right now? 2020-01-05T19:01:43 #kisslinux <dylanaraps> https://github.com/weechat/weechat/issues/323 2020-01-05T19:02:25 #kisslinux <dylanaraps> https://github.com/hexchat/hexchat/issues/1109 2020-01-05T19:02:41 #kisslinux <icyphox> No, weechat's channels get their respective playbacks correctly. 2020-01-05T19:02:49 #kisslinux <icyphox> idk what that issue is. 2020-01-05T19:03:31 #kisslinux <dylanaraps> > This issue is for third party ZNC module called *playback which prevents repeating lines when you get disconnected from ZNC 2020-01-05T19:03:44 #kisslinux <dylanaraps> This looks separate to displaying history on join. 2020-01-05T19:04:06 #kisslinux <icyphox> Yep. 2020-01-05T19:05:02 #kisslinux <Aarg> do you only create channels on JOIN and when the source is the user? 2020-01-05T19:05:02 #kisslinux <dylanaraps> How does icyrc autoconnect? 2020-01-05T19:05:17 #kisslinux <dylanaraps> I create channels on JOIN yeah. 2020-01-05T19:05:38 #kisslinux <Aarg> yeah, you probably don't get any JOINS when the bouncer sends you the backlog 2020-01-05T19:05:58 #kisslinux <dylanaraps> Actually, channels are also created when a message is sent to one from the server. 2020-01-05T19:06:30 #kisslinux <Aarg> hmm, would be nice too look at the raw irc messages then 2020-01-05T19:06:42 #kisslinux <dylanaraps> What isn't updated though is the internal array storing the channel list. 2020-01-05T19:07:05 #kisslinux <dylanaraps> Hang on. Will fix. 2020-01-05T19:07:22 #kisslinux <icyphox> Ah it's late. I'll come back tmrw morning. 2020-01-05T19:07:28 #kisslinux <icyphox> Night y'all. 2020-01-05T19:07:36 #kisslinux <dylanaraps> Night 2020-01-05T19:07:39 #kisslinux <Aarg> nn 2020-01-05T19:07:46 #kisslinux <dylanaraps> icyphox: Issue *should* be fixed now. 2020-01-05T19:07:53 #kisslinux <dylanaraps> Will push it after I do some testing. 2020-01-05T19:47:56 #kisslinux <dylanaraps> https://bugzilla.mozilla.org/show_bug.cgi?id=1543752 2020-01-05T19:47:58 #kisslinux <dylanaraps> gross