00:00:00 --- log: started forth/06.06.12 00:06:15 grrrr 00:06:23 how do I get the output from SYSTEM ? 00:06:25 in gforth 01:40:54 never mind, looks like I should be able to use pipe-open 01:42:20 --- quit: JasonWoof ("off to bed") 01:44:08 --- join: JasonWoof (n=jason@pdpc/supporter/student/Herkamire) joined #forth 01:44:08 --- mode: ChanServ set +o JasonWoof 01:53:17 --- join: snoopy_1711 (i=snoopy_1@84.58.170.156) joined #forth 02:01:40 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 02:01:55 --- nick: snoopy_1711 -> Snoopy42 02:09:29 --- join: nighty_ (n=nighty@fr-reims-gw.origami-systems.com) joined #forth 02:14:47 --- join: segher__ (n=segher@dslb-084-056-173-071.pools.arcor-ip.net) joined #forth 02:25:41 --- quit: segher_ (Read error: 110 (Connection timed out)) 03:14:52 --- join: virl (n=virl@62.178.85.149) joined #forth 05:30:53 --- quit: Cheery (Read error: 104 (Connection reset by peer)) 05:53:49 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 07:08:57 --- join: PoppaVic (n=pete@0-1pool74-186.nas24.chicago4.il.us.da.qwest.net) joined #forth 07:11:38 --- join: Cheery (n=Henri@a81-197-32-96.elisa-laajakaista.fi) joined #forth 07:40:36 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-170-156.pools.arcor-ip.net) joined #forth 07:42:01 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 07:42:25 --- nick: snoopy_1711 -> Snoopy42 09:03:04 --- nick: Hobart_ -> Hobart 09:16:35 --- quit: PoppaVic ("Pulls the pin...") 09:36:52 --- nick: Raystm2 -> nanstm 09:55:19 --- quit: nighty_ ("Disappears in a puff of smoke") 10:30:03 --- quit: Al2O3 (Remote closed the connection) 10:34:45 --- join: Al2O3 (n=Al2O3@pool-68-238-158-7.dllstx.fios.verizon.net) joined #forth 11:38:24 --- join: mikett (n=nobody@80.195.208.58) joined #forth 11:39:04 --- part: mikett left #forth 12:24:04 --- join: rabbitwhite (n=trip_n_s@204.52.131.22) joined #forth 12:55:39 --- join: mikett (n=nobody@80-195-208-58.cable.ubr14.live.blueyonder.co.uk) joined #forth 12:57:06 --- part: mikett left #forth 13:22:35 --- quit: timlarson_ ("Leaving") 14:16:17 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:17:00 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:25:16 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:25:50 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:28:03 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:30:19 --- quit: Al2O3 ("Leaving") 14:32:47 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:36:53 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:39:15 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:40:00 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:40:34 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:41:33 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:47:58 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:48:07 --- quit: nighty (Read error: 104 (Connection reset by peer)) 14:52:37 --- join: nighty (n=nighty@sushi.rural-networks.com) joined #forth 14:56:23 --- join: Al2O3 (n=Al2O3@pool-68-238-158-7.dllstx.fios.verizon.net) joined #forth 15:00:11 --- quit: Cheery ("Leaving") 15:07:52 sorry about the reconnects dude :) 15:28:52 http://jasonwoof.com/evilcms.fs is finished. You can play with it if you like 15:28:58 let me know if you can break into my computer with it :) 15:30:49 --- quit: rabbitwhite (Read error: 110 (Connection timed out)) 15:30:56 hey cool JasonWoof how did you do it? 15:31:00 which forth? 15:32:12 gforth 15:32:28 svn://svn.jasonwoof.org:2200/gforthcgi/ 15:32:32 svn://svn.jasonwoof.org:2200/evilcms/ 15:33:05 if you check out the latter it will grab the former automatically 15:33:35 oh, gforth, interesting I knew no realworld code which use it 15:34:35 I never looked, but I don't get the impression there is much 15:34:50 I hacked up gforthcgi 15:34:57 and now I can write my dorky scripts in it 15:35:00 this is the seccond 15:35:15 seems to be going pretty well 15:35:18 fine.. 15:35:20 as I use it I add capabilities 15:35:29 my problem with gforth its ansi 15:35:57 gforthcgi comes with a pretty big file called basics.fs which alters gforth considerably 15:36:20 adds A register functionality, lots of common words 15:36:30 fixes for/next so they loop the right number of times and you can break out of it 15:36:32 etc etc 15:36:37 personally I would like to throw out 98% of it's words 15:36:53 oh, extra words don't get in my way 15:37:02 I turn warnings off so it doesn't complain about me redefining them 15:37:14 I really like a forth with max 50 words.. 15:37:21 oh 15:37:25 that's the reason why I like retro so 15:37:34 so get a machine with 1kB of memory 15:37:35 I want a cgi programming environment that I can use to get silly scripting things done quick with 15:37:55 well, retro has more words, but you get an impression of what I want 15:37:56 I'm going swimming. I'll catch up on any comments when I return 16:00:43 --- join: mikael (n=mikael@c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se) joined #forth 16:17:29 --- join: ttuttle (n=tom@unaffiliated/ttuttle) joined #forth 16:17:34 Quartus: Hey! 16:20:29 Quartus: You around? 16:37:09 back 16:44:36 --- quit: virl (Remote closed the connection) 17:05:11 Hey ttuttle. 17:10:25 Quartus: Hey. 17:10:36 What's up? 17:11:02 I'm working on an assembly OS. (Of course it's going to turn into Forth.) 17:11:46 A young man with a lot of time on his hands. :) 17:11:52 Hehehe. 17:12:00 Do you know what a file ending in ".s" is? Is it assembly? 17:12:15 Gnu outputs assembly to .s as a rule. 17:12:20 Okay. 17:25:06 --- join: nighty_ (n=nighty@sushi.rural-networks.com) joined #forth 17:27:17 --- quit: nighty (Read error: 104 (Connection reset by peer)) 17:29:25 --- quit: Al2O3 (Remote closed the connection) 17:39:16 I can think of a lot worse things someone could do with too much time on their hands :) 17:42:04 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-170-156.pools.arcor-ip.net) joined #forth 17:44:24 What does this mean? "os.ld:23 non constant expression for load base" 17:44:52 sounds like it needs to know something at compile time 17:45:02 but you've put in some expression that can't be calculated until runtime 17:45:12 JasonWoof: Well, there's no line 23 of os.ld :-) 17:45:31 how mysterious :) 17:45:32 JasonWoof: But the whole thing is already assembled, how could there be a non-constant expression? 17:45:56 I was asuming that the error was for the linker script 17:46:04 Yes, it is. 17:46:06 not the assembled binaries 17:46:21 how many lines does os.ld have? 17:46:24 JasonWoof: 22. 17:46:35 JasonWoof: So it's complaining after it's done parsing the file. 17:46:39 oh, probably just missing some terminator then 17:46:45 JasonWoof: But I didn't change os.ld, I just added a new file to the program. 17:47:20 weird 17:47:23 Yeah. 17:47:44 dunno. but usually when you get an error line at the end it means it was scanning for some sort of terminator and didn't find it 17:48:28 your new file have weird characters in the filename? 17:48:38 nope 17:49:07 But it does store a set of static strings. Perhaps they're in the wrong section. 17:49:32 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 17:49:55 tathi: I just wrote evilcms.fs 17:50:07 which is a web-based ftp client 17:50:09 basically 17:50:12 heh 17:50:20 you punch in user, pass, dir, path, host 17:50:28 and it grabs the file, and sticks it in a textarea for you to edit 17:50:48 and gives you a "save" button and a link to view that page of your site in a seperate window 17:51:02 JasonWoof: Nice. 17:51:04 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 17:51:11 jasonwoof.com/evilcms.fs 17:51:21 --- nick: snoopy_1711 -> Snoopy42 17:51:26 it doesn't ever write passwords to disk 17:51:55 I have a client who doesn't have an online computer, so installing an ftp program is not practical 17:52:03 and I don't host his site, so I can't make a normal CMS 17:52:11 I see 17:52:28 well, maybe I could have, I actually didn't check the capabilities of his hosting account 17:53:27 later I might improve it so it can split the file up into bite-sized pieces 17:53:39 so you can edit the bits that were meant to be edited easily 17:54:02 man. I wish the svn:externals property supported relative URLs 17:54:16 yeah. I thought that was annoying 17:54:25 oh, did I put in localhost? 17:54:27 oops 17:55:05 fixed 17:55:06 stupid assembly code doesn't work 17:55:40 ttuttle: what's the trouble? 17:56:14 oh, problems linking. hmm. 17:56:15 tathi: I'm getting "os.ld:23 non constant expression for load base" (line 23 is one line past the end of the file os.ld). 17:56:39 tathi: All I did was add a file to the project. I didn't edit the linker script. 17:58:01 tathi: Wanna see the code? 17:58:34 sure 17:58:39 tathi: Want a tarball? 17:59:00 yeah 17:59:50 tathi: This should work: https://thomastuttle.mooo.com/~tom/os.tar.bz2 18:01:38 tathi: ? 18:01:43 I got it 18:01:46 ok 18:01:57 do you know what you did that made it start having issues? 18:02:56 tathi: Yes, I added all the isr stuff. 18:03:09 tathi: isr_gen.pl just generates all the isr_stub.* files. 18:03:58 hmm 18:05:20 tathi: I'm not sure what part of the code is causing the linker error. All of it seems pretty simple. 18:06:40 yeah, it does. 18:07:18 Quartus: wanna take a look? 18:08:56 It sounds like the linker is trying to compute some address and can't, but I'm not sure what "load base" means, exactly. 18:09:13 * tathi goes to take a quick look at the linker source 18:09:46 Hmm. 18:11:40 hrm, can't quite follow that. gotta love cryptic error messages. 18:11:55 Yeah. 18:12:10 oh, wait. what about those strings in isr_stubs.c ? 18:12:12 I never set a "load base", and if there is one, it should be "phys", like the file says. 18:12:17 tathi: What about them? 18:12:32 just a sec, i remember a gcc option for this 18:12:33 it says __attribute__ ((section("data"))) 18:12:37 tathi: I erased that 18:12:40 shouldn't it be ".data" ? 18:12:50 got it 18:12:57 CFLAGS += -fwritable-strings 18:13:55 --- join: Al2O3 (n=Al2O3@pool-68-238-158-7.dllstx.fios.verizon.net) joined #forth 18:15:00 why would that help? 18:15:06 I don't see it writing to the strings anywhere 18:15:34 tathi: It moves them to .data 18:15:40 tathi: just a sec 18:16:44 oh. yeah, that's why I was suggesting changing the attribute 18:17:16 tathi: I tried .data and data; neither work. 18:19:23 tathi: hmm 18:20:29 ? 18:20:46 tathi: I can't get this to work. Even if I specify section("data") or section(".data"), it doesn't work. 18:21:07 I'm not even sure that's the problem -- it just looked somewhat suspicious 18:21:13 tathi: No, it is, I think. 18:21:57 is isr_names used anywhere? 18:22:04 tathi: Not yet, but it will be. 18:22:35 well then, did you try compiling without it to see whether it is the problem? 18:22:48 tathi: It is the problem. 18:23:42 tathi: If I don't make them pointers, they work fine. GCC seems to put string constants in separate, random sections. 18:24:04 brb 18:24:15 ah 18:28:10 odd that dropping the section attribute and using -fwritable-strings didn't work 18:36:17 no, using -fwritable-strings *did* work. the section attribute didn't 18:36:55 oh. that makes sense, now. 18:37:03 tathi: so what do i do? 18:37:05 it would just change the attribute on the array, not on the constant strings 18:37:10 tathi: hmm. 18:37:17 is using -fwritable-strings a problem? 18:37:33 tathi: Yes, gcc whines that it's deprecated, and I don't need writable strings, just to move them. 18:37:44 ah, ok. 18:37:54 let me try some quick experiments 18:38:02 ok 18:39:45 tathi: I don't see a way to apply the attribute to each string. 18:42:16 got it 18:42:29 tathi: I have the isr_gen.pl script generate 31 separate strings, and then make an array of pointers to those variables themselves. 18:43:00 yeah, I don't see any better way to do it :( 18:43:43 harumph 18:47:47 or maybe you could add *(.rodata.*) to the .data section in the linker script. 18:48:38 er, I mean *(.rodata .rodata.*) 18:48:55 looks like that might catch them wherever gcc puts them 18:50:36 tathi: Cool. 18:51:17 tathi: That works! Thanks! 18:51:53 sure 18:51:58 sorry it took so long 18:51:59 --- quit: uiuiuiu (Remote closed the connection) 18:52:03 --- join: uiuiuiu (i=ian@dslb-084-056-225-115.pools.arcor-ip.net) joined #forth 18:52:32 * tathi hasn't had to mess with linker scripts in a while 18:55:37 --- quit: tathi ("leaving") 20:15:46 I have reached a very important stage in my OS development! 20:16:10 I caused--and caught--my first General Protection fault! 20:17:29 Careful, or you'll meet Kernel Error and Major Malfunction. 20:19:19 Quartus: I can't figure out why it did it, either :-\ 20:19:37 Quartus: For that, you shall suffer Corporal Punishment, you Captain of Private enterprise. :) 20:20:04 Yeah, well, Lieutenant... something or other. :) 20:20:11 * ttuttle 's brain hurts from all the bad jokes. 20:20:31 --- nick: nanstm -> Raystm2 20:21:53 So long as I'm not the Chief of Seamen, call me anything you want. 20:22:11 Like Smithers said, women and sea men don't mix. :) 20:22:21 lol 20:22:32 Excellent Quartus! 20:23:08 How's that Web Browser coming? 20:23:30 Oh wait, that's your line. 20:23:47 Any progress? 20:24:51 Yes, we are well into the GPLvsPD argument as we speak. 20:25:54 Ah. So it's ground to a complete halt. 20:25:55 Personally, I think Forth is $#free#$er then GPL, but i'm tainted. 20:26:34 No, I not a halt. 20:26:41 Research is on going. 20:26:51 Ok. 20:27:25 I've visited the RFC about HTML/1.1, just to see what i've gotten my self into. Mozilla's site as well. 20:27:47 A browser is a complex animal. 20:28:01 Raystm2: hahaha, have fun :-) 20:28:05 :) 20:28:08 thanks. 20:28:44 I would figure, prototype, test, and refine, but if you want to make the whole thing spring fully-formed like Athena from the head of Zeus, well, good luck. :) 20:29:00 Quartus: one of the books you sent is helping. 20:29:04 I'm writing code 20:29:11 and I wasn't aware there was an argument 20:29:18 Quartus: ##c is a joke. 20:29:31 Yeah. 20:29:34 That Dr. Dobbs. has some windowing forth code. Might provide a little shortcut to getting something on screen. 20:29:36 there wasn't really anything moving before... so it's hard to say that it halted 20:29:55 JasonWoof, I was being flip. I figure a licensing debate to be the death of a collaborative effort. 20:30:33 yeah? I was hoping we would just agree to the GNU GPL and move on :) 20:30:34 JasonWoof: It's on now. :) 20:30:54 No i was going to abstain from voteing actually. GPL is fine. 20:31:04 Quartus: I keep wanting to /ignore people, but I don't wanna miss the fun. 20:31:05 someone mentioned something about prefering something else, but thus far nobody has voiced a strong opinion 20:31:12 Although I feel somewhat strongly about GPL 20:31:14 Anyway, I'm going to bed. 20:31:19 Cya ttuttle. 20:31:22 Bye! 20:31:23 I could live with PD though 20:31:25 bye ttuttle 20:31:29 --- part: ttuttle left #forth 20:31:52 I think perhaps nobody wants to voice a strong opinion unless they're confident that they will actually contribute a lot 20:31:53 JasonWoof: GPL is fine. PD is prob'ly good to a point. 20:32:08 just depends on what your goals are 20:32:54 personally, I find Stallman's views to be only a slight exaguration of what I think 20:33:01 But what does PoppaVic think? 20:33:02 :) 20:33:04 JasonWoof: contribute a lot... Yes, I think you are correct here. Seeing something that is a mock up might help. Maybe act as scaffolding to building the actual app. 20:33:15 and he's pretty much extreme 20:33:24 yep :) 20:33:35 I'm partially just writing some code so there will be something to talk about 20:33:36 and connect to 20:37:15 I've been reading some windowing code in Dr. Dobbs 21:08:54 Raystm2: what forth/OS does Dr. Dobbs make windows in? 21:58:45 --- join: Cheery (i=Henri@a81-197-32-96.elisa-laajakaista.fi) joined #forth 22:07:48 --- quit: madwork (Read error: 101 (Network is unreachable)) 22:42:54 --- join: crc__ (i=crc@69.46.24.28) joined #forth 22:42:54 --- quit: crc_ (Connection reset by peer) 23:36:54 grrr 23:36:57 I installed glark 23:37:00 which is similar to grep 23:37:13 because it has an option called --exclude-matching 23:37:56 it will exclude files matching that name from a recursive search, but it uses the same expression as the search expression 23:38:59 I really want a recursive file search utility that I can tell to scip my .svn folders 23:40:43 oh, sweet. I can pass a negative expression to --path 23:40:44 nevermind 23:59:59 --- log: ended forth/06.06.12