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

-- Leo's gemini proxy

-- Connecting to gemini.ctrl-c.club:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain; charset=utf-8

-- Response ended

-- Page fetched on Sun Jun 2 10:42:02 2024