00:00:00 --- log: started forth/12.02.23 02:20:38 --- join: newcup (newcup@peruna.fi) joined #forth 02:20:38 --- mode: ChanServ set +v newcup 02:29:58 --- nick: Inode_ -> Inode 04:20:44 --- join: href (~href@ec2-176-34-206-227.eu-west-1.compute.amazonaws.com) joined #forth 04:20:44 --- mode: ChanServ set +v href 05:01:31 --- quit: cataska (Ping timeout: 248 seconds) 05:02:24 --- join: cataska (~cataska@210.64.6.233) joined #forth 05:02:24 --- mode: ChanServ set +v cataska 05:33:29 --- join: Kumul (~Kumul@66-50-99-244.prtc.net) joined #forth 05:33:30 --- mode: ChanServ set +v Kumul 05:38:59 --- quit: cataska (Ping timeout: 244 seconds) 05:49:21 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 05:49:21 --- mode: ChanServ set +v MayDaniel 05:51:10 --- join: cataska (~cataska@210.64.6.233) joined #forth 05:51:10 --- mode: ChanServ set +v cataska 05:54:30 --- quit: MayDaniel (Read error: Connection reset by peer) 06:26:26 --- join: nighty- (~nighty@static-68-179-124-161.ptr.terago.net) joined #forth 06:26:26 --- mode: ChanServ set +v nighty- 06:41:01 --- quit: Kumul (Ping timeout: 255 seconds) 06:43:19 --- join: Kumul (~Kumul@67.224.230.59) joined #forth 06:43:20 --- mode: ChanServ set +v Kumul 07:26:12 --- join: haole (~chatzilla@2001:1291:262:1:39b8:6611:8154:9a03) joined #forth 07:26:13 --- mode: ChanServ set +v haole 07:46:21 --- quit: ttmrichter (Quit: Leaving) 10:36:18 --- join: I440r (~zhiming@24-183-5-217.dhcp.fdul.wi.charter.com) joined #forth 10:36:19 --- mode: ChanServ set +v I440r 10:52:36 --- quit: nighty- (Ping timeout: 245 seconds) 12:06:02 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 12:06:02 --- mode: ChanServ set +v MayDaniel 12:31:19 --- quit: haole (Read error: Connection reset by peer) 12:31:53 --- join: haole (~chatzilla@2001:1291:262:1:39b8:6611:8154:9a03) joined #forth 12:31:54 --- mode: ChanServ set +v haole 13:17:04 I440r: bad idea, suckless ppl are a bunch of trolls 13:17:34 yea 13:17:36 im learning that 13:18:48 Kumul, people like tht piss me off. like the eterm guy telling me i can write the tabbed interface if i want. wont be that difficult to do etc etc 13:19:16 and suckless people suck worse, just on that one small encounter i can say that 13:20:03 so i dont think we talked before? i assume your a forth coder :) 13:20:26 they used to be good, but then the trolls came, as you can see, they dont even like or support their own projects (wmii and libixp) 13:20:37 ya. 13:20:50 did look at their terminal (st) and it is damned clean source 13:20:51 im just a hobbyist who has too much free time on his hands 13:21:01 but almost totally devoid of comments. plus its in C so it automatically sucks 13:21:41 i did want to talk to its author tho because i see issues with other terminals where MY code doesnt work right in them... works perfectly in st 13:22:03 i always figured it was a bug in the terminals im not working right in... (i never assume MY code is b0rked :) 13:22:10 st sort of proves that theory right 13:23:28 That just means that your and their code may have similar bugs. 13:25:32 the author is arg, but he never answers, try the maling list, you cant expect honest discussion in IRC nowadays 13:25:50 kuml i wont subscribe to any mailing lists 13:25:52 not ever 13:26:19 mailing lists are a fucking horrible way to contact devs 13:26:46 here please spam me with 60000 irrelavant emails per day until i figure out how to filter ONLY those im interested in 13:27:12 and its amazing that st works, the last time i tried it, it was annoyingly slow, (anything that required drawing, took a decade) 13:27:24 its damned snappy now 13:39:09 and I440r you just need to check xprop to set window ids and such 13:40:51 yea jumping through bullshit hoops like that is exactly what i dont want to do tho 13:40:55 launch tabbed 13:40:59 run xprop on tabbed 13:41:19 run terminal emulator with knowledge of tabbed's xid or what ever 13:41:32 so that i can embed terminal within tabbed 13:41:37 CANNOT automate that 13:41:59 i.e. cannot set an app-icon in windowmaker to laujch my-fave-terminal-inside-tabbed 13:42:14 im not going to launch 3 applications just to get ONE tabbed terminal 13:42:17 thats bullshot 13:42:20 bullshit even 13:42:43 i have mrxvt which is tabbed but has some minor issues that i CAN live wth 13:48:44 and asau if you could show me exactly where my code is broken i would be HAPPY to fix it.... i can show you countless examples of where various terminals are SERIOUSLY SERIOUSLY borked 13:48:55 simply for having incomplete or incorrect terminfo files 13:49:11 you can actually, thats the whole point 13:49:34 ya. st doesnt exhibit those problems i see with other terminals 13:49:49 worst offender is gnu screen 13:49:51 period 13:50:09 worst abortion of an application ive ever seen 13:51:47 which is why things that dont suck like ncurses have to be 500k in size. simply for all the bullshit DUCT TAPE code he has to write to cater to the breakage in almost every terminal in existence 13:52:35 im pretty certain my terminfo parsing code is spot on 13:53:01 given a non broken terminfo file (screen) i can do things with my curses code taht cant be done easily with ncurses 13:53:02 ok, as an example: x=`tabbed -d` ; surf -e $x & 13:53:20 that will put surf on tabbed 13:53:46 you could create a couple of scripts, that will either go on tabbed or so on 13:54:25 tabbed: missing fontset: ISO8859-1 13:54:26 lol 13:54:47 isnt that in corefonts? 13:54:49 yep, mine is even worse 13:56:12 i think thats a tabbed bug 13:56:20 it isnt 13:56:51 actually, i dont think anybody knows where fonts exist 13:57:38 lol 13:57:55 --- quit: MayDaniel (Read error: Connection reset by peer) 13:58:28 ill go and bother them, i also get the errors in dwm 13:58:33 well i emerged tabbed so iwould assume the gentoo devs would make that compile KNOW wehre fonts were 13:58:48 good luck. 14:20:16 they just said to install the fonts :S 14:21:54 they are installed 14:21:56 morons 14:22:01 them not you lol 14:22:20 thus the plural nature of my statement :) 15:06:00 I440r: do you use screen? 15:06:04 no 15:06:14 i cant. it is so horrendously broken 15:07:04 good, it doesnt seem like your a masochist 15:07:23 i was going to recommend you tmux 15:08:17 it would solve the problem of having scatterbrained terminals all over my desktop but it would be a totally NON visual solution to the problem 15:08:37 i would have to do next next next next next and flip throu al the screens to find the one i wanted 15:08:54 your still talking about screen i hope 15:08:55 thats almost as bad as having to do ^kx ^kx 40 times in a row to quit and save all files in joe 15:09:05 tmux doesnt work that way? 15:09:17 well, it has sessions 15:09:42 and you can use numbers or find to select a window 15:09:52 no still not an acceptable solution 15:09:55 via patterns, or just nextnextnextnext 15:10:01 or use the mouse 15:10:03 thehn i have to remember wht number screen has what 15:10:09 mouse? 15:10:12 there are tabs? 15:10:15 yes 15:10:19 !!!! 15:10:47 :) 15:11:12 there is also dvtm, but i havent looked into that one 15:11:55 what does C-b mean 15:11:57 ^b? 15:12:24 I440r: prefix for a command 15:12:28 this man page is gobbldegook 15:12:34 i have NO idea how to control this 15:12:38 what!? 15:12:49 the tmux manpage is nothing short of perfection 15:13:37 you press C-b and then n for the next window, 15:14:32 think they could have made the prefix keys further apart lol 15:14:43 its configurable 15:14:50 WHY do they not just sayu "^b" ^ is universal for CONTROL lol 15:14:55 yea 15:15:30 i dont know about that, it also means powers, C is control and M for meta 15:15:55 i've never used emacs, so maybe its there where ^ is for control 15:16:24 i dont use emacs either. i have an aversion (psychotic aversion) to bloatware :) 15:16:44 you use joe then? 15:17:04 xD 15:17:14 ok i cant seem to select 0:man 1:bash <-- it shows tabs but they are not clickable 15:17:16 and yes i use joe 15:17:36 but im looking for a sane replacement. ^kx^kx^kx 40 times in a row gets OLD real fast 15:17:43 you need to turn mouse select on 15:17:56 and the author refuses to implement a "quit and save all files" 15:19:12 tmux set-option -g mouse-select-window on 15:19:46 i think thats it 15:20:01 failed to connect to server. connection refused or somethgin lik ethat 15:20:22 failed to connect to server: Connection refused 15:20:29 are you running tmux? 15:20:42 ok this wont work then 15:20:51 because i have to be IN tmux in order to turn on mouse support 15:20:59 of course 15:21:04 i dont want to have to jump through this hoop every time i launch tmux 15:21:05 tmux 15:21:17 tmuxj -lots --of --obscure --switches -- 15:21:19 it is configurable 15:21:37 its still not really a viable solution 15:21:43 not obscure, look at the manpage, it has a column for all of the commands that you can change 15:21:55 no matter HOW you cut it i have to jump through some sort of hoops to get it working. 15:22:16 echo tmux set-option -g mouse-select-window on >> $HOME/.tmux.conf 15:22:19 right. COMMANDS i can execute AFTER its running 15:22:22 problem solved, now launch tmux 15:23:10 why does .tmux.conf invoke tmux 15:23:20 its tmux rc file 15:23:26 its tmux's rc file 15:23:41 tmux launches. it reads its rc file. its rc file invokes tmux with switches 15:23:42 echo set-option -g mouse-select-window on >> $HOME/.tmux.conf 15:23:46 thats kind of convoluted 15:23:52 ok thats better lol 15:24:08 pardon, i just pasted without looking 15:24:39 k. launched with mouse select. still cant select with mouse lol 15:24:46 checking for typos 15:26:27 if you havent killed tmux, you need to reread the config file, ## in tmux ; tmux source $HOME/.tmux.conf 15:27:24 ok mouse select works. lets see if i can get an st terminal running with tmux launched per default 15:28:21 no because st is not windowmaker friendly lol 15:28:23 damn 15:28:37 ill fake it hang on 15:31:31 i tried to run it and it needed st's terminfo file 15:31:44 of course, thats compiling locally 15:31:45 just export TERM="xterm" 15:32:11 or modify the config.h to make the term report self as xterm 15:32:16 which is what i did 15:32:38 gotta quit out of x. log out. log back in and have ~/bin in my env 15:32:40 brb 15:32:42 --- quit: I440r (Quit: Leaving) 15:35:19 --- join: I440r (~zhiming@24-183-5-217.dhcp.fdul.wi.charter.com) joined #forth 15:35:19 --- mode: ChanServ set +v I440r 15:37:03 --- join: haole_ (~chatzilla@2001:1291:262:1:39b8:6611:8154:9a03) joined #forth 15:37:04 --- mode: ChanServ set +v haole_ 15:37:16 k well st is giving me a..ooo[Kooo[Kooo.............. displayed in the windows drag bar 15:37:29 and oin launch i have the date being displaed in the console 15:37:41 things are not working perfect here.. something is screwed up 15:38:15 how do i change the name of a tab. the tab name does not seem to follow the name of the application running in that tab 15:38:54 hmm seems st does not have its terminfo file perfect either 15:39:17 or maybe this is tmux doing this 15:39:22 let me test outside of tmu 15:39:23 tmux 15:39:54 --- quit: haole (Ping timeout: 272 seconds) 15:39:54 nope not tmux. st has a broken terminfo file 15:40:07 bold is being displayed totally fucked up 15:40:13 ooooh crap 15:40:15 no 15:40:31 i changed the FONT but not the BOLD font 15:40:34 thats whats screwed up :) 15:40:59 when i compiled ST i changed the font it uses to one thats not . <-- this tiny lol 15:41:05 i didnt change the BOLD font ha 15:42:48 i also dont like my command prompt being 15:43:15 mark4$mtech [tab tab tab] ~/path/to/cwd [tab tab tab tab] X 15:43:21 where x is my cursor home position 15:44:00 user@where [SPACE] /path/to/pwd [SPACE] X 15:44:02 that has to be changed 15:48:55 i also seem to be getting artifacts left behind as my cursor travels over characters as im editing them in joe 15:49:06 maybe st doesnt "suck less" enough :) 15:51:29 ok that was a result of bad font selection i take it back :) 15:52:48 no. crap i cant tell. it isnt happening in st unless i have bad fonts selected or im running inside tmux 15:53:27 ugh lol no its me again. im running the ~/bin/st NOT the new one i just bult that fixes this 15:53:30 dumb 16:02:36 WOAH, lots of text, whats a drag bar? is it the title bar? 16:02:45 and i knew it! st is as slow as before 16:02:47 yes 16:02:56 and ignore most of that i was being stupid 16:03:06 i am seeing DELETE not working right but backspace works 16:03:15 something about that in the config file i need to look at i think 16:04:37 yeah, that is usually configurable, even Terminal (xfce) has an option to change it 16:05:36 which i find stupid, who (and why) wouldnt you use DELETE to delete forward? 16:05:55 exactly. delete currently does nothing 16:06:12 oh crap i bet it does. my laptop has two delete keys right next to each other 16:06:26 one is theoretically the number pad del and the one above it is the normal delete 16:06:44 well i never have numlock on so the larger button SHOULD be a delete but istn 16:07:00 yea its numpad del not working for some reason 16:07:03 del works fine 16:08:01 im beautifying the sources to st 16:08:09 first thing i did ws create a new file called st.h 16:08:20 no need 16:08:22 the 825649832649 lines of CRUFT at the top of st.c got moved into the st.h file where it belongs 16:08:24 there is a config.h 16:08:41 nvm nvm 16:08:45 :) 16:08:51 im also DEtabbing it 16:09:09 and setting indents to TWO SPACES not 4/8/45276457924 per the Linux kernel coding standard 16:09:25 linus torvalds wants sources like this 16:09:45 because single spaces dont delineate blocks enough for him so he needs a EIGHT spaces per tab 16:10:25 if you look at config.h you can see there is a #define TAB 8 which you can change 16:10:40 no i mean in the source file not my editor 16:10:55 or the terminal 16:12:26 he is also very inconsistent with the use of tabs and spaces 16:12:33 some places he tabs. other places he uses spaces. 16:12:53 cant make his mind up so ill make it up for him and convert ALL tabs to spaces and set ALL indents to two spaces :P 16:13:15 also getting ridd of the HORRIBLE looking /* blah blah */ comments 16:13:39 probably wouldnt be a good idea to post my results lol 16:13:41 he would hate me 16:14:11 I440r: if what you say is true, pythonistas would hate him too 16:14:40 heh im also going to get rid of the stupid emacs indentation on function declarations 16:14:41 void 16:14:45 blah(void) 16:14:47 instead of 16:14:52 void blah(void) 16:16:29 and the stupi K&R bracing { 16:16:30 } 16:17:56 will you keep everything on 1 line 16:18:04 yes 16:18:22 what do u mean? for the void foo(void) ? 16:18:31 or k&r bracing 16:18:44 bracing should always be as follows for sanitys sake 16:18:45 { 16:18:46 code here 16:18:47 } 16:18:56 never like this EVER { 16:18:57 } 16:20:11 i wont say anything because what i write is gibberish 16:20:28 i tend to close everything on the same line (yes) 16:20:34 } } } } } } 16:20:42 ok im seeing a ? x : y construct inside a typedef struct 16:20:58 ulon col[LEN(colorname) < 256 ? 256 : LEN(colorname) 16:21:09 that gets processed at COMPILE time? 16:21:19 or run time? 16:21:57 visually that can lead to issues where you might not close enough or might close too many :) 16:22:06 and you HONESTLY should not be nesting to that level anywya lol 16:22:20 i hope as a prospective forth programmer you lear to factor better :) 16:22:22 I440r: not if you use tabs properly 16:22:35 TABS are evil 16:22:41 tabs are the spawn of satan 16:22:55 that might be why they are so useful 16:26:33 lol he used goto ! 16:26:57 might have to change that to a do 16:26:59 { 16:27:03 } while (0); 16:27:07 lol 16:27:12 and put a break; in there 16:27:27 }:) just to be MORE evil and obfuscated 16:33:59 what would be a good forth style? i havent seen much forth code out there or maybe i havent searched well enough 16:34:22 well imHo (humble being a relative term) check out www.isforth.com 16:34:56 im kind of anally retentive about source formatting 16:38:40 lets see if i can compile on fbsd 16:39:09 anprobably not. there is a freebsd version but i dont run fbsd so its probably broken 16:39:22 it MIGHT be you also need to turn off heap randomization in fbsd 16:39:42 that might be the breakage. it worked fine on an older one but i forget at what point it stopped working 16:39:53 im thinking it might have been when HR was implemented 16:40:08 i think the download still links the fbsd version 16:40:09 if not 16:40:48 www.isforth.coom/isforth-fbsd.tar.gz i believe 16:41:05 erm fixing the .com typo too 16:41:23 thats a VERY old version though. 17:06:51 were u able to get anything working 17:49:34 sry was eating and i think ill call it a day for today, but just wanted to look at the code for educational purposes, so it doesnt matter if it compiles (it doesnt) 17:50:16 theres also a lot of *~ files 17:53:18 there are? eep 17:53:29 i turned taht "feature" off in joe 17:53:40 they are backup files :/ 17:53:58 i knows 17:54:02 :)) 17:54:10 vim keeps them too 17:55:06 with dvcs nowadays keeping backups are no longer useful 17:55:40 dvcs? 17:55:49 some sort of version contro? 17:55:51 i use svn 17:57:34 distributed version control 17:57:59 i've never used svn, it seems too complicated 17:59:47 ugh i think distributed is too complex lol 17:59:55 svn is a snap 18:02:51 maybe saying saying backups are useless is an exageration, but i focus on reverting changes, it seems easier, plus one keeps a backup and you have yet another backup in .hg (or .git) 18:03:36 yea ive been neglecting my checins lol 18:03:40 i like to check in every day 18:03:42 working or not 18:04:06 which works fine cuz right now its just me 18:05:55 I440r: whats complex? i know only about 10 commands, and i deal fine 18:06:13 i saw a book on svn once, if you need a book to learn a tool, now thats complex 18:06:38 ya thers alot it does. but svn co. svn status svn commit tahts all u need 18:06:46 co is shorthand for checkout 18:09:37 u can see isforth x86 svn repo at http://24.183/5/217:8001 i think 18:12:22 i still dont trust it, if everyone moved away from cvs and svn, there must be a reason 18:12:51 linus torvalds opened his mouth and they all bowed down to his greatness and switched 18:13:05 i dont think its that simple 18:13:09 personally i think distributed version control is a horrendously obvuscated way of doing it 18:13:39 i cant see how you can keep track of who made what changes when and why 18:13:50 without you have to inject ALL that info into the source files themselves 18:13:56 like pvcs does 18:14:19 pvcs source files have 4765293765492364572 pages of comments at the top which are all the checkin comments for EVERy version of that soruce file 18:14:34 ive seen 40 odd pages of comments for a 4 or 5 line function. thats all there was in the file 18:14:45 but it was years old and had many changes over the years 18:41:02 http://en.wikipedia.org/wiki/Distributed_revision_control i only see good things 18:41:35 I440r: you can see who made which changes by looking at the log 18:42:31 but wheres the LOG lol 18:42:50 its on the hidden directory 18:42:56 there aint no server :) 18:43:13 yea so any time i do a fetch of the repo i get the entire history of it too 18:43:17 thats the suck 18:43:36 thats why i think a central repository server is better 18:43:40 you check out the sources 18:43:45 you can ask the server for history info 18:44:00 u dont have to download the entire history for every single file in the entire project just to check it out 18:46:23 so cvs is better for big projects and dvcs for small ones 18:48:52 i was angry the other day because FUSE asks for the fbsd sources to install, and installing the source would be 500mb, and was thinking of something better that didnt work that way, glad to know it always existed 19:20:53 :) 21:22:07 --- quit: karswell (Read error: Connection reset by peer) 21:27:36 --- join: karswell (~coat@93-97-29-243.zone5.bethere.co.uk) joined #forth 21:27:36 --- mode: ChanServ set +v karswell 21:42:57 --- part: Kumul left #forth 23:15:40 --- quit: I440r (Remote host closed the connection) 23:59:59 --- log: ended forth/12.02.23