00:00:00 --- log: started forth/02.03.22 00:11:16 --- quit: Soap- () 03:58:59 --- join: Fare (fare@samaris.tunes.org) joined #forth 04:06:16 Hi people. 04:27:12 lo robots 04:27:50 The leader of the Stockholm party is called Stella Fare. 04:37:06 :) 04:37:11 Is that good or bad? 04:37:22 Hmm... 04:37:28 does it mean anything in Swedish? 04:37:29 I can't see a name can be good/bad. 04:37:33 Nope :) 04:37:43 Where are you from? 04:37:53 Planet Earth 04:37:58 Oh, OK. 04:37:58 (at least, officially) 04:38:13 Aren't you that guru of tunes? Uhmm... from France? 04:38:23 (officiously, I'm a Vegan scouting in preparation of an upcoming invasion) 04:38:27 yup 04:39:11 Nice to meet you then. 04:39:59 nice to meet you 04:40:25 and who are you? 04:41:17 I am...Robert. http://ostling.no-ip.com for a short intro (plus a few pictures). 04:41:41 Hmm... tell me where to put Tunes in the link section btw ;) 04:41:54 "Weird systems" ? :) 04:43:37 VaporWare -- but smells good. 04:44:43 "general OS development" ? 04:44:45 i.e. "Operating Systems under development". 04:44:48 :P 04:45:02 I'll put it...somewhere. 04:45:21 I'm not working hard enough to be able to put it up the next month anyway. 04:49:54 what's a 8502? An evil half-breed between 6502 and 8008? 04:50:42 Heh, no idea. 04:50:51 Where did you get that from? (Typo on my page?) 04:51:07 processor meant to be in the C128D 04:51:17 alongside the 6510 and Z80 04:51:25 Heh 04:51:30 I have one of those... 04:51:37 What should they have the 3rd one to? 04:52:45 dunno 04:52:57 I thought it only had 2 processors, 6510 and z80 04:53:07 (with the 6510 being a 6502 + IO) 04:53:51 hi 04:54:32 oh, some1 from tunes directly! wow :) 04:54:39 uh? 04:54:59 Fare: r u a tunes developer? 04:55:43 meant to be 04:55:49 onetom: Get yourself a client that can replace your r:s and u:s :) 04:56:05 "r u a" looks funny, heh. 05:00:58 ruahhhahaaa ;) 05:01:22 :P 05:01:36 make UR client replace MY msgs :P 05:01:56 onetom: so can I inform you about tunes? 05:02:18 if u managed to do it, then we r 1 step closer 2 the irc bot ;) 05:02:32 Fare: that would b great 05:02:46 :) 05:02:55 Fare: dont know, have u heard about our 4th OS project? 05:03:02 forthos.org ? 05:03:50 Fare: futhin and i started thinking on a 4th os (4os 4 short) 05:04:06 no, theres nothing public about it yet 05:04:38 but, hey http://www.forthos.org/ exists! loll 05:04:54 anyway 05:05:06 as ive started wondering about it 05:05:40 ive found meself establishing similar goals to the goals of the tunes prj 05:06:06 and ive also found the tunes.org 02 days later :) 05:06:15 ~2 days.. 05:06:15 :) 05:06:30 but i dont now too much about it 05:07:09 coz i havent got the proper amount of timeslice 2 process it :) 05:07:30 tho, i ran through it 05:07:47 and fell in love w it @ 1st sight 05:08:16 but i could ask u some simple questions about it 05:08:39 in what language will the tunes os b implemented in? 05:09:30 how could we make our now #forthos channel b the friend of clog? 05:09:41 a language that will probably be something of a mix betweenlisp, forth, ml and asm 05:11:25 I guess I should read more about poplog 05:11:39 rob: what are these conspiracy stories about the BlueOS founder? 05:13:05 He was kind of strange, wanted to turn it into a commercial closed-source system and become rich. When he didn't me beleive when I told him that's not possible, he tried to get one of the other coders of the project with him to code his commercial system. 05:13:14 I stongly doubt he could code at all. 05:14:26 rob: well, maybe he got ideas from NexWave-Solutions.com 05:14:50 * rob_ert doesn't have the energy to look that up. 05:20:11 ive checked http://www.vsta.org/ and http://www.forthos.org/ 05:20:36 they seem very useful things 4 our project 05:21:15 Fare: is there any existing part of the "language" what will b the base for the tunes os? 05:21:55 or will some part of the os b programmed in some existing languse? 05:22:02 language? 05:22:14 It's all VaporWare at the time. 05:22:23 like C or specific asms? 05:22:33 my plan is to metaprogram from CommonLISP 05:22:42 aha 05:22:51 other people experiment using Squeak 05:23:01 thats great! 05:23:06 other interesting system to experiment from would be poplog or ocaml 05:23:18 we plan to program it our os in 4th :) 05:23:37 s/it// 05:24:27 what channel r u on regulary? 05:37:16 Fare: what about implementing those langs (poplog, ocaml..) in 4th? 05:37:32 that's what poplog does 05:37:44 wow 05:38:38 except that its forth has an integrated gc, and was invented before forth was 05:38:46 so it's not called forth 05:42:31 integrated gc? 05:42:35 whats that? 05:44:15 what is the official homepage of poplog? 05:47:05 http://www.cogs.susx.ac.uk/users/adrianh/poplog.html ? 05:47:22 I believe poplog.org works 05:47:38 Gc = garbage collector 05:47:47 (automatic dynamic memory management) 05:48:01 it's what makes the difference between a HLL and a LLL 05:49:45 ??? 05:49:58 high level lang? 05:50:03 low level lang? 05:50:41 yup 05:52:17 thx 4 the directions 2 go :) 05:52:28 do u know the NeWS system? 05:52:45 (Network Extensible Windowing System) 05:52:48 the one with display postscript in the graphical server? 05:56:06 yes 05:56:28 it also incorporates some nice ideas 05:56:45 anyway 05:57:03 how come i never heard of poplog yet? 05:57:34 tho, ive already met SPSS, eg 05:57:56 dunno. Long been proprietary software. been made free software a few years ago 05:58:44 I think NeWS died because it was slow, proprietary and buggy 05:59:20 whereas X was less slow, free, and you could get bugs fixed 05:59:55 i will come if i keep on reading poplog.org :))) 06:00:01 thats amazing! 06:00:38 well, news was better than X infact 06:00:53 and it knew much better then X 06:01:20 but it was proprietary, and it was the 06:02:05 main throw-back 06:02:29 if you want to compare dick size of old software, then Genera was even better 06:02:39 it also required less bandwith eg. and was able to deliver interactivity 06:02:42 or Interlisp-D 06:03:07 and PS quality graphics 06:03:54 it also was HTML+server-side-stuff(cgi)+client-side-stuff(javascript) in itself 06:03:54 the Xerox guys using Interlisp-D didn't have a network display protocol. Instead they had a collaborative distributed platform. 06:04:36 oh, and Xerox practically invented Postscript printers, didn't they? 06:04:44 there r so many interesting stuff out there... 06:04:58 where could i learn about such, beside the internet? 06:05:11 nowhere 06:05:17 r all these stuffs taught at unversities? 06:05:20 no 06:05:23 univ. 06:05:28 well, a tiny bit thereof 06:05:42 neither in hungary :( 06:05:47 on the other hand, at universities, there are people who know a lot, whom you can interact with 06:06:04 and there are machines with which to use the net 06:06:11 just like on irc ;) 06:06:17 and it gives you a bit of credibility when contacting people 06:06:25 just like on irc 06:06:50 ecept that by picking the right univ you can interact IRL with people sharing the same interest 06:07:03 be sure to contact people first, so as to pick the right univ 06:07:46 there is a interlisp-d emulator somewhere on the net 06:07:53 well, thx 4 the intro. u gave me few days lasting job :) 06:08:01 check http://fare.tunes.org/LispM.html 06:08:16 okay 06:08:40 does it worth 2 dl the popcd.tar? 06:08:43 if you're young, have good grades, then by all means try to find a phd grant or so in a lab with people you'd like to work with 06:08:53 its a full poplog env 4 linux 06:08:56 pop has a lot of good stuff 06:09:16 beware: the forth stuff in it is mostly invisible now 06:09:31 eh, ive stopped learning @ the univ after 3/4yrs 06:09:48 coz i had too much girlfriends 06:09:52 and too much job 06:09:55 that's good 06:10:14 and 1 yr later attended to a college 06:10:22 then 4yrs has ellapsed 06:10:39 :) 06:10:43 but i still have 20 exams remaining 06:11:12 and after taking them i have 2 create some diploma thesis 06:11:27 but now the army wants me :)) 06:11:58 they dont accredited my school as a 7 yrs school, just as a 4yrs 1 06:12:21 thats the sad status here 06:12:59 is there still a draft in hungary? 06:13:14 do you fear a new russian invasion? 06:13:15 but i will spend my civil-military service @ the university 06:13:29 draft? 06:13:38 no fear of any invasion 06:13:52 we r about 2 join the EU within 2yrs 06:13:55 as in: work for nothing at doing stupid things, or be sent to prison 06:15:23 u mean military service burden? 06:15:39 yes, hungary still has such 06:15:57 6months service w or w/o weapons 06:16:18 * rob_ert notes Fare speaks a bit better english than the ordinary frenchie. 06:16:28 or 11month civil service @ hospitals or nonprofit orgs 06:16:36 :) 06:16:43 FIG? :) 06:16:52 fig-4th? 06:17:07 rob: how can you know how I *speak* english? 06:17:10 FrenchIsGood 06:17:18 Fare: Write ~= speak :) 06:17:18 lolll 06:17:32 I can't _speak_ it either, but that doesn't count on IRC :) 06:17:37 the ordinary frenchie doesn't speak english. He just babbles a few words learnt at school. 06:17:44 :) 06:17:45 neither me :) 06:17:53 7 years of english at school, and incapable of speaking english! 06:17:57 what a shame 06:18:02 Yes. 06:18:06 just like me :))) 06:18:11 Hehe :)) 06:18:48 ive also learnt german 4 ~1.5yrs in highschool 06:19:08 but ich kann nicht sparche deutch 06:19:30 Hehe :) 06:19:37 tho, ich veil spass 06:20:04 Ich spreche etwa Deutsch, aber ich habe es für ungefähr 5 Jahre gelesen :P 06:20:04 gotta go. 06:20:06 byte! 06:20:08 Bye Fare! 06:20:10 bye, I mean 06:20:13 Fare: cu 06:20:29 --- quit: Fare ("Connection reset by pear") 06:20:34 rob_ert: ive learnt a lot again :) 06:20:38 * onetom happy 06:24:52 :D 06:50:12 --- join: Speuler (~l@195.30.184.51) joined #forth 06:50:31 'morning 06:51:35 hi 06:51:51 * onetom busy 06:52:21 good :) 06:52:29 multi user editor ? 06:53:36 ? 06:54:01 i suspect 1tom is working on one 06:54:48 Ah, cool. 07:01:23 Speuler: half of the communication bg 4 the multiuser editor is working 07:01:46 but now i have 2 work on my regular job 07:01:55 (the building ctrl sys) 07:02:15 Speuler: do u know socket programming? 07:15:22 1tom: sorry, no. 07:15:31 1tom: u use x10 ? 07:33:45 --- quit: clog (^C) 07:33:45 --- log: stopped forth/02.03.22 07:38:28 --- log: started forth/02.03.22 07:38:28 --- join: clog (nef@bespin.org) joined #forth 07:38:28 --- topic: 'Forth is a programming language, an operating system, an interactive environment, and a philosophy. Read "Thinking Forth" by Leo Brodie and maximize the quality of your code.' 07:38:28 --- topic: set by ChanServ on [Thu Mar 21 04:53:48 2002] 07:38:28 --- names: list (clog Speuler rob_ert onetom @ChanServ) 08:17:48 Speuler: x10?!? nooo, its an own development 08:18:10 wow [04:39] *** Joins: clog [nef@bespin.org] has joined #forthos 08:18:34 rob_ert: do u think Fare made it for us? 08:28:30 No idea :) 09:24:12 1tom: hard- en software ? 09:25:28 --- join: futhin (~thin@h24-64-174-2.cg.shawcable.net) joined #forth 09:25:33 hi 09:25:36 howdy 09:25:55 anything happening? 09:25:55 /me busy 09:26:06 not really 09:26:19 the msg-reply thing works 09:26:27 but i plan 2 recode it 09:26:57 and make some docs on the sender-receiver "handshaking" algorithm 09:27:08 but just some hrs later 09:27:59 hm 09:31:19 --- join: robbe (~robert@trollbundet.sletner.com) joined #forth 09:31:28 Hey, version me :) 09:31:54 :)) 09:31:57 funny 09:32:01 Yeah, hehe 09:32:20 I'm rob_ert, in case someone haven't got that figured out ;) 09:33:02 de amugy meg kar beszelni rola ennyit 09:33:06 oops 09:33:11 hehe 09:33:46 futhin: :D 09:34:17 i have minix on my hdd, not installed though 09:34:54 I've got it on a computer without network connection. 09:35:09 * robbe wants an ISA ne2k! 09:36:40 --- quit: robbe () 09:37:11 robbe: realtek 80x9 is a good alternative. ne2k compatible, cheap, fast 09:37:16 Yes. 09:37:21 I've got a few of those. 09:37:30 too late 09:37:32 Hmm... All in different computers all over the house :) 09:39:00 bah, i have one computer, p133mhz 32MB RAM.. ph333r! 09:39:24 i'm too smart to waste money on better computers ;) 09:39:29 futhin: a speed monster 09:39:51 i emulate all the extra features that a faster computer can do with my brain! 09:40:07 wetware driven computing 09:44:06 seriously though. i consider that a p75mhz with 16 megs of ram is plently fast enough to meet everyone's needs. the only reason we need faster computers is games, playing movies, 3d stuff, and perhaps some number crunching for mathematics. but windows XP is so poorly coded, it can't run very well on a p75, what a shame :P 09:44:21 --- join: I440r (~mark4@11Cust65.tnt3.bloomington.in.da.uu.net) joined #forth 09:44:32 howdy i440r 09:44:37 Hi :) 09:45:39 hi 09:45:56 hi 10:17:05 --- quit: futhin ("bye") 10:23:09 --- join: MrReach (~mrreach@209.181.43.190) joined #forth 10:23:27 Hej MrReach. 10:23:33 hihi! 10:27:31 mrreach! 10:27:35 you done yet ??? :) hehe 10:27:49 not started yet 10:28:03 why the big push suddenly? 10:28:19 heh 10:28:35 oh - its not sudden realy 10:28:44 is there something you need to optimise really badly? 10:28:47 tho im not REALY trying to NAG you :) 10:29:01 when you are done - you are done 10:29:01 OH, but you ARE! 10:29:11 * MrReach chuckles. 10:29:14 i thunked you were starting it tho 10:29:25 corse im nagging a little hehe 10:29:38 I wanted to show you a sample of my sources, to see if you approved 10:29:39 tom zimmer had to nag the guy that wrote his :P 10:29:45 what's your current e-mail? 10:29:52 i440r@mailcity.com 10:30:08 does that allow POP acess? 10:30:14 yes 10:30:21 I might check that out 10:30:24 er - i log in with my web browser 10:30:52 the netscape web based email works in the netscape mail client 10:31:02 i dont think mailcity does tho 10:31:16 so i think i misspoke 10:31:39 oh, ok 10:31:51 dont use netscape tho 10:31:59 i hear it has spyware in it 10:32:14 wouldnt supprise me of aol to keep track of where everyone goes for market research 10:32:17 Spyware :) 10:32:43 on its way 10:33:01 that would not surprise me, either 10:33:07 most irritating 10:33:16 would be interesting to watch packets in the raw going out of a box to see if netscape IS sending data to aol behind your bak :) 10:33:24 im SURE you could sue them :) 10:33:31 a good hacker would learn to exploit that funtionality 10:33:44 in what way ? 10:33:50 oohhh 10:33:57 start flooding aol with bogus shit heheh 10:34:05 not neccessarily 10:34:08 they would deserve it if they were doing that 10:34:18 to learn the personal preferences of someone they don't like 10:34:42 oh 10:34:43 have you gotten that e-mail yet? 10:35:02 prolly not - mailcity chews on it for an hour or two before digesting it 10:35:07 I'm not sure my server is web-accessible from outside at this point 10:35:15 ive had tiny mails take over 24 hours before today grr 10:35:48 i got it tho 10:35:49 its here 10:35:50 looking now 10:36:01 try web browsing to 209.181.43.190 10:36:20 or to 209.181.43.186 10:37:25 I've got a bit of a problem ... though I think it's solvable 10:37:30 it looks ok at a glance but can we lose the [IF] [ELSE] and [THEN] ? 10:37:41 conditinal compilation is a pain in the ass 10:37:50 whats the problem ? 10:37:51 those comment out the documentation section at the beginning 10:37:59 oh ok 10:38:10 there is another set at the end that comments out the testing code 10:38:19 or there might be 10:38:47 thats acceptable :) 10:38:58 i would change them to \ on each line myself tho 10:39:11 becayse it distinctly shows the block to be a comment 10:39:33 the problem ... 10:39:34 ' @ alias sizeof <-- this use of alias is valid 10:40:04 its whe you do ' [bx+si] alias [si+bx] etc that it becomes bad coding :) 10:40:07 yep, but the methods of building structures are likely to change in the near future 10:40:28 i would be VERY supprised if they didnt 10:40:30 you'll note that not all the functionality in the docs are written yet 10:40:36 you cant possibly get it right first time heh 10:41:03 this is the third time, and I've been NEEDSing this for for a couple of months now 10:41:16 I use it in practically everything 10:41:54 makes communication with the OS *SO* much easier 10:42:16 anyway ... the problem I'm facing ... 10:42:16 we lost context here somewhere - er... you use what in almost everything ? heh 10:42:41 I include that structures package in nearly everthing I write 10:42:49 ohhh :) 10:43:57 my internet connection is ASL 640kbs through a Cisco 675 router that statically allocates 209.181.43.184 through 209.181.43.190 10:43:58 this would be VERY usefull when i start writing windowing code for terminals 10:44:37 the Cisco has a 10base-T connection to a dedicated eth card on my linux box 10:44:48 k 10:45:05 the router, I think, is 11.0.0.1 and the linux box on that card is 11.0.0.2 10:45:16 k 10:45:33 is 11.0.0.x defined as a private network ? 10:45:43 the linux box has another eth card connected to an 8 port hub ... the address on that interface is 10.0.0.1 10:45:54 yes, I believe so, but if it isn't, I don't care 10:45:59 hehe 10:46:21 the router translates everything to its own IP on the way out, as you can see by my /whois 10:46:48 yes. NAT 10:46:57 good point, though, that would make *SOME* sites inaccessible 10:47:08 in any case ... 10:47:34 the router currently translates everything from outside to be destined for 11.0.0.2 10:48:01 so a web page access would end up going to 11.0.0.2:80 10:48:17 now, I like the tclhttpd web server, a lot 10:48:44 unfortunately, I don't want to run a server written in a scripting language as root 10:49:02 rite 10:49:15 apache I might, but not tclhttpd 10:49:39 tcl does not have a function to change the owner of the current process 10:49:50 at all ? 10:49:59 is there a command-line tool that will let me do so? 10:50:12 there's a command to get the current process ID 10:50:19 but not change the permissions 10:50:50 change the process owner of a specified process ? 10:50:52 not sure 10:50:56 once it's opened the socket for listening, I can exec "whatever tclhttpd" 10:50:57 might be a syscall to do that 10:51:03 btw theres a loadlib syscall 10:51:23 no, given a process ID, I need a command line tool that will change who that process is running as 10:51:34 I don't have acess to syscalls 10:51:47 yes. change ownership of the process 10:51:49 there must be 10:51:51 hmmm ... not sure if I can get to glib or not 10:51:57 there has to be a way because linux istself does it 10:52:07 if a parent dies the child gets owned by init 10:52:15 how would I find that in the help files? 10:52:26 you probably wouldnt 10:52:29 man 2 sucks 10:52:30 what keyword to look for? 10:52:45 I need a command-line tool ... so in man 1 10:52:58 or perhaps man 8 10:53:11 you could ask in #linpeople 10:53:14 or #debian 10:53:22 thanks 10:53:23 if the command line exists they would know about it 10:53:34 if they dont know - i might be able to write it for you 10:53:37 ill investigate 10:53:46 also, I could run it on port 8015, and have the router nat prt 80 to it 10:54:02 but that seems clumsy to me 10:55:08 also, if I relocate my server, which is likely as I move to Seattle, then I get to start over 10:57:48 rm the internal addresses wont change will they ? 10:57:53 just the external route 10:58:15 ok ... 10:58:27 the 10.0.0.1 interface will disappear entirely 10:58:34 (my local lan) 10:58:53 the 11.0.0.2 interface is likly to get a different address 10:59:11 er why ? 10:59:23 (whatever is convenient for the site admin) 10:59:38 oh 10:59:41 if I relocate it, it will be into someone else's network 11:00:42 there are prob lots of young people in seattle with a DSL connection and more than one comeputer who don't know how to set up a linux server and a LAN 11:01:12 if I can find one, I'll move the whole kit and kaboodle to their basement, including the hub 11:01:12 :) 11:01:23 you could make a living setting it up for them :))) 11:01:27 I440r: hi 11:01:29 in which case, I might even be able to keep my current IP range 11:01:44 no, I make my living in Real Estate 11:02:04 I440r: ithink, u could help us implementing our multiuser editor 11:02:17 BUT, I can set them up a lan if they will let me keep my server there at no charge 11:02:56 * MrReach pictures a welded steel box with a power cord going into it 11:03:23 I440r: it could b a good testdrive 4 ur terminfo stuff 11:03:38 * MrReach chuckles and bites his tongue. 11:05:27 onetom actually ive been thinking i will write an editor hehe 11:05:31 just to prove it :P 11:05:32 I440r: we need 2 handle cursor movement 11:05:48 this only works in SPECIFIC terminals 11:05:54 I440r: and change color attribs for phantom cursors 11:05:55 linx, eterm, xterm and aterm 11:06:00 --- quit: I440r ("Reality Strikes Again") 11:06:32 * MrReach looks quizically at I440r's sudden departure. 11:06:47 --- join: futhin (thin@h24-64-174-2.cg.shawcable.net) joined #forth 11:06:53 wb, futhin 11:06:59 --- quit: futhin (Client Quit) 11:07:03 :) MrReach 11:07:09 --- join: I440r (~mark4@11Cust65.tnt3.bloomington.in.da.uu.net) joined #forth 11:07:12 eep! 11:07:14 wtf 11:07:16 heh 11:07:38 * MrReach looks quizically at I440r's sudden departure. 11:07:42 I440r: so? what about it? 11:08:19 could u make a phantom cursor move on the screen? 11:08:21 you know what? this isn't going to work 11:08:29 :( what? 11:08:50 me relocating my current server 11:08:53 every so often my mouse focal point moves one inch to the left of the pointer. i pointed at an icon and double clicked the ICON - and closed xchat:P 11:08:58 oneton of corse i could 11:09:04 THAT is easy! 11:09:23 what is easy? 11:09:35 im not talkin about the hw cursor 11:09:46 but a simulated 1 11:09:53 ah! 11:10:07 yes i know 11:10:08 well, I440r probably wouldn't, but it's not that difficult 11:10:08 u can simulate it by changing the bg color of a char 11:10:33 or just writing an _ character where you want the cursor 11:11:00 it's sounds like they're setting up a cut/paste mode 11:11:01 but that hides the char below the cur 11:11:14 mrreach i will probably have to add that to my curses anyway 11:11:17 and need to highlight a region to be cut 11:11:55 heh, in text mode 11:12:28 this is all so easy tho 11:12:44 I440r: never mind my question ... I just realized that it's simply impossible to relocate this server 11:12:46 ill be doing all this real soon! 11:12:53 why is it impossible ? 11:12:56 I440r: does isforth have case? 11:13:08 no i discourage case statements 11:13:13 but it can be easilly added 11:13:16 I'm 100% dependant on it's services in both my profession al personal life 11:13:28 the problem with case statements is that they compile into if else statements 11:13:32 i use exec: 11:13:37 it runs the laser printer, the color printer, the scanner, the CD burner 11:13:38 what would u recomend instead? 11:13:43 a series of ifs? 11:13:46 all you have to do is make sure that your cases are 0 1 2 3 4 and 11:13:53 exec: foo0 foo1 foo2 foo3 foo4 11:14:14 yes, exec: is I440r's fancy table lookup mechanism 11:14:15 whats the def of exec? 11:14:25 it's just a lookup table 11:14:30 not mine 11:14:35 i ripped that out of fpc heh 11:14:40 c 11:14:46 exec: erm let me look heh 11:14:58 arg! it parses! 11:15:17 then u can use that funky example 11:15:23 at the end of 4th primer 11:15:28 code exec: ( n1 --- ) 11:15:33 shl ebx, 2 11:15:36 add esi, ebx 11:15:41 pop ebx 11:15:46 lodsd 11:15:52 mov esi, [ebp] 11:15:58 add ebp, byte 4 11:15:59 lookup buttons ] b1 b2 b3 [ 11:15:59 jmp eax 11:16:08 I440r: eh, stop it 11:16:24 I440r: if its in asm, its not easily understandable 11:16:30 but it is 11:16:33 ill explain it 11:16:33 I got it 11:16:44 mult TOS by four 11:16:51 : lookup create does> + @ execute ; 11:16:54 mov to temp place 11:16:54 exec: basically adds 4 * n1 to IP. fetches the token at that address 11:17:08 there yu go 11:17:29 I440r: ok, thought so. 11:17:36 exec: is an implied unnest from the word using it 11:17:38 so 11:17:42 exec: xxx yyy zzz ; 11:17:52 executs xxx if n1 is 0 11:17:57 it never gets to yyy or zzz 11:18:31 I440r: because I'm 100% dependant on my server in both my personal and professional life; it runs the laser printer, the color printer, the scanner, the CD burner 11:18:38 and how can i easily convert lkji letters to 0123 ? 11:19:02 what is lkji? 11:19:14 they might be expected keypresses from a menu 11:19:18 key .... exec: left down right up 11:19:20 different options 11:19:22 ok 11:19:29 oh, you mean like "abc" to "012"??? 11:19:41 create options 11:19:43 no, i mean jkli -> 03 11:19:47 no, i mean jkli -> 0123 11:19:50 ," lkji" 11:20:19 : ? option ( c1 ) options count do-some-sort-of-scan-here 11:20:25 why not make the CONSTANTs? 11:20:28 hehe :)) 11:20:31 if exec: blah blah blah then ." bad keypress" 11:21:23 with case, its simple: 11:21:28 key case 11:21:36 but inefficient :P 11:21:46 [char] j of left endof 11:21:53 I440r: if you think about it, you're really just moving all the IF...THEN stuff to another location .... why not leave it in CASE? 11:21:58 [char] k of down endof 11:22:00 ... 11:22:02 endcase 11:22:14 mrreach case statements give one if else for each case 11:22:18 i have one if else 11:22:22 i never use cases in c either 11:22:33 another way to do it is to have a table of 11:22:39 otion, vector 11:22:43 option, vector 11:22:53 scan throu the table till you find a matching option 11:22:54 no, there are IF...THENs in getting the dispatch ordinal ... quite a few of them 11:23:02 and @ execute the vector 11:23:04 and possibly twisted logic 11:23:38 but scanning is a more complex stuff than simple series of ifs 11:23:56 I'm not saying that one method is better, but this is the sort of thing CASE was written for 11:23:56 not if you set it up right 11:24:02 i might just write some words to do this 11:24:07 a more efficient case... 11:24:20 yes i know. but case is inefficient 11:24:26 and i dont like inefficent methods 11:24:44 i would rather add a SLIGHT ammount of complexity and be more efficient 11:25:03 ok, suppose the current command keys ar ^X ^S ^Y and ^Z ... what would your dispatch code look like? 11:25:28 ^A is 0 11:25:31 ^b is 1 11:25:44 so you just have to do the translations 11:25:50 it gets harder when you have to convert 11:26:00 escape ] 65;x;b 11:26:10 escape ] 65;p;44 11:26:14 tha's what I was saying, there's lot's of IF...THENs in either case 11:26:15 etc bullshit 11:26:42 there doesnt have to be :) 11:26:53 show me how you would do it without them 11:27:14 using your handy-dandy dispatch function 11:27:14 would take me a min to write it - but ill do so to show you 11:27:35 i also still cant understand why would it b more efficient defining a scanner word... 11:27:39 i cant stay online rite now tho (but im not copping out - ill write it :) 11:27:56 it also does if many times implicitly 11:28:00 onetom: it is a tool 11:28:01 onetom every if takes 8 bytes 11:28:06 every else takes 16 11:28:09 u just dont write it down many times 11:28:15 the then takes 4 11:28:16 * MrReach sighs in exasperation. 11:28:35 hehe 11:28:37 neway i gtg 11:28:38 and the machine has what? 128MBs of ram and another 128MBs of swap 11:28:39 ??? 11:28:52 and this is code to handle keystrokes?? 11:28:54 if u have many cases, probably your code becomes smaller 11:28:55 mrreach thats NO exscuse for inefficient code 11:29:00 thats what gave rise to BLOAT 11:29:08 but its still faster having ifs 11:29:12 just WRITE the code ... optimise later 11:29:16 ill be writing all this sort of stuff for isforths escape sequence handler 11:29:29 when you get mouse coordinate reports they come to you as escape sequences 11:29:35 so do cursor movements 11:29:39 and function keys etc 11:29:39 yeah, what a nuisance 11:29:52 ya. heh 11:29:56 neway i gtg 11:30:03 you actually end up parsing numbers from the input stream 11:30:10 but ur scanner method is also inefficient - 4 speed 11:30:10 be well, I440r 11:30:18 you too mrreach 11:30:24 hurry up with my assembler :Phehhe 11:30:30 might be back online later 11:30:31 I'm back to work on the Wiki 11:30:38 :) 11:30:44 MrReach: what wiki? 11:30:44 (in TCL) 11:30:50 yumm :) 11:30:51 I'm writing a wiki 11:30:57 --- quit: I440r ("abort" grrrr got guns to clean"") 11:31:00 w what content? 11:31:03 running un tclhttpd 11:31:24 several contents ... real estate, forth, perhaps spirituality 11:31:44 no, my interests are *NOT* ecliectic and scattered! 11:31:55 ah, so writing a wiki sw, not just filling up 1 11:32:03 correct 11:32:08 how could u define a wiki, anyway? 11:32:26 and whats wrong w the existing zope wiki implementation? 11:32:28 I need both access protection and heirarchial page levels 11:32:52 wiki: a system of web pages editable by the readers 11:33:35 two things with zope ... I haven't been able to get it working, and its source is quite opaque to me 11:34:05 lessee, zope has heirarchial page levels? 11:34:24 I should check again, it develops quite rapidly 11:37:25 zope just rox 11:37:38 it has a great security system 11:37:44 are you currently running a zope server?? 11:37:50 and everything u could imagine 11:38:02 u dont have to bother urself w its source 11:38:16 well, I'd have to learn a new language, but python isn't hard to learn 11:38:16 u can manage the whole app through web interface 11:38:20 unlike perl 11:38:29 eh, u dont have 2 learn python 11:38:41 I will to get the databases online 11:38:52 u only have 2 learn some html tags called dtml 11:39:07 what os r u using? 11:39:07 either that, or I have to learn a WHOLE bunch of web-variable thingies 11:39:33 no, u dont have 2 learn that much 11:39:51 the machine I type on is a Win98 machine, the server is a Mandrake-Linux 8.1 11:40:09 and zope refuses working on mandrake? 11:40:27 its been since last summer when I tried to install 11:40:48 tried to install on my Win98 machine, becuase the server was not as capable as it is now 11:42:15 i tried it 2 yrs b4 and started 2 devel an phonelog analyzer in it 11:42:17 from the docs that I read, zope looks awesome, I'll agree 11:42:23 and i liked it very much 11:42:42 are you currently running zope? 11:42:57 probably... 11:43:00 will check 11:43:03 ??? 11:43:09 you don't know? 11:43:12 but i only have 6K bandwidth 11:43:17 cant remember, yes :) 11:43:29 heh, well, you're not using it much, then 11:43:36 yeah, its running 11:43:49 might as well turn it off 11:43:52 i ll give u the root acc on it, right? 11:44:01 erm ... if you wish 11:44:24 port 80? 11:44:45 port 9673 11:44:47 try it 11:45:52 yep, it came up 11:45:54 u can fuck it up bravely 11:45:57 i dont care 11:45:59 heh 11:46:08 like I said, you might as well shut it off 11:46:08 there is nothing important in it, iguess 11:46:25 I'll not mess with existing stuff 11:46:34 (I hope) 11:46:37 :)) 11:46:53 right, but dont b afraid to do anything w it 11:46:54 user/pass ? 11:47:05 oh, there it is 11:47:23 anyway thats a former generation of zope 11:47:31 this 1 is included in potato 11:47:31 what year? 11:47:35 1.5 11:47:39 ok 11:47:40 cant remember 11:47:54 but the 2.x series knows much more, tho 11:48:08 its interface looks similar 11:48:20 and the security system is also the same 11:48:22 brb 11:48:33 k 11:55:21 back 11:58:52 which database server does zope prefer??? 12:05:28 what is the hardware configuration of the machine that I'm accessing? 12:13:50 onetom: hello? 12:13:53 sorry 12:14:12 probably postgresql is the most prefered 12:14:26 ROOT@ex:~> cat /proc/cpuinfo 12:14:32 model name : Celeron (Mendocino) 12:14:33 stepping : 5 12:14:33 cpu MHz : 501.145 12:14:33 cache size : 128 KB 12:14:36 bogomips : 999.42 12:14:51 ADSL 384/64kbps 12:15:23 and im downloading videos @ the moment 12:15:35 ok, thanks 12:15:51 but i can defer downloading 12:15:53 128 MB ram? 12:15:58 no, don't worry 12:16:07 I'm back to zope.org now 12:16:09 ssh in 12:16:24 as guest:x and just explore it urself 12:16:30 ok 12:16:56 and dont mess up the homes of the others 12:17:02 heh 12:17:04 ;) 12:17:12 pointless 12:17:28 although it's sometimes interesting to see what type of porn they like @:^> 12:17:40 :)) 12:17:44 i dont have any 12:18:02 not on the server @ least 12:18:13 * MrReach laughs. 12:18:16 only on cds ;) 12:18:40 tho, i have lotsa mp3 @ /home/tom/mp3/common 12:19:09 heh, that'll choke your connection if I try to get some 12:19:10 im downloading martial art videos, anyway 12:19:34 but they r miserable :-/ 12:19:44 oh? why? 12:20:05 martial arts r not a good material 2 make a show from 12:20:18 they r just kicking a lot 12:20:22 oh! 12:20:30 I see what you're saying 12:20:35 it seems nonsense 12:20:43 thought you meant the mp3s were miserable 12:20:55 its not acrobatics 12:21:05 not real fighting 12:21:11 just a stupid show 12:21:15 heh 12:24:46 I've been experiencing an odd error in Linux, perhaps you can enlighten me 12:25:04 when I first boot, dmesg works as advertised 12:25:32 however, it later appears to be filled with logged packet errors from the firewall 12:25:34 advertised loll 12:25:45 can you explain how to prevent this? 12:25:54 hm, dont know 12:26:07 np, then 12:26:13 probably 12:26:15 just odd, and kinda irritating 12:26:29 u have a logging flag turned on 12:26:47 in ur filtering rules 12:26:49 like: 12:26:58 DENY all ----l- anywhere anywhere n/a 12:27:26 im not sure, but its pretty suspicious 12:27:47 yes, the filters log errors via either syslog or klog 12:27:56 but how does that end up in dmesg? 12:28:19 does dmesg just tail one of the log files? 12:28:46 this machine is constantly hacked 12:28:56 no 12:28:56 I don't worry about it anymore 12:29:18 dmesg is a user-space logger independant 12:29:26 ring buffer for kernel msgs 12:29:39 oh! ok, that explains, then 12:29:48 so the kernel could log things during bootup, when 12:30:12 theres no user space processes running 12:30:47 actually dmesg is the displayer of this ringbuffer 12:31:19 what sw sets up the firewall 4 u? 12:31:32 ah, probably u dont know, if u have a mandrake... 12:31:42 hmmm ... trying to remember 12:31:48 I think I set it up manually 12:32:10 dont think so... 12:32:47 if u would set it up manually i probably wouldnt have added the -l switch to the ipchains command line 12:33:10 do an rgrep -- -l /etc | less -Si 12:33:21 I edited firewall.rc with joe 12:33:32 then say /ipcha in less 12:34:09 aha, but there must b some other - default - rule setup in mandrake, iguess 12:34:29 but make a cruise 4 it 12:34:47 ooops, 2.4.x kernel 12:35:47 so it's iptables 12:37:23 yummm :) 12:37:51 sorry, but ive never ever tinkered w iptables yet 12:37:56 it logs broken packets, which is appropriate 12:38:15 no even w ipchairs and other ipfurniture like that :) 12:40:59 it's shouldn't log? 12:41:28 ok, there's LOTS of log entries for 10.0.1.255 12:41:42 which is the segment between the router and the server 12:41:57 coming FROM the router 12:43:14 hmmm ... will have to reread the networking manuals 12:43:24 it's not a big deal, one way or the other 12:46:18 Zope looks interesting ... can't seem to find any RPMs for 2.4 kernel, though 12:47:09 RPMs for 2.4 kernel ??? 12:47:38 zope site says "for linux2" 12:47:39 what the heck should it do w the kernel? 12:47:58 not sure ... looking through readmes now 12:48:07 yes, probably that refers to glibc2.x 12:49:03 but its easy 2 install it from source 12:49:26 probably u dont even have 2 compile anything, coz its been written in python 12:50:05 (alright, probably it compiles the py's into pyo's 12:50:07 ) 12:50:19 heh 12:53:06 do you know the difference between PCGI and FastCGI ??? 13:00:30 cant remember 13:00:37 ok 13:00:39 but the official cgi doc on the net 13:00:45 explains it quite well 13:01:17 it would only take 10-15 mins to find the doc and determine the diff ... but it's not really important to me 13:01:31 thought you might know offhand 13:01:32 probably i can find it faster 13:01:43 well, I can FIND it 13:01:50 u should know, i hate web programming :) 13:02:06 but it takes a few mins reading to determine the DIFFERENCE between the two protocols 13:02:34 so do I, actually 13:02:42 http://www.zope.org/Documentation/Guides/ZAG-HTML/ZAG.3.3.html 13:02:47 that's why I'm getting into real estate 13:03:01 the url is funny ;) 13:03:09 its a short explanation anyway 13:05:05 thank you 13:15:02 --- nick: MrReach -> MrGone 14:27:09 --- join: SoapSleep (flop@210-54-195-21.dialup.xtra.co.nz) joined #forth 14:30:24 --- nick: SoapSleep -> Soap- 14:43:31 --- quit: rob_ert ("New kernel, brb.") 14:44:14 cool! zope is now running on my Linux server 14:46:43 * MrGone prepares to sped the rest of the day reading documentation 14:53:01 --- join: rob_ert (~robert@h173n2fls33o898.telia.com) joined #forth 14:55:24 MrGone: congrat :) 14:55:48 MrGone: there is a zope book on zope.org 14:55:55 --- nick: MrGone -> MrReach 14:56:02 I'm reading that now 14:56:04 MrGone: its the most comprehesive doc 4 zope 14:56:11 (from the server I just set up) 14:56:15 ok, thats the way 2 go 14:56:21 :) 14:56:48 I notice that ZWiki has had no development since Nov of last year 14:56:56 and what do u think 14:56:56 interesting 14:57:05 snazzy system 14:57:05 coz it worx :) 14:57:09 doesn't fork into the background properly, though 14:57:12 ? 14:57:23 what forks not 2 bg? 14:57:36 the Zope server 14:58:12 occording to the docs, doing ./start as root will cause it to change its own user to "nobody", and then run in the bg 14:58:25 it didn't do that 14:58:36 * MrReach shrugs. 15:01:40 aha... me cant help. i always used prepackaged zopes 4 debian 15:02:07 but u can explore it on my system, if it will b really important 4 u 15:02:32 well, it's something that needs fixing if I'm going to use it regularly from init scripts 15:02:53 it's probably just a command line switch ... ./start -bg 15:02:57 or something 15:03:09 but its not really important while u dont decide weather u use it or not 15:03:18 yep 15:23:40 --- quit: Speuler ("using sirc version 2.211+KSIRC/1.1") 15:24:00 heh, Zope supports SOAP 15:32:22 --- join: futhin (thin@h24-64-174-2.cg.shawcable.net) joined #forth 15:32:32 Hello :) 15:32:45 hello 15:32:50 hihi, futhin 15:32:56 i was just reading the log 15:33:14 and i wanted to say that case is inefficient :P 15:33:33 a hash table is more efficient, i used to think there were implicit ifs, but there isn't.. 15:33:35 it's a keyboard handler ... who cares? 15:33:44 hash table = lookup table = exec: .. 15:33:51 ok, that fine, but ... 15:34:07 how do you get from keystroke to hash table ordinal??? 15:34:42 MrReach: we should tell him hes supported by zope 15:34:46 hi futhin 15:34:57 no, onetom asked i440r about isforth having case, and i440r brought up exec: 15:35:06 or is there a hash table entry for every possible keystroke?? 15:35:31 futhin: the implicit if is in the scanning word 15:35:32 exec: is a shorthand method for creating execution tables 15:35:39 inside until 15:35:41 i'm not talking about the keystroke handler 15:35:43 which are a specialization of tables in general 15:36:15 but that is what onetom is writing, unless I'm mistaken 15:36:48 11:12:56 I440r: does isforth have case? 15:36:48 11:13:08 no i discourage case statements 15:36:57 i didn't think they were talking about the keystroke handler 15:37:03 and hash table =/= lookup table 15:37:04 when they were talking about case & exec: 15:37:13 that's true, onetom 15:37:24 hash is a specially ordered table 15:37:58 ok, IMO, exec: (and lookup tables in general) are an excellent solution for compact (read 'sequential') data 15:38:05 i'm generalizing.. what i should've said is, lookup table & hash tables & whatever tables fall under the datastructure category 15:38:16 and data structure is much much better than logic (if then else) 15:38:32 but if the data is SPARSE .... lookups don't fare so well anymore 15:38:44 but we cant replace logic w table here 15:39:02 coz we have to convert keycodes to indexes first 15:39:13 i wasn't talking about the keystroke handler, but i realize you guys were 15:39:18 onetom: what, exactly, are you writing that requires the case statement? 15:39:28 i wasn't talking about the keystroke handler, but i realize you guys were 15:39:31 let my show: 15:39:46 shut up 4 some sex plz 15:39:51 ;) 15:39:56 key case 15:39:56 showertime! 15:40:01 grrrrr 15:40:02 futhin: I agree, if you can avoid CASE by using a lookup table, that is probably the better solution 15:40:03 ;) 15:40:15 key case 15:40:30 [char] j of left endof 15:40:38 [char] k of down endof 15:40:45 [char] l of right endof 15:40:51 [char] i of up endof 15:40:54 endcase 15:41:01 thats it 15:41:26 a non-vi compatible cursor movment routine ;) 15:41:49 erm, you *COULD* use a lookup table for those, since they are all sequential 15:42:03 does that case statement create IF THEN or IF ELSE THEN ?? 15:42:05 tell me the code 15:42:33 futhin: CASE uses the 0bra or ?bra primitive internally 15:42:43 table key jkli->0123 cells + execute 15:43:00 @ execute 15:43:17 does [char] read ahead ?? 15:43:25 so tell me more about the jkli->0123 word 15:43:39 : foo ( key -- ) [char] i - CELLS TABLE + @ EXECUTE ; 15:43:41 futhin: yes, [char] parses 15:43:45 ok 15:43:56 and, sure, i know parsing is evil also :)) 15:44:01 why are you using jkli for arrow keys? and not the actual arrow keys? :P 15:44:21 probably CTRL-ijkl 15:44:23 coz they give back strings, iguess 15:44:38 ESC [ 15:44:45 heh 15:44:55 onetom: did you follow my def for foo? 15:45:18 sure 15:45:25 (no bounds checking, ooops) 15:45:48 but whats that i ? 15:46:01 : whatever 15:46:01 key 15:46:01 [char] j if left exit then 15:46:01 [char] k if down exit then 15:46:01 [char] l if right exit then 15:46:01 [char] i if up exit then ." fool! use jkli!" ; 15:46:15 i prolly messed it up 15:46:17 aaaaah :))) 15:46:18 but you get the idea :P 15:46:23 i-j-k-l are all sequential ... subtracting 'i' leaves 0-1-2-3 15:46:44 sure sure 15:46:52 but its just a coincidence 15:46:58 asdw 15:47:09 lies :P 15:47:10 CELLS scales by two bytes or four, depending on your architecture 15:47:12 qwe2 15:47:14 coincidence? lies :P 15:47:33 onetom: agreed, the particular situation allowed it to work 15:47:33 esdf is sequential ;) 15:47:53 lolll 15:47:59 i'd use arrow keys if i could 15:48:01 up arrow, etc, would mangle that method 15:48:13 futhin: r u hunting such seq keygroups? 15:48:18 never really liked games that required me to use other keys besides arrow keys 15:48:24 futhin: just like me 15:49:36 incidently, if I were writing a key handler, I'd reserve 0-127 for normal and control keys, and translate the escape code sequences to ints >127 15:49:39 anyway, we should try to do some interface for our editor 15:49:50 so we could start experimenting w it 15:50:52 futhin: what r u doing now? 15:52:40 reading the log with my towel in hand, ready for showertime! 15:53:22 good 15:53:43 and what would u do after the shower? 15:53:46 heh, took my shower in the middle of stalling zope 15:54:08 try to work on the postscript thingie 15:54:51 ah, uve already told that u wont have 2 much time 4 other things 15:55:04 can i help u in the ps thing? 15:55:14 dunno 15:55:16 can you? :P 15:55:36 probably 15:55:37 do you know much postscript? 15:55:46 not yet ;) 15:56:03 who does? don't memorize postscript, use the manual 15:56:04 but i learn damn fast :P 15:56:17 i don't know how i could break up the task 15:56:27 actually :P 15:56:36 so u dont have any challanging problems 2 solve? 15:56:39 what is the design objective??? 15:56:45 u r just drawing? 15:57:30 i should also do my job, but i ll b ready in near future 15:57:36 there's two parts really. a program to take input and put it into the bottom of a copy of the postscript file with the right commands 15:57:41 and then there's the postscript file 15:57:43 onetom: what is your job? 15:57:45 which has most of the code 15:57:48 for drawing the stuff 15:57:53 so id love to continue developing the multiuser editor 15:58:18 MrReach: my job is feed the pigs and dont touch the buttons ;) 15:58:33 futhin: so you have a drawing program that outputs postscript??? 15:58:42 * MrReach laughs. 15:58:43 mrreach: no 15:58:58 mrreach: all the drawing stuff is in the postscript file 15:59:09 in the header? 15:59:19 header? 15:59:27 where does the data come from that is different with each print job? 15:59:37 futhin: probably its really easier 2 generate the ps file w forth 15:59:44 are you parsing postscript or producing it? 15:59:52 if u dont know ps , just like we ;) 16:00:10 MrReach: he produces 16:00:25 futhin: do u know the forth cgi example? 16:00:29 mrreach: ppl will input numbers, these numbers will get put into the bottom of the postscript file, and then call the postscript code.. 16:00:53 : cr ." " ; 16:00:55 ok, how do you receive the numbers? 16:00:56 : cr ." " ; 16:01:07 : cr ." " ; 16:01:11 : cr ." <6BODY>" ; 16:01:12 ... 16:01:30 then u can parse a bare html w forth 16:01:43 heh, spec calls for : cr lf ." <6BODY>" ; 16:01:53 and can "embedd" 4th code between the "tags" 16:02:13 like: 16:02:19 basically, a copy of the stock postscript file will be made, and the input will get put into the bottom for example: the person types 72.25 and 24.25 at the input program, and then "72.25 inches 24.24 inches box " gets put into the bottom of the postscript file 16:02:52 ." 4th CGI example: " 3 5 + . 16:02:54 i'm doing all the drawing stuff in the postscript file i think.. 16:03:04 and your prog is the thing putting it there? 16:03:32 naw, i'll already have the postscript file, i'll just make a copy, rename it, and append the input with postscript code at the bottom 16:03:52 i think it's easiest this way.. 16:03:54 ok, that's what I asked ... where does the input come from? 16:04:01 the input program 16:04:13 you're obviously writing a print filter of some kind 16:04:15 i'll just code up a forth program or maybe some other language 16:04:25 and the person will be asked questions 16:04:29 * MrReach gives up. 16:04:31 and will type in the numbers 16:04:37 ah! 16:04:42 heh 16:04:44 ok, now we're getting somewhere 16:04:50 what about tcl/tk? 16:05:05 this input is done in forth, from the keyboard? 16:05:13 onetom: perhaps? a nice gui for the input program? 16:05:18 aha 16:05:36 its EZ to wrap up 1 16:05:40 in tcltk 16:05:55 it has a very nice filehandling interface 16:06:01 just like the 1 in gforth 16:06:07 heh, if you do it in tcl/tk, the simple text input program will keep growing until it a full-fleged CAD program 16:06:22 and the interface design is also a mere copy of the examples 16:06:32 the input program: lets ppl type in measurement numbers & name of file to save out postscript file as. and then appends the input into a copy of the postscript file. 16:06:34 in any tcltk book 16:06:37 from 16:06:50 ok 16:07:04 ok 16:07:10 well, I'm starting to see how to break your task into parts 16:07:19 download tcltk for windows! 16:07:27 all the drawing code is inside the postscript file.. 16:07:43 *CAN* be inside the postscript file 16:07:48 i will make u a bare example 16:08:11 what else should u do now? 16:08:19 tcl doesn't handle keyboard input so well 16:08:21 what is not finished yet? 16:08:30 MrReach: think so? 16:08:37 I've had probs with it 16:08:49 MrReach: like what? 16:08:54 although it might be just because I'm lame 16:09:17 getting a single keystroke from stdin in TCL was very problematic 16:09:40 can that be overcome by using fconfig to set buffering to "none"? 16:10:14 futhin: I'm starting to see how to break your task into parts 16:10:15 hmmm, but now we wont read anything from stdin 16:10:48 beg parden? 16:11:08 futhin: would u reveal 2 us the current state of yr prj? 16:11:11 i'm going to upload the file 16:11:21 I also had a *HELL* of a time getting tcl to set the line discipline to my modems 16:11:27 futhin: and could u show us some specification? 16:11:58 MrReach: serial comm & modem handling is always a pain in the ass 16:12:09 MrReach: in any kind of envs or langs 16:12:38 heh, worked pretty good with quickbasic on dos with a third party driver 16:12:50 yay :) 16:12:55 ages ago 16:13:09 onto onetom's comp... /home/guest/main.ps 16:13:14 uploaded it now 16:13:23 don't really have any specifications in electronic form 16:13:24 it also worked pretty well from pascal w asm inside it :)) 16:13:32 i have papers 16:13:40 but not in electronic form 16:13:46 got a scanner? 16:13:47 then type them in! 16:13:50 heh 16:14:04 it's mostly pictures 16:14:06 hell, type them here, and log it 16:14:12 @ least let us know what r the name of the input data fields 16:15:05 heh .... 16:15:07 You will learn how to create and 16:15:07 manage Zope resources by building a web site devoted to tracking Elvis sightings. 16:15:15 that works, thats nice 16:16:10 futhin: show us the input spec! 16:16:12 brb 16:16:15 color: length: width: name of file: track type: 16:16:23 that's the most basic 16:16:26 there's some more input 16:16:38 like a box for typing out notes 16:16:42 that get put into the postscript file 16:17:03 that get printed out with the schematics 16:17:19 schematics? 16:17:25 have both of you checked /home/guest/main.ps 16:18:24 I'm not allowed to log in 16:18:33 and don't remember how to do passwords in URLs 16:18:49 heh 16:21:10 ugh 16:22:07 mrreach: see the pm? 16:22:12 futhin: hey!!!!! 16:22:19 MrReach: hey!!!!!! 16:22:22 heh ? 16:22:41 ssh try:x@hermantom.homeip.net ;) 16:22:49 just for fun :) 16:23:11 lol 16:23:48 ;) 16:24:21 onetom: check main.ps /home/guest/main.ps 16:24:33 u can say s" bash" system if u wanna get a shell 16:24:40 ah :) 16:25:08 nothing has changed in main.ps 16:25:15 it's leet to type bye to exit 16:25:34 onetom: i know 16:26:00 see how i'm doing all the drawing code inside it though? 16:26:06 it hasn't progressed very far 16:26:17 probably our mued (short 4 MultiUser EDitor) will work like this 16:26:20 but i have some arrow code 16:26:39 onetom: i was thinking of calling it coedit 16:26:47 :) 16:27:00 doesn't matter 16:27:08 if u say screen -x as guest 16:27:23 u can always c what am i doing publicly 16:28:44 k, lets call it coedit 16:29:30 doesn't matter 16:29:36 i was putting remote-control.fs into a directory 16:29:44 so i spent like 1 minute coming up with a name 16:30:43 anyways 16:30:44 anyways 16:30:46 onetom 16:30:51 there is no main.ps 16:31:08 ftp://guest:x@hermantom.homeip.net/ 16:31:18 which subdir? 16:31:34 MrReach: /home/guest/main.ps 16:31:40 ah! thanks! 16:31:43 ooor 16:31:58 i was looking in /pub/guest 16:32:04 ah :) 16:32:13 http://guest:x@hermantom.homeip.net/~guest/main.ps 16:32:21 ahhh 16:32:28 http or ftp ? 16:32:34 if we work inside the /home/guest/www dir 16:32:41 got it 16:32:43 thanks 16:33:24 and we should, coz this way everybody can access our stuff under the guest acc 16:33:38 http://guest:x@hermantom.homeip.net/~guest/main.ps doesn't work 16:33:46 sure 16:33:59 thats what im talkin about 16:34:14 heh 16:34:15 ok 16:34:19 we should store all the stuff under /home/guest/www 16:34:32 ok, that's what I thought I would see 16:34:49 a couple of defs to draw a line and a box 16:35:16 yup, thats right 16:35:22 --- join: I440r (~mark4@11Cust253.tnt2.bloomington.in.da.uu.net) joined #forth 16:35:28 Hi :=) 16:35:31 you see that i'm putting all the drawing code into the postscript file 16:35:44 heh 16:35:48 futhin: those defs are so short that there is no reason not to output them from the forth program 16:36:12 sure i can, but why not just append the input into a copy ? :P 16:36:31 portability is why 16:36:42 heh 16:36:44 portability?!? 16:37:02 otherwise, it's another file to pack around, and you have to know where the input file is (may not be in current directory) 16:37:22 an input program, and a postscript file.. input gets appended to postscript file. it's simple 16:37:33 i want it to be somewhat "maintainable" 16:37:45 ok, I would suggest making it even simpler by not using the input file 16:37:59 by not using the input program you mean? 16:38:04 oh i got a qeustion mrreach 16:38:28 encode the postfix header into the forth program itself 16:38:32 fire away 16:38:37 im going to be doing this windowing system in forth. each window will have a "window" word so you can write into it etc (like a handle) and a buffer 16:38:53 ok, is this terminal or xwin??? 16:38:55 should the buffer contents be part of the turnkeyd executable ? 16:38:58 terminal 16:39:12 huh? why would it be? 16:39:34 this is what i was thinking of 16:39:48 every time you create a new window you will specify the width and height 16:40:02 that really doesn't make sense, because the terminal will be different sizes on different invocations 16:40:17 terminal will. window wont 16:40:30 oh, good point 16:41:07 every time you allocate a window i was going to put the buffer at the top of list space and move the "top of list space" pointer down 16:41:10 unless there was compelling reason not to, I would allocate the buffer mem at run time 16:41:33 I440r: what docs do u have about terminal esc seqs? 16:41:40 ok, are you talking about Z-order ? 16:41:51 no 16:42:02 this is nothing to do with where they are on screen heh 16:42:04 ok 16:42:11 i createn a window 16:42:13 I440r is a *REAL* coder, therefore I assume he learns his escape sequences from /etc/termcap 16:42:16 i then fsace 16:42:23 fsave 16:42:36 ok 16:42:37 mrreach that and the manuals for the different terminals :) 16:42:39 \now 16:42:43 when i run again 16:42:57 the first thing isforth does is relocate all headers up into head space 16:43:09 it will now have to re-allocate all defined window buffers 16:43:18 so ill need to have a "window" chain 16:43:45 and go thru the chain allocating 16:43:56 ok, but I don't see how having to relocate the headers has anything to do with saving a set of windows 16:44:09 that seems reasonable 16:44:21 yes it does 16:44:26 heres the sequence of events 16:44:31 run isforth 16:44:37 it sys breaks out to 1 meg 16:44:52 it then takes the end of LIST space to top of memory distance 16:45:01 divides that in 2 and calls that the start of head space 16:45:03 end of list space 16:45:10 ok 16:45:11 it then relocates all headers out to this location 16:45:13 so. 16:45:28 the user might make it allocate MORe or less on load 16:45:38 it will be a user settable thing 16:45:55 ok, how does this affect allocation of window buffers? 16:46:44 I don't see how it would, regardless of whether they were in the dict or in allocated mem 16:47:27 because windows will be allocated at the top of LIST space 16:47:44 which is at address xyzzy now but at address abcde after reload :P 16:48:19 CREATE winbuf winbuf-size ALLOT 16:48:28 er thats what i was asking 16:48:30 BUT 16:48:42 that means that the window coontents are now a part of the executable 16:49:05 i.e. if you define a few 80x25 screen buffers you have a 28945982659823642 gig executable :P 16:49:05 heh 16:49:08 OR if you do it at runtime, in whatever init word ... winbuf-size ALLOCATE THROW to winbuf 16:49:36 winbuf then being a global VALUE 16:49:53 or variable, I don't care ... 16:50:06 ... in whatever init word ... winbuf-size ALLOCATE THROW winbuf ! 16:50:45 I don't understand where either of those methods would cause a prob with the executable 16:51:01 although, putting them in the dict would tend to make the exe larger, as you said 16:51:19 still no biggie, IMO, but you know how wasteful I am 16:51:27 large executables is something im doing my damndest to prevent heh 16:51:46 ill waste space too if its appropriate 16:52:06 ill use whichever resource needs to be used to give the best solution 16:52:34 I would allocate whatever buffers I needed in the init word, and then fill then with whatever default text they needed 16:52:42 default 16:52:48 default is the init word 16:52:56 futhin: your task ... 16:53:08 1. rudimentary keystroke handler 16:53:19 speed should be more important than size, but understandability should be more important than them all :P Oh, and simplicity is the most importantest! :) 16:53:21 2. data accumulation/buffering 16:53:52 3. data conversion to that needed by output file (if any) 16:54:00 4. data output 16:54:11 [end] 16:54:40 yes, well, i was working on 3 :P 16:55:11 I440r: here's the tradeoff, you either store the buffer in the exe, or you spend extra clocks allocating them and filling them with initial data 16:55:22 I'd do the latter, personally 16:55:35 the extra clocks are a one time shot 16:55:39 at boot up 16:55:43 yep, at the biginning 16:55:55 this is the way i was leaning 16:55:59 but wanted your input 16:56:00 hrm 16:56:05 how about maing it an option ? 16:56:12 or is that featuritis heh 16:56:34 probably unnecessary 16:56:41 if it isn't an important feature 16:56:43 you will have to store the default text somewhere, probably in c" strings ... but it should still be substantially smaller than the whole buffer 16:56:45 don't give them a choice 16:57:17 some windows have very small default text 16:57:28 like an editor only has some status info in it 16:57:29 if the user doesn't know what the option is ... if it doesn't affect them directly ... don't give them the option 16:57:57 yep 16:58:26 but help files have alot 16:58:33 but then. they can be in "help files" heh 16:58:38 yeah 16:58:55 you wouldn't build preallotted buffers for entire help files 16:59:09 no 16:59:31 but any windows created at fsave time will exist at the next load time 16:59:38 in fact, you might even want to put the help files on disk so that people can expand them 16:59:41 but i can create 29858296492 windows now and just quit and they aqre gone heh 16:59:55 right 17:00:19 and DON'T forget to reinit them at load time 17:01:11 ya 17:01:30 ill keep all allocated windows in a chain and a pointer to the first window 17:01:41 and allocate the memory thats needed for each 17:02:00 are you talking the multi-user editor here??? 17:02:07 or AN editor? 17:02:59 hello? 17:03:06 sarah brady on GUN RELATED charges!!!! 17:03:18 seems she illegally baught a rifle in delaware!!! 17:04:02 oh for heaven's sake ... and Tanya Harding got evicted from her apartment in Portand las fall ... who cares? 17:05:14 sarah brady is "hadngun control inc" 17:05:16 um 17:05:28 wants to take ALL our guns away 17:05:31 oh! that's a GOOD punchline!!!! 17:05:47 she was probably trying to prove a point 17:05:58 that anyone could go out and buy a gun 17:06:03 what am i supposed to do, a tcltk program or a forth program? what about a nice gui for the ppl to type input into? 17:06:26 the law is actually a little stupid. buy a gun and then give it away - your ok. buy a gun TO give away and you are breaking the law 17:06:30 delaware law that is 17:06:32 futhin: which language do you know better? 17:06:36 forth 17:06:39 but i want a gui too 17:06:48 use what you know 17:06:49 now see, if i was doing it all in postscript 17:06:54 then i could do the gui in tcl 17:07:03 and it would simply append onto the postscript file 17:07:14 aha 17:07:28 theres no task left 4 forth 17:07:30 i looked at win32forth, but didn't seem easy to figure out the gui, but maybe it is easier than i think? 17:07:31 sad :) 17:07:34 heheh 17:07:41 futhin: give the forth program the option of being exec'ed in a pipeline 17:07:51 tcltk is the easiest 17:07:52 well i'm not concerned about the language, i'm more concerned about getting the job done :) 17:08:04 then use the language you know 17:08:32 then, go ahead and do the following: 17:08:35 Zimmer made no concession to easing the construction of GUIs ... it's raw windows code 17:08:51 1, define the output of the gui 17:09:00 tk is rediculously simple to make guis 17:09:16 i advice u that it could b a 4th source like 17:09:30 123213 constant field1 17:09:34 13434 constant field2 17:09:50 : annotation s" baafjnerijgne" ; 17:09:56 ... 17:10:03 futhin: this is to run on a Windows platform??? 17:10:06 ooh, gotta go, for a second 17:10:06 yes 17:10:08 it's windows 17:10:21 a tcl gui and forth, would that be best? 17:10:27 hmmm ... why not just extend win32forth a little? 17:10:33 then filter it through a forth 17:11:16 you'd get input that looks a little like ... 123 456 wide line ... 123 456 narrow box ... write thefile.ps 17:11:16 well, i think tcltk is just a tale 17:11:34 probably win32forth is more complicated 17:11:55 "just a tale" ... ??? 17:12:06 oh - mrreach - what lisense are you going to put on your assembler ??? :) 17:12:32 probably the same as the structs file I sent you ... LGPL 17:12:36 its as EZ 2 understand as understanding a tale 17:12:42 yes 17:12:49 and its also as chatty as a tale 17:13:43 wifey is home, I'm like to disappear shortly 17:13:54 :) 17:13:57 have fun 17:14:50 hehe 17:18:27 --- quit: rob_ert ("Good ni...*yawn*...zZzzZ") 17:45:39 im outa here - gotta go CODE!!! :) 17:45:54 be well 17:45:59 :) 17:46:07 ill code my "case" replacement :) 17:46:12 show u next time im on 17:46:15 --- quit: I440r ("Reality Strikes Again") 18:18:39 so tcl/tk gui and forth program that generates a postscript file? :P 18:18:47 3 languages! fun fun ;) 18:51:17 question: can the tcl/tk package thingie that i just downloaded (8.3.4) produce executables separate from the package ? 19:34:49 --- join: SoapSleep (flop@210-54-106-130.dialup.xtra.co.nz) joined #forth 20:02:48 --- quit: Soap- (Read error: 110 (Connection timed out)) 22:43:35 --- join: Soap` (flop@210-54-106-130.dialup.xtra.co.nz) joined #forth 22:43:35 --- quit: SoapSleep (Read error: 104 (Connection reset by peer)) 23:00:10 --- join: SoapSleep (flop@210-54-106-130.dialup.xtra.co.nz) joined #forth 23:01:43 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 23:59:59 --- log: ended forth/02.03.22