💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-02-28.txt captured on 2024-05-10 at 14:39:51.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-02-28T00:59:59 #kisslinux <rirc7707A> dylanaraps: the package luajit ist not installing luajit.so2 and luajit.so. in the make file they are created but somehow not installed. 2020-02-28T01:01:13 #kisslinux <rirc7707A> ln -sf to luajit.so.2.0.5 fixes this 2020-02-28T01:01:34 #kisslinux <rirc7707A> i checked to the arch repo and they have the other 2 libs. greetings 2020-02-28T09:22:03 #kisslinux <dylanaraps> rirc7707A: I need more information. 2020-02-28T09:22:15 #kisslinux <dylanaraps> Why do you need those files? Is the package broken without them? 2020-02-28T09:25:14 #kisslinux <dylanaraps> OK 2020-02-28T09:25:27 #kisslinux <dylanaraps> So luajit calls ldconfig which we don't have 2020-02-28T09:25:36 #kisslinux <dylanaraps> This causes it to not create the symlinks 2020-02-28T09:29:06 #kisslinux <dylanaraps> Fixes 2020-02-28T09:29:09 #kisslinux <dylanaraps> Fixed* 2020-02-28T09:30:50 #kisslinux <dylanaraps> k1ss: What do you mean about amdgpu and udevd? 2020-02-28T09:31:01 #kisslinux <dylanaraps> It's more general than that no? 2020-02-28T09:31:44 #kisslinux <dylanaraps> If you modprobe a driver _after_ udevd runs at boot, you must either start the udevd service or move modprobe to rc.conf. 2020-02-28T09:31:54 #kisslinux <dylanaraps> (So it runs prior to udevd on boot) 2020-02-28T09:34:37 #kisslinux <dylanaraps> This is common sense no? 2020-02-28T09:35:28 #kisslinux <konimex> ...not really 2020-02-28T09:36:47 #kisslinux <dylanaraps> You're loading a driver _after 2020-02-28T09:36:54 #kisslinux <dylanaraps> oops 2020-02-28T09:36:56 #kisslinux <dylanaraps> Hang on 2020-02-28T09:37:04 #kisslinux <dylanaraps> You're loading a driver 2020-02-28T09:37:15 #kisslinux <dylanaraps> after udev does its thing at boot 2020-02-28T09:37:33 #kisslinux <dylanaraps> It can't then know about your GPU as an example 2020-02-28T09:37:50 #kisslinux <dylanaraps> So it won't set permissions in /dev/dri/ 2020-02-28T09:38:10 #kisslinux <konimex> amdgpu can't be baked in? 2020-02-28T09:38:21 #kisslinux <konimex> oh wait, similar situation w/ iwlwifi 2020-02-28T09:38:28 #kisslinux <dylanaraps> It can be baked in 2020-02-28T09:38:32 #kisslinux <konimex> diff being iwlwifi doesn't bug of permissions 2020-02-28T09:38:34 #kisslinux <dylanaraps> As can iwlwifi 2020-02-28T09:38:44 #kisslinux <konimex> yeah not worth the trouble i think 2020-02-28T09:38:49 #kisslinux <dylanaraps> It's easy 2020-02-28T09:40:14 #kisslinux <dylanaraps> Added a note to the Wiki page about this 2020-02-28T09:49:37 #kisslinux <dylanaraps> Wrote a FAQ entry as well 2020-02-28T09:49:50 #kisslinux <adamantium> amdgpu is a PITA to bake in 2020-02-28T09:49:55 #kisslinux <adamantium> I use module 2020-02-28T09:49:59 #kisslinux <adamantium> personally. 2020-02-28T09:50:14 #kisslinux <dylanaraps> https://k1ss.org/faq 2020-02-28T09:50:15 #kisslinux <dylanaraps> See XORG 2020-02-28T09:50:16 #kisslinux <adamantium> Gentoo wiki can't even figure out which firmwares need to be baked 2020-02-28T09:50:21 #kisslinux <adamantium> for amdgpu 2020-02-28T09:52:25 #kisslinux <konimex> yay for intel 2020-02-28T09:52:43 #kisslinux <konimex> anyway, firefox in kiss requires yasm and nasm, right? 2020-02-28T09:53:39 #kisslinux <dylanaraps> Yes.... 2020-02-28T09:53:46 #kisslinux <dylanaraps> I'd like to remove one of those from KISS 2020-02-28T09:53:58 #kisslinux <dylanaraps> And patch the packages to use _one_ 2020-02-28T09:54:14 #kisslinux <dylanaraps> > Yasm is a complete rewrite of the NASM assembler under the “new” BSD License 2020-02-28T09:54:19 #kisslinux <dylanaraps> We'd keep yasm 2020-02-28T09:54:26 #kisslinux <dylanaraps> And patch anything calling nasm 2020-02-28T09:54:37 #kisslinux <dylanaraps> From what I've been reading they're compatible. 2020-02-28T10:01:33 #kisslinux <dylanaraps> We're looking at 5 packages requiring nasm and 5 requiring yasm. 2020-02-28T10:01:40 #kisslinux <dylanaraps> It's an even split 2020-02-28T10:03:54 #kisslinux <dylanaraps> It's now a 4/6 split. 2020-02-28T10:04:00 #kisslinux <dylanaraps> xvidcore supports yasm 2020-02-28T10:12:27 #kisslinux <konimex> 1.5 hours in, turns out it also requires GNU as 2020-02-28T10:13:03 #kisslinux <konimex> so yeah, 3 different assemblers used to build firefox 2020-02-28T10:14:14 #kisslinux <dylanaraps> 10/10 2020-02-28T10:14:30 #kisslinux <dylanaraps> Mozilla devs will use every tool available 2020-02-28T10:15:30 #kisslinux <dylanaraps> nodejs, rust, gcc, clang/llvm, nasm, yasm, as, binutils, perl, shell, mesa, python, python2, gtk2, gtk3, etc 2020-02-28T10:18:03 #kisslinux <dylanaraps> nasm is down to 3 packages 2020-02-28T10:18:08 #kisslinux <dylanaraps> x264, x265 and firefox 2020-02-28T10:22:05 #kisslinux <adamantium> you guys heard of zig 2020-02-28T10:22:07 #kisslinux <adamantium> ? 2020-02-28T10:22:10 #kisslinux <dylanaraps> yes 2020-02-28T10:22:13 #kisslinux <adamantium> thoughts 2020-02-28T10:22:22 #kisslinux <dylanaraps> Never used it 2020-02-28T10:22:55 #kisslinux <adamantium> friend of mine starred it today, it caught my eye 2020-02-28T10:22:58 #kisslinux <adamantium> looks neat 2020-02-28T10:25:48 #kisslinux <dylanaraps> 3OK 2020-02-28T10:25:50 #kisslinux <dylanaraps> OK& 2020-02-28T10:25:52 #kisslinux <dylanaraps> OK* 2020-02-28T10:25:53 #kisslinux <dylanaraps> God 2020-02-28T10:26:04 #kisslinux <dylanaraps> Swapping to nasm is likely the only direction 2020-02-28T10:26:59 #kisslinux <konimex> what happened to yasm? 2020-02-28T10:27:45 #kisslinux <dylanaraps> I've been grepping through the sources and software that started with yasm has dumped it for nasm 2020-02-28T10:27:56 #kisslinux <dylanaraps> Apparently upstream for yasm is slow/dea 2020-02-28T10:27:58 #kisslinux <dylanaraps> d 2020-02-28T10:30:22 #kisslinux <konimex> either way I'll need to sync w/ kiss later re: perl changes 2020-02-28T10:30:40 #kisslinux <konimex> symlinking files/ and build (if gmake is involved) 2020-02-28T10:31:41 #kisslinux <adamantium> question: does the kernel still require perl to build? 2020-02-28T10:33:16 #kisslinux <dylanaraps> If you need OID_WHATEVER then yes 2020-02-28T10:33:31 #kisslinux <dylanaraps> There are alternatives for it using Python or Lua though 2020-02-28T10:33:38 #kisslinux <adamantium> What is OID 2020-02-28T10:33:39 #kisslinux <dylanaraps> See the messages from mforney in the logs 2020-02-28T10:33:42 #kisslinux <adamantium> k 2020-02-28T10:33:58 #kisslinux <dylanaraps> https://github.com/torvalds/linux/blob/master/lib/build_OID_registry 2020-02-28T10:36:28 #kisslinux <adamantium> huh 2020-02-28T10:36:30 #kisslinux <adamantium> cool 2020-02-28T10:37:13 #kisslinux <dylanaraps> OK 2020-02-28T10:37:17 #kisslinux <dylanaraps> yasm is just firefox now 2020-02-28T10:40:22 #kisslinux <dylanaraps> Trying firefox without yasm now 2020-02-28T11:03:58 #kisslinux <fehawen> hi o/ 2020-02-28T11:14:16 #kisslinux <dylanaraps> ello 2020-02-28T11:17:16 #kisslinux <dylanaraps> > ERROR: Yasm is required to build with ffvpx, libav and vpx, but you do not appear to have Yasm installed. 2020-02-28T12:21:36 #kisslinux <fehawen> dylanaraps: I'm working on message indentation and prevention of word-breaks in birch 2020-02-28T12:22:16 #kisslinux <fehawen> Albeit not the prettiest solution, it seems to work. Just waiting for people to actually write stuff so I can test it properly :P 2020-02-28T12:23:05 #kisslinux <fehawen> So far so good though, although I'm not sure you'll approve of the code, but we'll see... 2020-02-28T12:24:42 #kisslinux <dylanaraps> heh 2020-02-28T12:31:08 #kisslinux <dylanaraps> Our next Firefox version _shouldn't_ take as long to compile. 2020-02-28T12:31:20 #kisslinux <dylanaraps> I dug through all the configure files and found a lot we can disable 2020-02-28T12:31:30 #kisslinux <dylanaraps> Can't remove yasm though 2020-02-28T12:31:31 #kisslinux <fehawen> dylanaraps: These are the changes I made so far: https://termbin.com/pk1e 2020-02-28T12:31:55 #kisslinux <fehawen> At first glance, what are your thoughts? 2020-02-28T12:32:11 #kisslinux <dylanaraps> Looks simple enough 2020-02-28T12:32:18 #kisslinux <dylanaraps> We can probably do it without sed/fold though 2020-02-28T12:32:36 #kisslinux <fehawen> I'm sure we can, I just don't know how yet :) 2020-02-28T12:34:09 #kisslinux <fehawen> Oh, I added 'read -r scrsize < <(stty size)' and 'tabs 11' to irc_setup as well 2020-02-28T12:34:18 #kisslinux <fehawen> Those are all the changes. 2020-02-28T12:50:29 #kisslinux <dylanaraps> You can do: read -r h w < <(stty size) 2020-02-28T12:53:46 #kisslinux <fehawen> Yes, but shellcheck will complain that I'm not using 'h' 2020-02-28T12:54:02 #kisslinux <fehawen> But I can add a 'shellcheck disable' 2020-02-28T12:54:58 #kisslinux <fehawen> Perhaps preferred instead? 2020-02-28T12:58:32 #kisslinux <dylanaraps> Change h to _ then 2020-02-28T12:59:17 #kisslinux <fehawen> Oh, right. Didn't think of that, sorry. 2020-02-28T13:02:57 #kisslinux <fehawen> Any pointers on getting rid of fold/sed? 2020-02-28T13:03:31 #kisslinux <fehawen> Btw, if you're busy we can take this some other time, ain't exactly urgent. 2020-02-28T13:06:20 #kisslinux <dylanaraps> Instead of fold you just need to split the string every N chars 2020-02-28T13:07:02 #kisslinux <dylanaraps> What does the sed do? 2020-02-28T13:07:09 #kisslinux <dylanaraps> brb 2 secs 2020-02-28T13:08:08 #kisslinux <fehawen> sed tabs every line for indentation, excluding the first line 2020-02-28T13:09:23 #kisslinux <dylanaraps> Right 2020-02-28T13:10:04 #kisslinux <dylanaraps> Nice, fold is posix 2020-02-28T13:10:11 #kisslinux <fehawen> Yep 2020-02-28T13:10:59 #kisslinux <fehawen> I have fold from GNU coreutils, but busybox has it as well (perhaps that's standard to I have, I know too little about the subject) 2020-02-28T13:11:10 #kisslinux <fehawen> to have* 2020-02-28T13:11:15 #kisslinux <dzove855> you could replace sed with bash rematch and add a replace to the rematch 2020-02-28T13:13:23 #kisslinux <fehawen> dzove855: That's more than I know how to. Care to demonstrate? Else I will ask the Goog. 2020-02-28T13:13:31 #kisslinux <dzove855> wait, bash_rematch it's not good 2020-02-28T13:13:36 #kisslinux <dzove855> i have a better solution 2020-02-28T13:14:07 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:14:22 #kisslinux <dzove855> haha 2020-02-28T13:14:50 #kisslinux <fehawen> Obviously, fold had to break that reeeaaally long word for you ;) 2020-02-28T13:14:52 #kisslinux <dylanaraps> I may have it working with a single fold call 2020-02-28T13:14:58 #kisslinux <fehawen> ooh 2020-02-28T13:15:00 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:15:43 #kisslinux <dylanaraps> One more test 2020-02-28T13:15:57 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:16:00 #kisslinux <dylanaraps> hehe 2020-02-28T13:16:01 #kisslinux <dylanaraps> Works 2020-02-28T13:16:20 #kisslinux <fehawen> Nice 2020-02-28T13:16:37 #kisslinux <fehawen> Code? :) 2020-02-28T13:17:54 #kisslinux <dylanaraps> Will push to master in a sec 2020-02-28T13:17:56 #kisslinux <dylanaraps> One more test 2020-02-28T13:18:11 #kisslinux <dylanaraps> Also, no need for stty size 2020-02-28T13:18:14 #kisslinux <dylanaraps> We already have w/h 2020-02-28T13:18:21 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:18:27 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:18:32 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:18:38 #kisslinux <dylanaraps> Aw 2020-02-28T13:18:40 #kisslinux <dylanaraps> I broke it 2020-02-28T13:18:58 #kisslinux <fehawen> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est labor 2020-02-28T13:19:16 #kisslinux <dylan2> ooo 2020-02-28T13:19:24 #kisslinux <dylan2> It _does_ work 2020-02-28T13:19:33 #kisslinux <dylanaraps> Just need some math 2020-02-28T13:20:36 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:20:42 #kisslinux <dylanaraps> Reeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaalllllllllllllllllllllyyyyyyyyyyyy long test message 2020-02-28T13:21:06 #kisslinux <dylanaraps> Hm 2020-02-28T13:21:14 #kisslinux <dylanaraps> It works if I hardcode the width 2020-02-28T13:21:26 #kisslinux <dylanaraps> Not if I use the actuall terminal width 2020-02-28T13:21:44 #kisslinux <dylanaraps> actual* 2020-02-28T13:24:17 #kisslinux <fehawen> Sorry, here comes a lorem again 2020-02-28T13:24:19 #kisslinux <fehawen> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est labor 2020-02-28T13:24:54 #kisslinux <dylanaraps> That worked 2020-02-28T13:25:14 #kisslinux <dylan2> It doesn't work on resize though 2020-02-28T13:25:19 #kisslinux <dylan2> Only uses initial siz 2020-02-28T13:25:21 #kisslinux <dylan2> Only uses initial size* 2020-02-28T13:25:41 #kisslinux <fehawen> Didn't work for me when I had resized my window and then sent. Did it not read 2020-02-28T13:25:56 #kisslinux <fehawen> 'stty size' apart from initially 2020-02-28T13:26:39 #kisslinux <dylanaraps> Trying something else 2020-02-28T13:26:53 #kisslinux <dylanaraps> Changed it to modify irc_print 2020-02-28T13:27:06 #kisslinux <dylanaraps> Send the lorem ipsum 2020-02-28T13:27:12 #kisslinux <fehawen> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est labor 2020-02-28T13:31:16 #kisslinux <dylanaraps> OK, so it's in irc_print() now and I'm stripping sequences 2020-02-28T13:31:31 #kisslinux <dylanaraps> Try now though I think it's still broken 2020-02-28T13:31:45 #kisslinux <fehawen> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est labor 2020-02-28T13:32:16 #kisslinux <dylanaraps> Nice 2020-02-28T13:32:19 #kisslinux <dylanaraps> Almost good 2020-02-28T13:32:26 #kisslinux <fehawen> Sweet 2020-02-28T13:33:20 #kisslinux <fehawen> I realized 'stty size' only gets called once as it's in irc_setup, that's why resizing window broken my indentation etc. 2020-02-28T13:33:29 #kisslinux <fehawen> broke* 2020-02-28T13:33:46 #kisslinux <dylanaraps> We already have term_size() 2020-02-28T13:33:56 #kisslinux <dylan2> Try now with lorem ipsum 2020-02-28T13:34:05 #kisslinux <fehawen> Which I realized when you mentioned it before, yes :P 2020-02-28T13:34:25 #kisslinux <fehawen> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est labor 2020-02-28T13:34:35 #kisslinux <dylanaraps> Broken 2020-02-28T13:34:36 #kisslinux <dylanaraps> OK 2020-02-28T13:35:42 #kisslinux <dylanaraps> None of our solutions work for resize btw 2020-02-28T13:36:00 #kisslinux <dylanaraps> The first solution stores the messages in the cache files with literal newlines 2020-02-28T13:36:09 #kisslinux <dylan2> Hm 2020-02-28T13:37:26 #kisslinux <dylanaraps> Fold will also break if someone mentions your name 2020-02-28T13:37:46 #kisslinux <dylanaraps> Unless it ignores escape sequences in its length calculations 2020-02-28T13:38:22 #kisslinux <fehawen> Right 2020-02-28T13:38:26 #kisslinux <dylanaraps> It does not 2020-02-28T13:38:36 #kisslinux <dylanaraps> echo -e 'helloe[1mworlde[m' | fold -sw 5 2020-02-28T13:38:42 #kisslinux <dylanaraps> This should print hellonworld 2020-02-28T13:39:22 #kisslinux <aarng> that's a busybox thing 2020-02-28T13:39:25 #kisslinux <dylan2> Send me the lorum 2020-02-28T13:39:52 #kisslinux <dylan2> I _should_ have this working minus resize though 2020-02-28T13:40:15 #kisslinux <fehawen> dylan2: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id e 2020-02-28T13:40:22 #kisslinux <dylan2> Awesome 2020-02-28T13:40:25 #kisslinux <dylan2> Works 2020-02-28T13:40:34 #kisslinux <dylan2> It's fine on resize too 2020-02-28T13:40:46 #kisslinux <fehawen> Greato 2020-02-28T13:40:56 #kisslinux <dylan2> The lines are just shorter if you make the window bigger 2020-02-28T13:40:59 #kisslinux <dylan2> Send it again 2020-02-28T13:41:01 #kisslinux <dylan2> One more time 2020-02-28T13:41:07 #kisslinux <fehawen> dylan2: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id e 2020-02-28T13:41:17 #kisslinux <dylan2> Heh 2020-02-28T13:41:26 #kisslinux <dylan2> It seems that resize doesn't work 2020-02-28T13:41:31 #kisslinux <dylan2> ie, new size isn't logged 2020-02-28T13:42:00 #kisslinux <dylanaraps> I have an idea as to why 2020-02-28T13:42:15 #kisslinux <dylanaraps> The output is in a subshell and doesn't inherit the updated size vars 2020-02-28T13:42:38 #kisslinux <dylanaraps> I have a nice idea though 2020-02-28T13:42:47 #kisslinux <dylanaraps> I may limit output width to 60~ columns 2020-02-28T13:42:52 #kisslinux <dylanaraps> No neck turning then 2020-02-28T13:42:57 #kisslinux <dylanaraps> I'll send a scrot 2020-02-28T13:42:58 #kisslinux <dylanaraps> Looks nice 2020-02-28T13:43:38 #kisslinux <fehawen> And 'fold' is 80 by default right? And with nick:0:10 + [:space:] 60 would be reasonable 2020-02-28T13:44:07 #kisslinux <fehawen> Not that fold really matters 2020-02-28T13:44:21 #kisslinux <dylanaraps> https://u.teknik.io/Lx6QL.jpg 2020-02-28T13:44:47 #kisslinux <fehawen> That's nice 2020-02-28T13:44:53 #kisslinux <dylanaraps> Yeah 2020-02-28T13:45:07 #kisslinux <fehawen> Pleasant to read 2020-02-28T13:47:19 #kisslinux <dylanaraps> One more time 2020-02-28T13:47:30 #kisslinux <fehawen> Mention or not? 2020-02-28T13:47:43 #kisslinux <dylanaraps> Either is fine 2020-02-28T13:47:48 #kisslinux <fehawen> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est labor 2020-02-28T13:47:54 #kisslinux <dylanaraps> Nice 2020-02-28T13:48:26 #kisslinux <dylanaraps> Pushed 2020-02-28T13:48:33 #kisslinux <fehawen> Sweetness 2020-02-28T13:48:49 #kisslinux <dylanaraps> brb 2020-02-28T13:49:07 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/commit/bf62ab34dc58ed9a3c48016ac69b87465505cf1e 2020-02-28T13:49:38 #kisslinux <dylanaraps> I may move that print logic to a function 2020-02-28T13:52:22 #kisslinux <dylanaraps> test 2020-02-28T13:58:30 #kisslinux <fehawen> Dry's better, yep yep 2020-02-28T13:58:37 #kisslinux <fehawen> Niceness 2020-02-28T13:58:48 #kisslinux <fehawen> No more nick column clutter 2020-02-28T14:00:10 #kisslinux <dylanaraps> :P 2020-02-28T14:01:00 #kisslinux <fehawen> Hah, annoying to have to type " :P" ? 2020-02-28T14:01:17 #kisslinux <fehawen> My ugly ugly fix 2020-02-28T14:01:24 #kisslinux <dylanaraps> Yeah 2020-02-28T14:01:28 #kisslinux <dylanaraps> It's fine for now though 2020-02-28T14:02:07 #kisslinux <fehawen> Perhaps it should be a ":/" match and not just ":" 2020-02-28T14:02:19 #kisslinux <dylanaraps> :/ 2020-02-28T14:02:45 #kisslinux <dylanaraps> Heh 2020-02-28T14:02:51 #kisslinux <dylanaraps> That's a better solution 2020-02-28T14:03:12 #kisslinux <dylanaraps> The real problem is that input/output are disconnected 2020-02-28T14:04:56 #kisslinux <dylanaraps> birch would be a lot simpler if we could connect them somehow 2020-02-28T14:07:41 #kisslinux <fehawen> Would that be possible though? 2020-02-28T14:07:56 #kisslinux <dylanaraps> It's tricky 2020-02-28T14:08:05 #kisslinux <dylanaraps> 'read' is blocking 2020-02-28T14:08:16 #kisslinux <dylanaraps> so output would stop while typing 2020-02-28T14:08:20 #kisslinux <fehawen> I need to look up 'read' closer to understand how we read things in the first place 2020-02-28T14:08:22 #kisslinux <dylanaraps> and would only update on Enter 2020-02-28T14:08:34 #kisslinux <dylanaraps> We read char by char 2020-02-28T14:08:39 #kisslinux <dylanaraps> Right now 2020-02-28T14:08:48 #kisslinux <dylanaraps> I'd like to use 'read -e' though 2020-02-28T14:09:19 #kisslinux <maxdevjs> Hello... how to connect to this channel with birch? 2020-02-28T14:09:20 #kisslinux <dylanaraps> fehawen: Try this https://github.com/dylanaraps/birch/pull/7 2020-02-28T14:09:25 #kisslinux <dylanaraps> './birch' 2020-02-28T14:09:30 #kisslinux <dylanaraps> It auto connects here by default 2020-02-28T14:10:23 #kisslinux <dylan2> Test 2020-02-28T14:10:39 #kisslinux <maxdevjs> oh... thanks. I should have read the script before to try it :D 2020-02-28T14:11:10 #kisslinux <dylanaraps> The readline branch is a lot better input-wise but the cursor glitches out if a message is received while you're typing. 2020-02-28T14:11:29 #kisslinux <dylan2> The readline branch is a lot bet:( 2020-02-28T14:11:34 #kisslinux <dylanaraps> oops 2020-02-28T14:12:16 #kisslinux <fehawen> brb 2020-02-28T14:12:41 #kisslinux <konimex> hmm... I wonder if the package manager should have something like "ignore" or "provides" 2020-02-28T14:12:49 #kisslinux <maxdevjs> Is it normal the cursor to jump between start and end of line and not receiving messages? 2020-02-28T14:13:10 #kisslinux <dylanaraps> It is not 2020-02-28T14:13:13 #kisslinux <dylanaraps> That's a rare bug 2020-02-28T14:13:23 #kisslinux <dylanaraps> birch is a WIP 2020-02-28T14:13:29 #kisslinux <dylanaraps> bash makes things really hard 2020-02-28T14:14:07 #kisslinux <dylanaraps> konimex: How would ignore work? 2020-02-28T14:14:10 #kisslinux <fehawen> dylanaraps: Trying the readline branch now 2020-02-28T14:14:32 #kisslinux <dylanaraps> You'll see the cursor bug if you partly type a message and another message is received 2020-02-28T14:14:33 #kisslinux <maxdevjs> well.. it is an extremely cool project 2020-02-28T14:14:40 #kisslinux <dylanaraps> Yeah 2020-02-28T14:14:54 #kisslinux <dylanaraps> The TUI stuff makes it hard 2020-02-28T14:14:54 #kisslinux <fehawen> Yeah I saYeah it's a bit annoying :P 2020-02-28T14:14:56 #kisslinux <konimex> no idea, I'm still whipping out possible use cases for now, but I'm leaning towards the latter with abusing symlinks, again 2020-02-28T14:15:24 #kisslinux <dylanaraps> fehawen: This is a bash bug though 2020-02-28T14:15:27 #kisslinux <fehawen> Lol my last message got messy 2020-02-28T14:15:32 #kisslinux <dylanaraps> The prompt shouldn't break like tha 2020-02-28T14:15:35 #kisslinux <dylanaraps> that* 2020-02-28T14:15:46 #kisslinux <konimex> (the latter being provides ofc) 2020-02-28T14:15:52 #kisslinux <dylanaraps> Yeah 2020-02-28T14:16:12 #kisslinux <dylanaraps> I thought about adding an extension to depends 2020-02-28T14:16:17 #kisslinux <dylanaraps> gzip|pigz 2020-02-28T14:16:19 #kisslinux <dylanaraps> as an example 2020-02-28T14:16:25 #kisslinux <dylanaraps> Think of | as OR 2020-02-28T14:16:40 #kisslinux <kiedtl> then it should be || 2020-02-28T14:16:47 #kisslinux <dylanaraps> Yeah 2020-02-28T14:16:52 #kisslinux <dylanaraps> Just throwing the idea out 2020-02-28T14:16:59 #kisslinux <maxdevjs> uhm, I did not type anything.. happening again after restarting birch and there are no messages visualized... I wonder if it could be because it tries to validate a default nick, that it is already owned (so, no success)... 2020-02-28T14:16:59 #kisslinux <dylanaraps> We can work on i 2020-02-28T14:17:10 #kisslinux <dylanaraps> maxdevjs: Which terminal? 2020-02-28T14:17:17 #kisslinux <fehawen> Can't we use PS[num] for the prompt? Or wouldn't that be possible/of any use 2020-02-28T14:17:29 #kisslinux <dylanaraps> fehawen: We could 2020-02-28T14:17:30 #kisslinux <fehawen> Lol this is too annoying, I'm switching back 2020-02-28T14:17:32 #kisslinux <fehawen> brb 2020-02-28T14:17:33 #kisslinux <dylanaraps> Yup 2020-02-28T14:17:45 #kisslinux <kiedtl> yeah, Irandomly can't see messages 2020-02-28T14:17:57 #kisslinux <maxdevjs> currently tried with gnome term 3.34.2 ... going to try with a different one 2020-02-28T14:18:11 #kisslinux <kiedtl> back 2020-02-28T14:18:13 #kisslinux <dylanaraps> I'm using st and it works fine 2020-02-28T14:18:23 #kisslinux <dylanaraps> The readline branch is nice as you get working arrow keys 2020-02-28T14:18:33 #kisslinux <dylanaraps> The cursor fuckery just breaks it 2020-02-28T14:18:45 #kisslinux <fehawen> I use st as well 2020-02-28T14:18:59 #kisslinux <dylanaraps> So. Right now, output runs in the background 2020-02-28T14:19:06 #kisslinux <fehawen> Arrow keys are nice, but I'd rather not have the prompt go nuts heh 2020-02-28T14:19:10 #kisslinux <dylanaraps> Exactly 2020-02-28T14:19:18 #kisslinux <dylanaraps> If I can fix it we reduce the size by 80 LOC though 2020-02-28T14:19:27 #kisslinux <dylanaraps> And get arrow keys 2020-02-28T14:19:49 #kisslinux <fehawen> Desirable for sure, reduced LOC mainly 2020-02-28T14:19:59 #kisslinux <dylanaraps> Yup 2020-02-28T14:24:00 #kisslinux <dylanaraps> I have an idea 2020-02-28T14:25:43 #kisslinux <maxdevjs> tried gnome term, tilix, kitty, alacritty. Same outcome. 2020-02-28T14:25:56 #kisslinux <dylanaraps> I'll have a fix once I get the readline branch working 2020-02-28T14:26:01 #kisslinux <dylan2> test 2020-02-28T14:27:06 #kisslinux <fehawen> Perhaps add the changes from my PR to the readline branch. Not a big deal, but the Quit messages before were annoying :P 2020-02-28T14:27:20 #kisslinux <dylanaraps> Yup 2020-02-28T14:27:23 #kisslinux <dylanaraps> Will rebase 2020-02-28T14:28:11 #kisslinux <fehawen> And maybe remove my darn comments/output examples heh, they just add superfluous mass 2020-02-28T14:28:34 #kisslinux <dylanaraps> Sure 2020-02-28T14:29:50 #kisslinux <maxdevjs> Then, currently it works only in st? There is a specific reason? 2020-02-28T14:31:17 #kisslinux <dylanaraps> All other terminals are slow 2020-02-28T14:36:31 #kisslinux <dylanaraps> Woo hoo 2020-02-28T14:36:34 #kisslinux <dylanaraps> Fixed it I think 2020-02-28T14:36:38 #kisslinux <kiedtl> st was always laggy for me, not sure why 2020-02-28T14:36:48 #kisslinux <dylanaraps> Yup 2020-02-28T14:36:49 #kisslinux <dylanaraps> Fixed 2020-02-28T14:36:51 #kisslinux <dylanaraps> ;) 2020-02-28T14:37:17 #kisslinux <fehawen> Booyah 2020-02-28T14:37:22 #kisslinux <fehawen> What'd ya do? 2020-02-28T14:38:11 #kisslinux <dylanaraps> I'll push in a sec 2020-02-28T14:38:25 #kisslinux <dylanaraps> Abusing terminal scroll behavior to avoid doing cursor fuckery 2020-02-28T14:38:45 #kisslinux <fehawen> The joy an IR client can bring. Who'd of thought! 2020-02-28T14:38:53 #kisslinux <dylanaraps> lol 2020-02-28T14:38:56 #kisslinux <dylan2> It works well :P 2020-02-28T14:38:57 #kisslinux <fehawen> IRC* 2020-02-28T14:40:59 #kisslinux <dylan2> hehe 2020-02-28T14:41:45 #kisslinux <dylan2> ::D 2020-02-28T14:41:59 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/pull/7/files 2020-02-28T14:42:18 #kisslinux <kiedtl> you sound very excited :) 2020-02-28T14:43:02 #kisslinux <dylanaraps> +13 −114 2020-02-28T14:43:04 #kisslinux <dylanaraps> Yup 2020-02-28T14:43:08 #kisslinux <KayW> damn nice 2020-02-28T14:43:15 #kisslinux <fehawen> Ahyeah 2020-02-28T14:43:28 #kisslinux <dylan2> Exactly 2020-02-28T14:43:33 #kisslinux <fehawen> I'm gonna need to fork and ':/' though :P 2020-02-28T14:43:39 #kisslinux <dylan2> Yup 2020-02-28T14:43:52 #kisslinux <dylan2> I can get the prompt working too 2020-02-28T14:44:11 #kisslinux <dylanaraps> ie, channel name etc 2020-02-28T14:44:42 #kisslinux <fehawen> That'd be nice 2020-02-28T14:45:12 #kisslinux <KayW2> https://i.salejandro.me/DlammZ.png looks like im getting some graphical errors 2020-02-28T14:45:12 #kisslinux <dylanaraps> pushed 2020-02-28T14:45:25 #kisslinux <dylanaraps> Which term? 2020-02-28T14:45:28 #kisslinux <KayW2> termite 2020-02-28T14:45:33 #kisslinux <dylan2> Ah 2020-02-28T14:45:42 #kisslinux <dylanaraps> This 100% breaks on resize 2020-02-28T14:46:02 #kisslinux <dylanaraps> Let me push it to master 2020-02-28T14:46:13 #kisslinux <dylanaraps> Then your complaints will motivate me 2020-02-28T14:46:17 #kisslinux <KayW2> haha, resize by moving to a new workspace fixed it 2020-02-28T14:46:19 #kisslinux <fehawen> Hah 2020-02-28T14:46:25 #kisslinux <KayW2> https://i.salejandro.me/sQ7h6n.png 2020-02-28T14:57:08 #kisslinux <dylan2> ff 2020-02-28T15:05:00 #kisslinux <dylanaraps> Apologies for the spam 2020-02-28T15:05:30 #kisslinux <fehawen> Nah carry on 2020-02-28T15:08:25 #kisslinux <dilyn> How difficult of a project is birch? Compared to other bash etc things you've done 2020-02-28T15:09:24 #kisslinux <dylanaraps> fff was easier 2020-02-28T15:09:34 #kisslinux <dylanaraps> As the contents of the window only update on input 2020-02-28T15:09:52 #kisslinux <dylanaraps> birch is harder as I need input/output to both be async 2020-02-28T15:10:02 #kisslinux <dylan2> oops 2020-02-28T15:10:11 #kisslinux <dylan2> I've got duplicate messages in this branch 2020-02-28T15:10:14 #kisslinux <dylanaraps> heh 2020-02-28T15:11:04 #kisslinux <fehawen> Gotta go, will catch up later on birch progress 2020-02-28T15:11:07 #kisslinux <fehawen> Bye for now 2020-02-28T15:11:22 #kisslinux <dylanaraps> Alright 2020-02-28T15:11:26 #kisslinux <dylanaraps> It should be done nw 2020-02-28T15:11:28 #kisslinux <dylanaraps> now* 2020-02-28T15:11:37 #kisslinux <fehawen> Ah sweet 2020-02-28T15:11:40 #kisslinux <dylanaraps> Only caveat is that resize requires an enter key press to redraw 2020-02-28T15:11:53 #kisslinux <fehawen> Will check it out later 2020-02-28T15:11:57 #kisslinux <dylan2> :P 2020-02-28T15:12:04 #kisslinux <dylan2> It's a lot faster though 2020-02-28T15:12:08 #kisslinux <fehawen> But that's fair enough, can live with that :P 2020-02-28T15:12:18 #kisslinux <dylanaraps> +27 −217 2020-02-28T15:12:39 #kisslinux <fehawen> Excellent numbers 2020-02-28T15:12:46 #kisslinux <fehawen> Really gotta run now 2020-02-28T15:12:49 #kisslinux <fehawen> Bye 2020-02-28T15:12:51 #kisslinux <kiedtl> bye 2020-02-28T15:13:05 #kisslinux <kiedtl> /q 2020-02-28T15:13:06 #kisslinux <kiedtl> /quti 2020-02-28T15:13:09 #kisslinux <kiedtl> lol 2020-02-28T15:14:02 #kisslinux <dylan2> OK 2020-02-28T15:14:12 #kisslinux <dylan2> joining channels needs a fix 2020-02-28T15:18:55 #kisslinux <dylan2> h 2020-02-28T15:19:48 #kisslinux <k1ss> hh 2020-02-28T15:20:03 #kisslinux <dylanaraps> My bad 2020-02-28T15:24:05 #kisslinux <dylan2> test 2020-02-28T15:24:12 #kisslinux <dylanaraps> o/ 2020-02-28T15:24:20 #kisslinux <dylanaraps> Channels are broken 2020-02-28T15:32:04 #kisslinux <dylanaraps> o// 2020-02-28T15:32:11 #kisslinux <dylan2> o/ 2020-02-28T15:32:17 #kisslinux <dylanaraps> Nice 2020-02-28T15:38:32 #kisslinux <dylan2> hello 2020-02-28T15:39:34 #kisslinux <k1ss> hey 2020-02-28T15:40:09 #kisslinux <dylan2> I have message history working with readline too! 2020-02-28T15:42:16 #kisslinux <dylan2> How awesome 2020-02-28T15:43:27 #kisslinux <dzove855> dylanaraps: would message history not be available with bash history and bind ? 2020-02-28T15:43:35 #kisslinux <dylanaraps> Yup 2020-02-28T15:43:40 #kisslinux <dylanaraps> Exactly what I'm doing 2020-02-28T15:43:56 #kisslinux <dzove855> huuuuu nice :D 2020-02-28T15:44:18 #kisslinux <dylanaraps> Basically, read -e reads history but doesn't write to it 2020-02-28T15:44:33 #kisslinux <dylanaraps> So I set HISTFILE and then use history -s '$input' 2020-02-28T15:44:37 #kisslinux <dylan2> Works well 2020-02-28T15:44:51 #kisslinux <dzove855> that's what i had as idea 2020-02-28T15:45:03 #kisslinux <dylan2> For some reason it's not 100% the same as the shell 2020-02-28T15:45:42 #kisslinux <dylan2> Performance of birch is now perfect though 2020-02-28T15:46:45 #kisslinux <E5ten> smh bash is bloat clearly this obviously could and should be written in POSIX sh :>) 2020-02-28T15:47:00 #kisslinux <dylan2> :^) 2020-02-28T15:47:17 #kisslinux <dylan2> brb 2020-02-28T15:47:18 #kisslinux <dzove855> E5ten: easy done in 2min!! 2020-02-28T15:48:09 #kisslinux <E5ten> I could have it done in 1 this is easy, dylan is very clearly a crap dev for using obviously unneeded non-POSIX features 2020-02-28T15:48:47 #kisslinux <dzove855> i cound the second! i give you one min 2020-02-28T15:48:49 #kisslinux <dylanaraps> Back 2020-02-28T15:48:58 #kisslinux <dilyn> Birch is bloat, use smoke signals 2020-02-28T15:49:17 #kisslinux <dylanaraps> max_devjs: Try the readline branch 2020-02-28T15:49:22 #kisslinux <dylanaraps> Should be perfect now 2020-02-28T15:49:33 #kisslinux <dylanaraps> I CAN USE THE ARROW KEYS TO FIX MESSAGE TYPOS NOW 2020-02-28T15:49:36 #kisslinux <max_devjs> I am using it right now 2020-02-28T15:49:46 #kisslinux <dylanaraps> Works? 2020-02-28T15:50:09 #kisslinux <dylanaraps> I also hacked tab completion back in 2020-02-28T15:50:28 #kisslinux <max_devjs> very well... but really I think the issue was the nick... going to try again right now 2020-02-28T15:50:33 #kisslinux <dylanaraps> readline doas file completion so I just cd to the temp dir and it tab completes the files containing channel history 2020-02-28T15:50:38 #kisslinux <dylanaraps> does* 2020-02-28T15:50:44 #kisslinux <dylanaraps> Tada 2020-02-28T15:51:33 #kisslinux <dzove855> dylanaraps: iplement TMPDIR 2020-02-28T15:51:37 #kisslinux <dylanaraps> 1Sure 2020-02-28T15:52:22 #kisslinux <dylanaraps> Done 2020-02-28T15:53:25 #kisslinux <dzove855> i sent you a cookie! 2020-02-28T15:53:43 #kisslinux <maxdevjs> yes: if for some reason starts with a nick that is already in use, it blocks with jumping cursor 2020-02-28T15:53:54 #kisslinux <dylanaraps> Let me test 2020-02-28T15:54:12 #kisslinux <maxdevjs> this has been my issue, pretty sure 2020-02-28T15:54:19 #kisslinux <dylanaraps> Works fine here 2020-02-28T15:54:28 #kisslinux <dylanaraps> Just tells me "Nick already in use" 2020-02-28T15:54:36 #kisslinux <dylanaraps> And prints no further messages 2020-02-28T15:54:42 #kisslinux <dylanaraps> Man, typing is smoother now 2020-02-28T15:54:46 #kisslinux <dylanaraps> OH 2020-02-28T15:54:50 #kisslinux <dylanaraps> It did it now 2020-02-28T15:54:52 #kisslinux <dylanaraps> I see 2020-02-28T15:54:56 #kisslinux <dylanaraps> Easy fix 2020-02-28T15:55:01 #kisslinux <dylanaraps> Just don't do that :D 2020-02-28T15:55:21 #kisslinux <maxdevjs> yes, and then, after a while, cursor start to jump (and it is not really connected) 2020-02-28T15:55:27 #kisslinux <dylanaraps> Yup 2020-02-28T15:55:29 #kisslinux <dylanaraps> Just don't do that :D 2020-02-28T15:55:36 #kisslinux <maxdevjs> :D 2020-02-28T15:59:03 #kisslinux <maxdevjs> problem was, my hostname (automatically used at start if not passed in as argument) is registered by someone else. Also, I used master at the beginning, and did not work passing arguments :D 2020-02-28T16:01:09 #kisslinux <dylanaraps> I see 2020-02-28T16:01:31 #kisslinux <max_devjs> working well now... I just can not move left/right with arrows or ctrl-... 2020-02-28T16:01:51 #kisslinux <max_devjs> history works here too 2020-02-28T16:01:51 #kisslinux <dylanaraps> On master? 2020-02-28T16:02:19 #kisslinux <max_devjs> I am on master now 2020-02-28T16:03:49 #kisslinux <maxdev_js> in readline movements are fine 2020-02-28T16:09:08 #kisslinux <dylan2> _ 2020-02-28T16:09:08 #kisslinux <dylan2> _ 2020-02-28T16:09:21 #kisslinux <dylan2> _ 2020-02-28T16:09:23 #kisslinux <dylanaraps> lol 2020-02-28T16:09:24 #kisslinux <dylanaraps> Oops 2020-02-28T16:11:40 #kisslinux <dylan2> ;) 2020-02-28T16:11:54 #kisslinux <aarng> wait, so now you get full lines instead of reading a character at a time? 2020-02-28T16:15:50 #kisslinux <dylanaraps> Yes 2020-02-28T16:16:07 #kisslinux <dylanaraps> 'read -e' causes bash to use readline for the prompt 2020-02-28T16:16:46 #kisslinux <dylan2> 'tis awesome 2020-02-28T16:17:21 #kisslinux <aarng> ah 2020-02-28T16:17:29 #kisslinux <aarng> I have to see how you've done channel switching then 2020-02-28T16:17:44 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/blob/master/birch 2020-02-28T16:17:47 #kisslinux <dylanaraps> It's tiny now 2020-02-28T16:18:05 #kisslinux <dylanaraps> While bringing in more features ;) 2020-02-28T16:19:25 #kisslinux <aarng> that's always great 2020-02-28T16:19:41 #kisslinux <aarng> so /j to switch channels/buffers or am I missing something 2020-02-28T16:19:45 #kisslinux <dylanaraps> Yes 2020-02-28T16:20:04 #kisslinux <aarng> neat 2020-02-28T16:20:51 #kisslinux <dylanaraps> '/l' to leave 2020-02-28T16:21:04 #kisslinux * dylanaraps tests /me 2020-02-28T16:21:09 #kisslinux <aarng> maybe check if the channel exists and only send JOIN... when it doesn't 2020-02-28T16:21:39 #kisslinux <dylanaraps> Heh 2020-02-28T16:21:43 #kisslinux <dylanaraps> I know what you mean 2020-02-28T16:23:03 #kisslinux <dylanaraps> brb 2020-02-28T17:01:42 #kisslinux <dylanaraps> :/ 2020-02-28T17:01:46 #kisslinux <dylanaraps> oops 2020-02-28T17:14:17 #kisslinux <dzove855> dylanaraps: working like charm birch 2020-02-28T17:17:38 #kisslinux <dylanaraps> Awesome 2020-02-28T17:17:42 #kisslinux <dylanaraps> :D 2020-02-28T17:17:47 #kisslinux <dylanaraps> brb 2 secs 2020-02-28T17:18:17 #kisslinux * dylanaraps tests /me 2020-02-28T17:20:14 #kisslinux * dylanaraps again 2020-02-28T17:20:17 #kisslinux <dylanaraps> Nice 2020-02-28T17:21:01 #kisslinux <dzove855> only thing missing is the autocomplete of nicknames 2020-02-28T17:21:13 #kisslinux <dylanaraps> Will be tricky 2020-02-28T17:21:16 #kisslinux <dzove855> yeaah 2020-02-28T17:21:21 #kisslinux <dzove855> actually well no 2020-02-28T17:21:26 #kisslinux <dylanaraps> As tab complete only handles files 2020-02-28T17:21:30 #kisslinux <dzove855> yeaah 2020-02-28T17:21:44 #kisslinux <dzove855> you could create an tmp directory instead of files 2020-02-28T17:21:47 #kisslinux <dylanaraps> I _could_ create a file for each user 2020-02-28T17:21:50 #kisslinux <dylanaraps> I do that now 2020-02-28T17:21:58 #kisslinux <dzove855> that was exactly me idea 2020-02-28T17:22:02 #kisslinux <dylanaraps> Let me parse nicks and try it 2020-02-28T17:22:11 #kisslinux <dzove855> on leave you can remove the file, and join you could create 2020-02-28T17:22:26 #kisslinux <dylanaraps> Need to shuffle some things aound 2020-02-28T17:22:29 #kisslinux <dylanaraps> around* 2020-02-28T17:22:35 #kisslinux <dylanaraps> Will do it later 2020-02-28T17:22:56 #kisslinux <dzove855> actually no need of file per user, you can have a user file instead 2020-02-28T17:23:02 #kisslinux <dzove855> and use compgen no? 2020-02-28T17:23:26 #kisslinux <dzove855> or does readline not wrk with it? 2020-02-28T17:25:34 #kisslinux <dylanaraps> Can't use compgen 2020-02-28T17:25:41 #kisslinux <dylanaraps> Prompt is actually readline now 2020-02-28T17:28:07 #kisslinux <dzove855> just having a look 2020-02-28T17:28:33 #kisslinux <dzove855> also is there any reason of using cat instead of printf '%s' "$(<current)" ? 2020-02-28T17:29:10 #kisslinux <dylanaraps> No reason 2020-02-28T17:29:15 #kisslinux <dylanaraps> It was $(<current) 2020-02-28T17:29:26 #kisslinux <dylanaraps> cat will actually be faster for larger files 2020-02-28T17:31:16 #kisslinux <dylanaraps> I'm working on simplifying the printing process now 2020-02-28T17:31:58 #kisslinux <dzove855> true it's faster on larger files 2020-02-28T17:32:04 #kisslinux <dylanaraps> We're down to 157 LOC from 400~ lines 2020-02-28T17:32:16 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/blob/master/birch#L55-L71 2020-02-28T17:32:19 #kisslinux <dylanaraps> This could be better 2020-02-28T17:32:35 #kisslinux <dylanaraps> As could 2020-02-28T17:32:35 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/blob/master/birch#L143-L160 2020-02-28T17:33:39 #kisslinux <dzove855> sorry i pressed C-c haha 2020-02-28T17:33:46 #kisslinux <dylanaraps> All goo 2020-02-28T17:33:47 #kisslinux <dylanaraps> d 2020-02-28T17:33:52 #kisslinux <dzove855> i will have a look also 2020-02-28T17:34:13 #kisslinux <dylanaraps> Thanks 2020-02-28T17:34:18 #kisslinux <dylanaraps> Performance is great now 2020-02-28T17:46:23 #kisslinux <dzove855> irc_parse could be completel replaced with bash_rematch and good regex 2020-02-28T17:47:03 #kisslinux <dzove855> the only thing is that bash_rematch can be slow on bigger messages.. 2020-02-28T17:53:09 #kisslinux <dzove855> dylanaraps: i have an xkeyboard-config checksum missmatch 2020-02-28T17:53:58 #kisslinux <dylanaraps> Fixed 2020-02-28T17:54:11 #kisslinux <dzove855> grat 2020-02-28T18:08:12 #kisslinux <kiedtl> brb, trying birch 2020-02-28T18:14:36 #kisslinux <kiedtl> wow, birch is almost unusable 2020-02-28T18:14:47 #kisslinux <kiedtl> maybe because I'm using xterm instead of st? 2020-02-28T18:14:59 #kisslinux <dylanaraps> Works perfect here 2020-02-28T18:15:04 #kisslinux <kiedtl> s/almost/completely/ 2020-02-28T18:15:14 #kisslinux <dylanaraps> Let me try urxvt 2020-02-28T18:15:17 #kisslinux <kiedtl> trying on st, one moment 2020-02-28T18:16:42 #kisslinux <dylanaraps> Broken in urxvt 2020-02-28T18:16:45 #kisslinux <dylanaraps> Just endless flicker 2020-02-28T18:17:20 #kisslinux <kiedtl> same here 2020-02-28T18:17:29 #kisslinux <dylanaraps> st is perfect though 2020-02-28T18:17:29 #kisslinux <kiedtl> anything typed get's sent up 2020-02-28T18:17:34 #kisslinux <kiedtl> s/get's/gets 2020-02-28T18:17:54 #kisslinux <kiedtl> unusable on st too 2020-02-28T18:17:58 #kisslinux <kiedtl> ¯_(ツ)_/¯ 2020-02-28T18:18:28 #kisslinux <kiedtl> wait 2020-02-28T18:18:51 #kisslinux <kiedtl> never mind my comment on st, I've been messing around with some st patches so maybe that's the reason 2020-02-28T18:18:56 #kisslinux <kiedtl> brb 2020-02-28T18:26:17 #kisslinux <dzove855> dylanaraps: https://termbin.com/xmox 2020-02-28T18:26:30 #kisslinux <dylanaraps> Nice! 2020-02-28T18:27:36 #kisslinux <dzove855> brb 2020-02-28T18:28:35 #kisslinux <dzove855> test 2020-02-28T18:29:19 #kisslinux <dzove855> could someone write a test message with special chars and add !@,: etcc.. 2020-02-28T18:29:56 #kisslinux <dylanaraps> !@#@$@%$^%$&^& 2020-02-28T18:30:18 #kisslinux <dzove855> hmmm nick to fix something 2020-02-28T18:30:24 #kisslinux <dylanaraps> Hello, testing! 123 & @dzove855..? 2020-02-28T18:58:27 #kisslinux <dzove855> dylanaraps: https://termbin.com/h0nw 2020-02-28T18:58:31 #kisslinux <dzove855> this will work better 2020-02-28T18:58:49 #kisslinux <dzove855> not that args[2] can be replaced now by another variable in the script 2020-02-28T19:11:19 #kisslinux <dzove855> didn't you have forgotten to add >&69 here https://github.com/dylanaraps/birch/blob/master/birch#L41-L42 2020-02-28T19:17:04 #kisslinux <dylanaraps> Yes 2020-02-28T19:17:07 #kisslinux <dylanaraps> You're right 2020-02-28T19:17:26 #kisslinux <dylanaraps> Fixed 2020-02-28T19:23:57 #kisslinux <dzove855> :) 2020-02-28T19:34:36 #kisslinux <dylanaraps> kiedtl: Your issue should be fixed too 2020-02-28T19:37:13 #kisslinux <dylan2> ... 2020-02-28T19:37:23 #kisslinux <dylan2> :D 2020-02-28T19:43:23 #kisslinux <kiedtl> dylanaraps: gonna check, brb 2020-02-28T19:44:45 #kisslinux <dzove855> see ya later. o/ 2020-02-28T19:46:24 #kisslinux <kiedtl> test 2020-02-28T19:46:26 #kisslinux <kiedtl> abcd124 2020-02-28T19:46:30 #kisslinux <kiedtl> @!@#$ 2020-02-28T19:46:37 #kisslinux <kiedtl> sorry for the spam :) 2020-02-28T19:46:50 #kisslinux <kiedtl> issue seems to be fixed 2020-02-28T19:47:21 #kisslinux <kiedtl> :quit 2020-02-28T19:48:02 #kisslinux <kiedtl> :D 2020-02-28T19:48:07 #kisslinux <dylanaraps> :D! 2020-02-28T19:49:38 #kisslinux <kiedtl> dylanaraps, why do you parse commands based on the first letter? 2020-02-28T19:50:05 #kisslinux <dylanaraps> Dunno 2020-02-28T19:50:08 #kisslinux <dylanaraps> Can fix it 2020-02-28T19:50:22 #kisslinux <wchar_t> won't that make adding new commands later harder? 2020-02-28T19:50:29 #kisslinux <wchar_t> e.g. /names would collide with /nick 2020-02-28T19:50:35 #kisslinux <wchar_t> both starting with /n 2020-02-28T19:51:42 #kisslinux <dylanaraps> Yes 2020-02-28T19:51:44 #kisslinux <dylanaraps> I'll fix 2020-02-28T19:51:46 #kisslinux <kiedtl> hmmm, NICK messages have an extra newline appended 2020-02-28T19:51:55 #kisslinux <dylanaraps> Yup 2020-02-28T19:51:57 #kisslinux <dylanaraps> Just noticed 2020-02-28T19:52:06 #kisslinux <dylanaraps> I'm currently writing a proper message parser 2020-02-28T19:52:37 #kisslinux <kiedtl> good 2020-02-28T19:53:18 #kisslinux <kiedtl> I had noticed previously: if a server msg contained, eg, "NOTICE", birch would display that msg as if it were a notice 2020-02-28T19:53:21 #kisslinux <kiedtl> even if it wasn't 2020-02-28T19:53:26 #kisslinux <kiedtl> test test NOTICE 2020-02-28T19:53:29 #kisslinux <dylanaraps> Nope 2020-02-28T19:54:11 #kisslinux <kiedtl> :kiedtl!~kiedtl@2601:148:280:4a0::75d1 NICK :sigio 2020-02-28T19:54:37 #kisslinux <dylanaraps> By all means, please try and break it 2020-02-28T19:54:38 #kisslinux <dylanaraps> :P 2020-02-28T19:54:42 #kisslinux <kiedtl> :) 2020-02-28T19:55:18 #kisslinux <kiedtl> what's up with the `current` file? 2020-02-28T19:55:25 #kisslinux <kiedtl> in the birch source tree? 2020-02-28T19:55:28 #kisslinux <dylanaraps> Oh 2020-02-28T19:55:37 #kisslinux <dylanaraps> wdym? 2020-02-28T19:55:42 #kisslinux <dylanaraps> In $TMPDIR? 2020-02-28T19:55:47 #kisslinux <kiedtl> ?? 2020-02-28T19:55:54 #kisslinux <dylanaraps> The input/output have no means of communicating with each other 2020-02-28T19:55:58 #kisslinux <kiedtl> ah, nvm 2020-02-28T19:56:03 #kisslinux <dylanaraps> So files must be used as IPC 2020-02-28T19:56:09 #kisslinux <kiedtl> I'm running birch in the src dir 2020-02-28T19:56:15 #kisslinux <dylanaraps> Oh 2020-02-28T19:56:15 #kisslinux <kiedtl> thats the cause 2020-02-28T19:56:20 #kisslinux <dylanaraps> That's a bug regardless 2020-02-28T19:56:26 #kisslinux <kiedtl> I thought you added by accident 2020-02-28T19:56:28 #kisslinux <dylanaraps> On the list now 2020-02-28T19:56:30 #kisslinux <dylanaraps> So did I 2020-02-28T19:58:28 #kisslinux <dylanaraps> Current is fixed 2020-02-28T19:59:05 #kisslinux <dylanaraps> Nick changes fixed 2020-02-28T19:59:25 #kisslinux <dylanaraps> Nick changes fixed 2020-02-28T20:00:02 #kisslinux <aarng> did that work? 2020-02-28T20:00:14 #kisslinux <dylanaraps> Yes 2020-02-28T20:00:40 #kisslinux <dylanaraps> The parsing _is_ fine right now 2020-02-28T20:00:49 #kisslinux <dylanaraps> It's just broken into a lot of pieces / special cases 2020-02-28T20:01:03 #kisslinux <dylanaraps> I want to unify it into a single generic parser 2020-02-28T20:01:08 #kisslinux <dylanaraps> Which does it "properly" 2020-02-28T20:01:38 #kisslinux <aarng> you could use regex like dzove855 suggested 2020-02-28T20:01:46 #kisslinux <kiedtl> bug: on SIGINT birch should send QUIT, no? 2020-02-28T20:01:50 #kisslinux <dylanaraps> Regex will be error prone 2020-02-28T20:01:51 #kisslinux <aarng> most parts of the irc messages are optional though 2020-02-28T20:01:58 #kisslinux <aarng> and vary widely from server to server 2020-02-28T20:02:05 #kisslinux <kiedtl> kiedtl: test 2020-02-28T20:02:25 #kisslinux <aarng> ye, what I linked you once is very robust 2020-02-28T20:02:34 #kisslinux <dylanaraps> Ah 2020-02-28T20:02:36 #kisslinux <aarng> a bit long, you probably don't like that ;) 2020-02-28T20:03:23 #kisslinux <kiedtl> qq: how do you switch buffers? 2020-02-28T20:05:41 #kisslinux <aarng> dylanaraps: https://termbin.com/bb1h 2020-02-28T20:05:47 #kisslinux <aarng> found it in the logs 2020-02-28T20:06:15 #kisslinux <dylanaraps> Nice 2020-02-28T20:06:18 #kisslinux <dylanaraps> Thanks for that 2020-02-28T20:06:26 #kisslinux <aarng> np 2020-02-28T20:16:22 #kisslinux <dylanaraps> -> irc_parse 2020-02-28T20:16:22 #kisslinux <dylanaraps> "kiedtl", "~kiedtl", "2601:148:280:4a0::75d1", "PRIVMSG", "#kisslinux", ":dylanaraps: gonna check, brb", 2020-02-28T20:16:24 #kisslinux <dylanaraps> hehehe 2020-02-28T20:17:29 #kisslinux <kiedtl> before exit on SIGINT birch should send QUIT, no? 2020-02-28T20:18:15 #kisslinux <dylanaraps> I'll fix that too 2020-02-28T20:21:13 #kisslinux <dylanaraps> Parser is done 2020-02-28T20:21:57 #kisslinux <kiedtl> $ git pull 2020-02-28T20:22:03 #kisslinux <kiedtl> Already up to date. 2020-02-28T20:22:07 #kisslinux <kiedtl> :'( 2020-02-28T20:22:09 #kisslinux <dylanaraps> Haven't pushed yet 2020-02-28T20:22:14 #kisslinux <kiedtl> :) 2020-02-28T20:38:05 #kisslinux <dylanaraps> test 2020-02-28T20:38:10 #kisslinux <dylan2> Huzzah 2020-02-28T20:38:24 #kisslinux <poop> huzzah 2020-02-28T20:44:14 #kisslinux <kiedtl> are you `poop` in the birch screenshot? 2020-02-28T20:44:30 #kisslinux <kiedtl> or should I not ask that question 2020-02-28T20:46:12 #kisslinux <not_poop> I am 2020-02-28T20:47:27 #kisslinux <not_poop> bb 2020-02-28T20:47:29 #kisslinux <not_poop> brb 2020-02-28T21:51:27 #kisslinux <dylan02> ok 2020-02-28T22:18:01 #kisslinux <dylanaraps> hello 2020-02-28T22:18:01 #kisslinux <dylanaraps> hello 2020-02-28T22:18:01 #kisslinux <dylanaraps> hello 2020-02-28T22:18:01 #kisslinux <dylanaraps> hello 2020-02-28T22:18:01 #kisslinux <dylanaraps> hello 2020-02-28T22:18:02 #kisslinux <dylanaraps> hello 2020-02-28T22:19:50 #kisslinux <dylanaraps> hello 2020-02-28T22:20:19 #kisslinux <dylanaraps> Apologies 2020-02-28T22:23:14 #kisslinux <dylanaraps> Uh 2020-02-28T22:27:58 #kisslinux <dylanaraps> Alrighty. So we're looking at another reduction in code size 2020-02-28T22:28:09 #kisslinux <dylanaraps> 'tis good 2020-02-28T22:28:14 #kisslinux <dylanaraps> Expect a lot of bugs though. 2020-02-28T22:39:31 #kisslinux <kiedtl> brb 2020-02-28T22:41:54 #kisslinux <dylanaraps> test 2020-02-28T22:42:06 #kisslinux <dylanaraps> test 2020-02-28T22:42:11 #kisslinux <dylanaraps> test 2020-02-28T23:01:59 #kisslinux <j3s> ohai 2020-02-28T23:03:31 #kisslinux <dylanaraps> hello 2020-02-28T23:04:03 #kisslinux <kiedtl> test 2020-02-28T23:05:49 #kisslinux <dylanaraps> oops 2020-02-28T23:05:56 #kisslinux <dylanaraps> kiedtl: It's a little borked 2020-02-28T23:05:59 #kisslinux <dylanaraps> Will push a fix 2020-02-28T23:06:27 #kisslinux <ioraff> konimex: you there? 2020-02-28T23:07:52 #kisslinux <kiedtl> dylanaraps, what's up with the wew branch? 2020-02-28T23:07:58 #kisslinux <dylanaraps> ??? 2020-02-28T23:08:01 #kisslinux <dylanaraps> What about it? 2020-02-28T23:08:18 #kisslinux <kiedtl> what changes are in that branch vs master? 2020-02-28T23:08:21 #kisslinux <kiedtl> hmmm 2020-02-28T23:08:30 #kisslinux <dylanaraps> Read the description 2020-02-28T23:09:13 #kisslinux <kiedtl> https://0x0.st/ibvS.png 2020-02-28T23:09:25 #kisslinux <kiedtl> birch randomly seems to not print the nick 2020-02-28T23:09:29 #kisslinux <kiedtl> (on master) 2020-02-28T23:10:07 #kisslinux <dylanaraps> Neat 2020-02-28T23:10:16 #kisslinux <dylanaraps> brb 2 secs 2020-02-28T23:11:03 #kisslinux <dylanaraps> Fixed alignment in wew 2020-02-28T23:11:49 #kisslinux <kiedtl> ah ok 2020-02-28T23:12:07 #kisslinux <dylanaraps> wew has a generic parser 2020-02-28T23:12:15 #kisslinux <dylanaraps> And input/output go through it 2020-02-28T23:12:32 #kisslinux <dylanaraps> > PRIVMSG) prin "$nc $mesg" ;; 2020-02-28T23:12:37 #kisslinux <dylanaraps> That's the privmsg code now 2020-02-28T23:13:19 #kisslinux <dylanaraps> Just some bugs to fix 2020-02-28T23:18:17 #kisslinux <dylanaraps> Look at how tiny it is now 2020-02-28T23:18:18 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/blob/a075471dc56535a0a9fdef2fdf10e6c27bd7973d/birch 2020-02-28T23:19:41 #kisslinux <kiedtl> 180loc irc client :D 2020-02-28T23:20:08 #kisslinux <dylanaraps> 136 LOC according to cloc :P 2020-02-28T23:20:18 #kisslinux <kiedtl> typo 2020-02-28T23:20:32 #kisslinux <kiedtl> oh 2020-02-28T23:20:35 #kisslinux <dylanaraps> Just bugs to fix now 2020-02-28T23:20:41 #kisslinux <kiedtl> yeah, I was counting comments/blanks 2020-02-28T23:21:04 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/blob/a075471dc56535a0a9fdef2fdf10e6c27bd7973d/birch#L101-L118 2020-02-28T23:21:09 #kisslinux <dylanaraps> That's the parser 2020-02-28T23:21:22 #kisslinux <dylanaraps> The rest below just formats messages 2020-02-28T23:21:33 #kisslinux <dylanaraps> oops 2020-02-28T23:21:38 #kisslinux <dylanaraps> ignore that printf >> raw 2020-02-28T23:21:41 #kisslinux <dylanaraps> Was for testing 2020-02-28T23:21:52 #kisslinux <kiedtl> neat 2020-02-28T23:23:35 #kisslinux <kiedtl> how will you fix QUIT showing up in the wrong buffer? 2020-02-28T23:23:54 #kisslinux <kiedtl> iirc QUIT doesn't come with a tag showing what channels the user was in 2020-02-28T23:25:07 #kisslinux <dylanaraps> Good question 2020-02-28T23:25:19 #kisslinux <kiedtl> I tried to fix that in my own irc client 2020-02-28T23:25:20 #kisslinux <kiedtl> gave up 2020-02-28T23:25:34 #kisslinux <kiedtl> I guess you could store each user with the channel's they were in 2020-02-28T23:25:44 #kisslinux <kiedtl> might be easier in bash than it was in C :P 2020-02-28T23:26:02 #kisslinux <dylanaraps> I don't store the nick list currently 2020-02-28T23:26:23 #kisslinux <dylanaraps> I don't even use channels in birch 2020-02-28T23:26:37 #kisslinux <kiedtl> tbh I don't know how that issue could be fixed without storing nick list 2020-02-28T23:26:48 #kisslinux <dylanaraps> Exactly 2020-02-28T23:27:57 #kisslinux <dylanaraps> I might drop channel support 2020-02-28T23:28:00 #kisslinux <dylanaraps> Dunno 2020-02-28T23:29:17 #kisslinux <dylanaraps> Well, resize is currently broken 2020-02-28T23:29:18 #kisslinux <dylanaraps> :P 2020-02-28T23:29:29 #kisslinux <dylanaraps> ooo 2020-02-28T23:31:03 #kisslinux <dylanaraps> Fixed 2020-02-28T23:31:48 #kisslinux <dylanaraps> Test 2020-02-28T23:31:57 #kisslinux <dylanaraps> OK 2020-02-28T23:31:58 #kisslinux <dylanaraps> Fixed 2020-02-28T23:33:50 #kisslinux <kiedtl> test 2020-02-28T23:33:56 #kisslinux <kiedtl> test 2020-02-28T23:33:57 #kisslinux <kiedtl> test 2020-02-28T23:34:04 #kisslinux <kiedtl> test 2020-02-28T23:34:32 #kisslinux <dylanaraps> Fixed history/resize 2020-02-28T23:57:44 #kisslinux <dylanaraps> test