00:00:00 --- log: started forth/05.02.24 00:05:51 --- quit: Raystm2 (Read error: 104 (Connection reset by peer)) 00:06:40 --- quit: rastm2 (Read error: 104 (Connection reset by peer)) 00:07:37 --- join: rastm2 (~rastm2@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 00:07:50 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 00:10:58 :) 00:17:04 --- join: Herkamir1 (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 00:17:04 --- quit: Herkamire (Read error: 54 (Connection reset by peer)) 00:17:21 Raystm2: how is qemu holding you up from trying herkforth? 00:20:32 learning it -_0 please don't hit me. 00:20:44 just havn't taken the time to learn it yet 00:21:32 you don't have to learn anything about qemu 00:21:38 just get it installed 00:21:45 (or is that what you're working on?) 00:21:52 --- nick: Herkamir1 -> Herkamire 00:22:00 --- mode: ChanServ set +o Herkamire 00:22:34 herkforth-bin comes with a script that calls qemu correctly 00:24:29 just run my script. it's called "run" iirc 00:24:29 so just do: ./run 00:29:03 i see. 00:29:30 ive downloaded it and have never unpacked the qemu -- was gonna read about it but got supreamly distracted . 00:29:49 but since it's just you and me up right now :) 00:30:34 ahh, haven't installed qemu. that you will need to do 00:30:40 heh heh 00:31:10 are you in the freeoszoo? 00:31:48 no 00:31:49 i' mean do i need to answer yes to the install question "Would you like to download an OS image from freeOSZoo?" 00:31:50 okay 00:31:51 :) 00:32:01 oh. no 00:32:11 thanks for saving me :) 00:33:10 what distrobution of linux did you install? 00:33:16 okay qemu installed heading for your site. 00:33:45 I got the windows version of qemu on XP but linux is Debian on the pentium1 00:34:14 rather i did linux ? 00:34:26 will apt-get qemu do it? 00:35:00 yeah, linux. 00:35:04 apt-get should work 00:35:09 k 00:35:11 doing 00:35:59 herkforth-bin comes with a couple tiny, tiny linux programs to setup and restore (respectively) the terminal settings 00:36:06 couldn't find :( qemu 00:36:16 cool 00:36:23 apt-get doesn't have qemu? 00:36:51 read the pack list and build a dependancy tree. 00:37:47 oh maybe i need more than just qemu as an argument for install. 00:37:48 huh? 00:38:16 oh sorry 00:38:46 out put from command # apt-get install qemu 00:39:01 Reading Package Lists ..... Done 00:39:13 Building Dependancy Tree ..... Done 00:39:31 E: Couldn't find package qemu 00:39:39 bummer 00:40:11 maybe there's no debian package for it. lemme see if I can find one 00:40:17 k 00:40:20 thanks 00:41:30 I wish I knew more about debian. 00:41:41 there is a package for qemu, but not in the "stable" software category 00:42:11 we might need to tell debian that it's ok to install stuff in the "testing" or "unstable" categories 00:42:24 can i dl it in with Lynx and just untar in the '/' direct like it says on the site? 00:42:35 ah 00:42:37 sure 00:42:39 i get it 00:43:18 or maybe just download the package? 00:43:20 wget http://ftp.us.debian.org/debian/pool/main/q/qemu/qemu_0.6.1-1_i386.deb 00:43:27 it's downloading now 00:43:29 thanks 00:43:41 tho i don't know where it's going :) 00:43:56 * Raystm2 really new to linux 00:44:10 debian packages use something other than tar to install them 00:44:19 and I'll need to read the man page for tar but i need to do all this anyway 00:45:01 I don't know what it's called 00:45:06 ah okay lynx gives me the opertunity to put it anywhere ai want 00:45:44 okay downloaded yeah :) 00:45:54 what are you downloading? and what's the file name ending? 00:46:23 k it's qemu-0.6.1-i386.tar.gz 00:46:38 in my home directory currently 00:48:16 oh i should have said gzip instead of tar? rigth? 00:49:37 tar -xzf qemu-0.6.1-i386.tar.gz 00:49:48 (the z means ungzip it first) 00:50:00 okay thanks i see 00:50:19 doit right there in the home dir? 00:50:33 don't ya just luv newbs 00:50:33 wherever 00:50:36 okay 00:51:21 what's in it? 00:51:21 executed 00:51:27 all done 00:51:31 let's see :) 00:51:45 oh oh, I see 00:52:10 wow, it comes with system-ppc cool 00:52:24 ok, you'll probably want to install this as root in the / directory 00:52:27 so: su 00:52:30 then: cd / 00:52:45 then: tar -xzf ~/qemu-0.6.1-i386.tar.gz 00:53:01 drrr 00:53:05 last command is wrong 00:53:14 what's your username? 00:53:22 stick that in after the ~ 00:53:24 rastm2 00:53:28 k 00:53:29 so 00:53:38 tar -xzf ~raystm2/qemu-0.6.1-i386.tar.gz 00:54:22 i've already done the first one the $ tar -xzf ............. 00:54:31 but i don't know where it is 00:54:32 newbies aren't bad usually on linux because you can tell them exactly what to type 00:54:37 ya 00:55:01 you did those three commands in order? (su, cd /, tar...) 00:55:02 i did ls here but only see the gziped file i downloaded 00:55:14 no i was not in su 00:55:35 so did it even execute the command? 00:55:57 the tarball (qemu....tar.gz) contains a directory "usr" 00:56:10 okay i see it :) 00:56:26 it's meant to go in /usr 00:56:53 so to "install" qemu in it's proper place, you need to be in the / directory 00:57:02 so delete and do like you said second time. 00:57:09 when you do tar -xzf qemu... 00:57:14 yeah. 00:57:16 oka 00:57:22 rm usr 00:57:29 and you'll need to do the "su" part to have write access to that directory 00:57:37 okay 00:58:09 yeah. usr is a directory full of files. so you'll have to do "rm -rf usr" (be extra careful not to use "rm -rf" as root unless you are quite sure you're doing it right) 00:58:26 :) okay 00:59:44 eg "rm -rf /" (as root) would proceed to delete everything, system and all. probably would continue untill crashing the system which would no longer boot. 00:59:47 baaad :) 01:00:32 think it worked :) 01:00:53 type "qemu" to see if it worked 01:01:03 if it did you should get some message about how to use qemu or some such 01:01:06 get out of su first? 01:01:16 sure 01:01:44 which returned /usr/local/bin/qemu 01:01:50 good 01:01:58 ok, are you back in your home directory? 01:01:59 ya help display ;) 01:02:07 yes 01:02:11 let's try running herkforth 01:02:24 did you try just tying "qemu" ? 01:02:27 typing 01:02:29 apt-get install herkforth :) 01:02:34 yes 01:02:44 hehe 01:02:58 okay lynxing to your site 01:03:07 make sure you get herkforth-bin not the source 01:03:14 okay 01:05:03 okay get the 7.1 tarball with all the scripts to run under qemu :) 01:05:46 cool 01:05:59 tar -xjf herkforth-bin-7.1.tar.bz2 01:06:05 wow that was fast :) 01:06:05 cd herkforth-bin-7.1 01:06:07 ./run 01:06:14 the download? 01:06:36 ya 01:06:49 42K 01:06:56 :) 01:07:35 same process to untar or should i untar this in place in my home 01:07:44 in your home 01:07:51 or a sub-directory if you wanna be organized 01:07:52 k 01:08:02 eg I made a directory called "software" where I keep such things 01:08:05 md? 01:08:11 mkdir 01:08:11 ah 01:08:16 mkdir got it 01:08:27 mkdir software 01:08:37 mv herkforth-bin-0.7.1.tar.bz2 software 01:08:39 cd software 01:08:44 :) 01:08:50 tar -xjf herkforth-bin-0.7.1.tar.bz2 01:08:51 faster than i can ask ;0 01:08:57 cd herkforth-bin-0.7.1 01:08:59 ./run 01:09:25 (note the j instead of z in the options. this is for files ending with .bz2 instead of .gz) 01:10:27 Ok the tar command args this time is -xjf? 01:10:40 i see got it 01:10:47 need to read a head is all 01:10:53 your on the ball there 01:11:15 raining pretty hard here now after threats all week 01:12:31 any luck? 01:12:53 umm 01:13:02 do i need to be su to untar? 01:13:07 no 01:13:25 okay will make sure i didn't miss type something 01:14:48 hmm no such file or dir 01:14:52 and im in software 01:14:56 and i'm doing 01:15:12 did you move the file into that dir? 01:15:22 tar -xjf herkforth-bin-0.7.1.tar.bz2 01:15:27 yes ls says so 01:15:56 hmm... probably we got the filename wrong 01:16:08 type "tar -xjf herk" then hit _tab_ 01:16:16 it should write the rest of the name for you 01:16:20 no kidding :) 01:16:28 cool 01:16:39 now enter 01:16:59 nope doh!! 01:17:45 eh? what happened? 01:18:17 output 01:18:49 tar (child) : bzip2: Cannot exec: No such file or directory 01:19:02 the tab thing worked? 01:19:10 tar (child): Error is not rec.... 01:19:10 ya 01:19:18 worked good :) 01:19:46 weird weird weird 01:19:46 is it maybe permissions? 01:19:49 ya 01:20:58 you downloaded the file as raystm2 right? same user you're using now? 01:21:28 ya only one user me 01:22:20 does it matter that i did it in a different vc --- no i'm logged in as rastm2 everywhere . i think 01:22:20 ok, try this: "bunzip2 herkforth-bin-0.7.1.tar.bz2" 01:22:37 unless i started lynx in root? 01:22:37 vc shouldn't batter 01:22:38 matter 01:23:11 do "ls -al" that'll tell you who owns stuff 01:23:22 k thanks 01:24:14 the third column from the left should say "raystm2" on every line (except where it says total) 01:24:48 i own it and permissions are -rw-r--r-- 01:25:09 should be fine 01:25:13 same on . ? 01:25:13 k 01:25:27 don't understand the ? 01:25:29 rrr... can't be the same 01:25:40 it should have listed a row for the filename "." 01:25:51 what's the permissions and owner for that? 01:26:01 ah ok 01:26:05 same owner yes 01:26:20 "." means "current directory" btw 01:26:34 i recall thank you 01:26:51 ok, permissions start with "drwx" right? 01:27:35 in the '.' it does and in th '..' but not the file 01:27:55 d cuz the files not a directory yes? 01:28:35 * rastm2 is gonna try running tar from su 01:29:02 yeah, d means directory 01:29:32 and the x means a different thing for directories (for files it means it's executable, for directories it makes it so you can use them) 01:29:33 same problem 01:29:45 ah okay thanks 01:29:47 funky. did you try my bzip2 command? 01:29:56 oh no sorry 01:30:45 we might get better results doing it like that ourselves instead of telling tar to do it 01:30:53 or at least a more helpful error message 01:31:04 if i do a which bunzip2 should it return something if i have that ? 01:31:14 cuz it didn't 01:31:19 ooooh! 01:31:23 I understand now 01:31:31 tar was saying that it couldn't find bzip2! 01:31:36 ah 01:31:37 I was thinking it couldn't find herkforth 01:31:41 right 01:31:52 silly debian 01:31:58 apt-get install bzip2 01:32:10 cool install time -- this is a very minimal net install of debian -- just the very basics 01:32:17 to do colorforth in 01:32:28 okay 01:32:48 yeah, but the thing is that bzip2 get's better compression that gzip 01:33:06 so it seems to me the sort of thing people would install when trying to be minimal 01:33:18 but whatever 01:33:23 getting 01:33:26 ya 01:33:29 in my distro almost everything is bzip2 01:33:35 :) 01:33:44 still installing 01:33:47 unpacking 01:33:49 saves bandwidth 01:33:54 setting up 01:33:57 sure 01:34:03 done :) 01:34:12 going back to software and trying againg 01:34:49 tar -xjf herk... 01:35:18 that was fast :) 01:35:28 okay ./run? 01:35:36 cd to the dir. then ./run 01:36:01 herkforth-bin-0.7.1.tar.bz2 contains a directory named herkforth-bin-0.7.1 01:36:10 which has everything you need in it. including ./run 01:36:41 okay in there and error 01:37:00 ./run make:command not found 01:37:04 oh god 01:37:08 twice 01:37:24 you probably don't have a compiler 01:37:30 ./set-term .... 01:37:31 okay 01:37:37 c compiler? 01:37:41 yeah 01:37:46 anyone? 01:37:49 try: gcc 01:37:54 okay 01:38:10 no which gcc output 01:38:20 lemmy fire up my backup server. I'll make you binaries of those 01:38:31 no way cool :_ 01:39:13 unless you want to install gcc and make 01:39:24 not a problem really 01:39:28 be glad too 01:39:35 gonna need it any way 01:39:40 true 01:40:54 gcc is big 01:42:17 yea :) 01:42:23 unpacking 01:42:27 setting up 01:42:33 make next 01:44:46 now it cant find the header on ./run 01:44:53 headers sorry 01:44:55 stdio 01:44:59 stdlib 01:45:02 termios 01:45:06 unistd 01:45:13 sys/types 01:45:15 and stat 01:45:21 fcntl.h 01:45:34 mmm 01:45:45 I don't know what to apt-get for those. let's do that business later 01:45:57 make wasn't found again that's why 01:46:17 delete the herkforth stuff. I'll give you a new tarballs that won't need make or gcc 01:46:21 or any of that 01:46:29 no i'm wrong make was found 01:46:39 cool 01:46:40 :) 01:47:41 your ./run executed the command "cc -o set-term set-term.c" then i got the what import errors ? 01:48:33 right. you still don't have all the things you need in order to build C programs 01:49:15 yikes sorry :) 01:49:16 ok, download this one: http://jason.herkamire.com/herkforth-bin-0.7.1-ray.tar.bz2 01:49:27 not your fault. I don't know how to tell it to install that stuff. 01:49:30 do i need libs and headers then? 01:49:49 okay dling 01:50:07 yeah, to compile stuff you need headers, and libs. you might have libs already. 01:55:12 any luck? 01:55:23 tar -xjf herkforth-bin-0.7.1-ray.tar.bz2 01:55:29 cd herkforth-bin-0.7.1-ray 01:55:30 qemu: uncaught target signal 11 ( seg) -- exit 01:55:39 doh! 01:56:37 oh yeah 01:57:04 and invalid datea memory access; 0x00000000 01:57:28 what version of qemu do you have? 01:57:43 "qemu-ppc --version" should tell you 01:58:18 0.6.1 01:58:49 oh this is qemu pc emulator is that not same as qemu ppc? 01:59:31 did i do wrong qemu? 02:00:32 it's not an x window app? 02:00:37 is it? 02:00:46 no 02:01:02 02:01:03 well, qemu-ppc is not X 02:01:08 qemu-system-ppc would be 02:01:16 :0 02:01:19 ok 02:01:36 qemu comes with lots of stuff 02:01:45 it can emulate a linux program for ppc 02:01:54 it can emulate whole operating systems (which generally need graphics) 02:02:15 that's neat 02:06:48 that's weird it crashes 02:07:00 I've got qemu 0.6.0 and it runs fine 02:07:42 maybe I should try 0.6.1 02:09:18 rrrr... after all that 02:09:51 --- join: aum (~aum@60-234-138-239.bitstream.orcon.net.nz) joined #forth 02:12:59 after all what? 02:13:12 time installing and such 02:13:34 qemu is telling you that herkforth crashed 02:13:40 ya but ill use everything installed so far so you just pushed me :) 02:13:55 yeah 02:14:23 had me pretty stumped for a bit untill we found out that you didn't have bzip :) 02:14:48 i figuer it's trying to get the boot going and cant read from the start of the sector -- is that wrong -- is that what that error message is about the address 0? 02:15:04 hehe 02:15:04 ya 02:15:29 glad you stayed patient with me -- not that i've ever seen you otherwise. 02:17:53 besides if i gave every forth implementor in this chat 3 hours of my time every day id have them all running by mid march :) 02:18:47 :) 02:18:59 You're not emulating the bootable version 02:19:05 oh 02:19:09 it's a linux program 02:19:20 so my assessment cant be correct, right? 02:19:37 qemu was originally designed to just run linux programs compiled for x86 on other platforms 02:19:42 but has expanded since 02:19:53 now it can run linux programs compiled for ppc as well 02:20:03 and can emplate operating systems for some hardware 02:20:11 no, it can't be. 02:20:21 oh not all hard ware okay 02:21:00 you know -- rj_cf was thinking that i may have a vid issue in colorforth on this machine 02:21:30 I wish I could do some debugging, but as it works for me on my machines, there's not much I can do. 02:21:37 something about maybe iirc and i prob'ly don't that the interupt is different 02:21:43 ya 02:21:44 I'll try qemu-0.6.1 sometime, and see I can get the error with that version 02:21:58 no rush but i'm always ready now :) 02:22:00 that interrupt means it crashed :) 02:22:20 signal 11 geek for "hit the fan" 02:22:28 oh 02:22:35 didn't know :() 02:22:39 I'm up very late. we'll have to pick this up another time 02:22:54 np thanks for the fun :) 02:23:05 good night to ya 02:23:08 i had a blast 02:23:12 :) 02:23:15 thanks 02:24:08 you bet !! 02:26:21 --- quit: Herkamire ("off to bed") 02:31:59 --- join: samc__ (~sam@203-114-131-252.inspire.net.nz) joined #forth 04:12:33 --- quit: Raystm2 ("User pushed the X - because it's Xtra, baby") 05:06:10 --- quit: KB1FYR (Read error: 104 (Connection reset by peer)) 05:08:39 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 05:09:54 --- join: KB1FYR (~Alex@196-220.suscom-maine.net) joined #forth 05:12:26 --- quit: Raystm2 (Client Quit) 05:13:00 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 05:20:43 --- quit: rastm2 ("leaving") 06:04:27 --- quit: aum () 07:23:09 --- quit: Raystm2 ("User pushed the X - because it's Xtra, baby") 07:25:40 --- join: rastm2 (~rastm2@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 07:31:39 --- quit: rastm2 ("leaving") 07:33:34 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 07:48:25 --- join: TheBlueWizard (TheBlueWiz@modem-133.nyc-tc03a.FCC.NET) joined #forth 07:55:14 --- quit: Raystm2 ("User pushed the X - because it's Xtra, baby") 07:59:35 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 08:43:03 --- part: roliver left #forth 09:01:54 --- join: Serg[GPRS] (~z@193.201.231.126) joined #forth 09:03:34 * Serg[GPRS] reviewed 'thoughtful programming' yesterday ;) 09:06:02 and downloaded 'Clockwork orange' today ;) 09:07:34 --- join: I440r_ (~mark4@216-110-82-203.gen.twtelecom.net) joined #forth 09:07:42 hi ! 09:07:50 how's iforth ? 09:07:58 ISforth 09:09:36 --- quit: Raystm2 ("User pushed the X - because it's Xtra, baby") 09:09:41 hi dood, iave not done anything with it in a while, im working 9 or 10 hours a day these days 09:10:01 but im PLANNING on finishing an edit i started ages ago soon 09:10:05 but i dont know when 09:10:06 bleh 09:10:20 wow...what's eating up your time? 09:10:58 work 09:11:15 and its not coding, its basically TECH support 09:11:16 grrr 09:11:30 so by the time i get home ive no interest in anything except sleeping 09:11:41 iwas sick too. last friday i slept 18 hours 09:12:15 went to bed at 8 pm saturday night and slept for a further 12 09:12:25 fun stuff 09:12:33 i wish i could sleep that much 09:13:08 --- quit: PurpleHaze ("leaving") 09:16:00 mine record is.... 09:16:39 sleepless nite in inet cafe, coming home by 13:00 next day ... adn sleeping all day and all nite till next morning - maybe 20 hurs 09:17:25 * Serg[GPRS] hd more sleepless nites for comp/inet than for girls, notably ;)) 09:18:04 Serg[GPRS]: :) 09:19:17 my sexy record is 21:00 ~ 3:00 09:19:38 not so much ;)) 09:20:04 ^_^ 09:20:33 * TheBlueWizard had a record of staying awake for 26 or 27 hours (don't remember exactly how long), followed by a record 19 hours sleep :) 09:21:21 what kind of activity ? 09:21:59 after I woke up, I felt I only slept for perhaps 2 hours, but the daylight looked somehow wrong...and I was shocked to learn that it was the *next* day!...I had this most unreal experience at that point...as if someone stole a day from me 09:23:14 * arke had a record of staying awake for 37 hours, followed by only 6 hours of sleep because MY BROTHER WOKE ME UP!!!!!!! 09:23:40 37 is unreal for me, i'd fall 09:24:03 oh, I came to someone's house, and I thought I'd chat for a bit then sleep in advance of a big trip the next day, but I instead stayed up all night chatting, then I continued chatting while riding in a van then helped pitching up a tent, and at that point I was so exhausted and I crashed in that tent 09:24:34 arke: I bet you felt homicidal towards your brother :) 09:24:38 chat = IRC or real life talk ? 09:25:03 TheBlueWizard: yes i did! 09:25:25 real life chat...that was..hmm...more than 20 years ago 09:25:41 * TheBlueWizard chuckles, and understands the feeling 09:25:59 37 hours...that's intense! 09:27:14 yeah 09:27:19 was flying from US to germanyt 09:27:24 planned to sleep on the plane 09:27:26 nope 09:27:27 couldnt 09:28:19 cuz of motion? 09:28:33 brother was snnoozing away, but i couldnt sleep for the life of me, not to mention that I was awake all day before and then I had to stay awake the plane delay and all the time at the air port there retriving my luggage and going through security and all that crap and then it was only like 12am there when we finally arrived so ..... 09:28:57 * TheBlueWizard nods 09:38:46 --- quit: samc__ () 09:39:38 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 09:50:48 hell, i should make my weblog ;)) 09:51:04 so much funny events drowned in ICQ and IRC ;)) 09:58:24 z 09:59:00 z 10:05:45 --- quit: I440r_ ("Leaving") 10:24:10 --- join: ASau (~user@83.102.133.66) joined #forth 10:24:16 Dobry vecer! 10:26:30 doXly ve4er ;)) (dead afternoon :) 10:26:44 Privet, Serg! 10:27:13 I'm sick of all this NIX stuff. 10:28:26 It looks we have 4 new channels now. 10:29:03 What is "1xforth" for? 10:34:49 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 10:34:50 --- mode: ChanServ set +o Herkamire 10:53:39 --- join: OrngeTide (orange@rm-f.net) joined #forth 11:00:20 God kvaell, OrngeTide! 11:01:40 gotta go...bye 11:02:12 --- part: TheBlueWizard left #forth 11:03:02 hi :) 11:03:12 it's been a while. 11:08:57 --- join: qFox (C00K13S@82-169-140-229-mx.xdsl.tiscali.nl) joined #forth 11:41:48 --- quit: Serg[GPRS] () 12:28:34 --- join: proteusguy (~proteusgu@dsl027-163-201.atl1.dsl.speakeasy.net) joined #forth 13:44:20 --- quit: qFox ("this quit is sponsored by somebody!") 13:44:22 --- quit: saon (Remote closed the connection) 13:54:56 --- join: saon (1000@c-24-129-90-197.se.client2.attbi.com) joined #forth 14:03:34 --- quit: saon ("leaving") 14:03:56 --- join: saon (1000@c-24-129-90-197.se.client2.attbi.com) joined #forth 14:18:32 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 14:45:19 --- quit: KB1FYR (Remote closed the connection) 15:28:53 hi all 15:50:04 --- join: bitwize (~bitwize@rrcs-67-52-189-35.west.biz.rr.com) joined #forth 15:55:52 --- nick: skylan_ -> skylan 16:09:44 --- quit: bitwize ("BitchX: the fizzle goes straight to your brain!") 16:23:15 --- quit: arke (Remote closed the connection) 16:23:15 --- quit: thinfu (Remote closed the connection) 16:23:58 --- join: arke (f2@bespin.org) joined #forth 16:24:06 --- join: thinfu (thin@bespin.org) joined #forth 16:24:06 --- mode: ChanServ set +o thinfu 16:24:57 --- join: solar_angel (~jenni@HSE-Toronto-ppp167019.sympatico.ca) joined #forth 16:27:38 solar_angel: hi 16:27:43 hello arke :) 16:28:32 hows life? 16:29:22 decent 16:30:43 cool 16:30:50 not sick from flu, i hope 16:39:18 --- join: aum (~aum@60-234-138-239.bitstream.orcon.net.nz) joined #forth 17:25:34 --- join: KB1FYR (~Alex@196-220.suscom-maine.net) joined #forth 17:59:16 --- join: rastm2 (~rastm2@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 18:00:48 --- join: Sonarman (~snofs@adsl-66-124-254-238.dsl.snfc21.pacbell.net) joined #forth 18:19:44 --- quit: Sonarman (Read error: 110 (Connection timed out)) 18:54:59 --- quit: aum (Remote closed the connection) 19:25:18 goodnight 19:30:59 --- quit: madgarden (Read error: 54 (Connection reset by peer)) 19:38:49 --- join: madgarden (~madgarden@70.49.34.57) joined #forth 19:51:49 --- join: Sonarman (~snofs@adsl-64-160-166-156.dsl.snfc21.pacbell.net) joined #forth 19:52:58 --- join: Azure_Ag (azure@h-66-167-210-23.sfldmidn.dynamic.covad.net) joined #forth 20:11:56 --- join: Vruba (~char@c-67-170-142-144.client.comcast.net) joined #forth 20:38:53 --- quit: Azure_Ag ("leaving") 20:53:33 --- quit: Sonarman ("leaving") 21:00:07 hi 21:17:41 --- join: swalters (~swalters@2416457hfc118.tampabay.res.rr.com) joined #forth 21:17:54 ah! activity! 21:18:03 more activity! 21:18:07 at this rate I shall never sleep! 21:18:10 does this channel have a pastebot? 21:18:18 nope 21:18:21 steal the #lisp channel one :D 21:18:26 --- quit: solar_angel ("later") 21:18:28 how many lines is it? 21:18:33 Is three lines reasonable? 21:18:43 oh yeah 21:18:53 1 if ." non-zero" then ." zero" else cr rn*the terminal*:7: Interpreting a compile-only wordrn1 if ." non-zero" then ." zero" else cr 21:19:06 I have no clue what that error means. I'm just getting started. 21:19:09 aah 21:19:25 Oh, the next line points to the "if" as the error. 21:19:29 of course, same error I've made millions of lines 21:19:47 times* 21:19:57 YES! you can hack phones with forth! 21:20:08 in forth, theres two modes 21:20:14 the first mode is "interpretation" 21:20:21 and the second one is "compilation" 21:20:29 the names are pretty self-explanatory 21:21:05 due to the nature of the 'if' word, it can't be used during interpretation time since its only function is to compile the machine language code for "jump to then if zero" etc. 21:21:09 So, I can't use a conditional if I'm typing at the prompt? 21:21:19 yes you can 21:21:33 in this case, you want to use [if] [else] [then] 21:21:48 huh? gforth has [if] etc ? 21:21:52 for most words which can only be used at compile time, there are interpretation time equivalents which are wrapped in brackets 21:21:53 what forth are you using swalters 21:21:55 thinfu: of course it does 21:22:05 thinfu: gforth, obviously 21:22:22 yeah i guess you can tell that from the output messages 21:22:26 gforth 21:22:30 swalters: you'll see the reason for that convention pretty soon down your learning path 21:22:35 *the terminal* 21:22:42 swalters: so try changing them like that. See if that works. 21:23:00 swalters: keep it simple, : test 1 if ." non zero" then ." zero" else cr; etc 21:23:05 put it into a word :P 21:23:44 either one will work the same, but putting it into a word is, later on, more desirable as you can then reuse the word when you need to do the same thing again 21:23:47 cr 1 [if] ." non-zero" [then] ." zero" [else] cr rnnon-zerozero ok 21:24:09 It works if I : define it. 21:24:36 However, it seems to be ignoring the [] wrapped if-then-else. 21:24:41 ooh, you switched them accidentally 21:24:46 try this 21:25:07 cr 1 [if] ." non-zero" [else] ." zero" [then] cr 21:26:46 Okay... that works, but it completely breaks how I thought the conditional worked... 21:27:08 yes, it works much different in foorth than other languaghes 21:27:09 so, it's "test if alternative else consequent then" 21:27:25 if (true) [ else (false) ] then 21:27:34 think of then as the } delimiter in C or something 21:27:42 for if statements, at least 21:27:58 doh... 21:28:31 takes a bit of getting used to if you're coming from traditional imperative languages, but its worth it! 21:28:32 I meant to type "test if consequent else alternative then" 21:28:50 what do you mean? 21:28:54 Actually, it's that the documents I've been reading today are rather obtuse about it. 21:29:04 oh yeah, i hate that 21:29:41 here's the equivalent c code: "if (test) { consequent } else {alternative}" 21:29:55 yep 21:29:56 consequent and alternative are the technical names for the parts of an if-then-else statement. 21:31:32 You know... I am starting to wonder why processors stuck with one-stack machines when the flexibility added by two stacks and forth-like opcodes should have far outweighed any overhead. 21:32:11 my friend, nearly every single person in all the forth channels and mailing lists and news groups are wondering the exact same thing 21:33:03 I mean, the semantics fit so nicely at that level and it brings "high-level" coding techniques to "assembly-level" code. 21:33:13 exactly 21:33:43 this is why Chuck Moore's Forth MISC chips are such performance screamers in conditions where the equivalent intel would crawl 21:34:05 But, theres 2 things stopping it 21:34:06 I consider a postfix stack-based language to be part of what every programmer should know. The change in thinking is beneficial no matter which language you use. 21:34:10 (1) legacy and (2) marketing 21:34:23 yes definetely :) 21:34:56 well... Frankly, there needs to be a "modern" forth. I've printed the factor manual, but haven't looked at it yet, so I can't say if it does. 21:35:24 haha, funny that you should mention that 21:35:45 Some of the standard forth words just need to be made more mnemonic. Sure, you get used to them, but it sure doesn't help build a bridge. 21:35:47 you'll find factor extremely difficult to use unless you're a pro at both scheme and forth :) 21:35:59 my thoughts as well 21:36:18 *LOL* Take a look at the channels I'm on and tell me if I'll qualify... 21:36:30 afkfaf 21:36:44 --- quit: KB1FYR (Remote closed the connection) 21:36:57 both #vim and #emacs? what are you, flamewar general? :) 21:37:39 *LOL* No. emacs for large files that I'm adding to significantly. vim for small changes to files. 21:38:06 emacs has lots of nice little amenities. vim has better syntax highlighting for conf files and it makes finding a word or two and changing it very quick. 21:38:07 aah. Well, each to their own, I don't want to start a flamewar :D 21:38:33 * arke would never use even a fraction of 1% of all the crap that ships with emacs :) 21:38:55 its an operating system disguised as an editor, afterall :) 21:39:00 So, basically, I use vim for system maintenance and emacs for programming. (though I hate the syntax highlighting engine) 21:39:03 anyway, back on topic.... o.O 21:39:17 vim comes with beautiful syntax highlighting 21:39:28 anyway, back on topic.... o.O 21:39:30 :) 21:40:39 what got you interested in forth? the topic in #concatenative, maybe? :) 21:41:23 Discussing continuations on #scheme. I had previously dabbled in postscript and was telling people that learning a stack-based postscript language would ease the idea of continuations incredibly. 21:41:34 Especially when you're dealing with partial continuations. 21:42:19 I doubt I'll ever use forth seriously, but it pays to be familiar with a classic and you learn a lot about the nature of computing from it. 21:42:38 :) 21:42:42 btw, is Charles Moore the Moore from Mealey and Moore diagram fame? 21:42:57 erm i do not believe so? 21:43:30 slava is also a member of #scheme he made a plug for his language... I joined #concatenative while I fiddle with them. 21:43:41 aah 21:44:10 I came here because I was having trouble with forth. That was, btw, the first thing I ever typed into a forth prompt. :-P 21:44:19 :) 21:44:52 I'm comfortable with everything but the looping and conditional constructs. Those aren't explained well in the tutorials I printed this morning. I need to do some more looking. 21:45:34 I can help you out with those, they're easy if explained in english and not lawyer speak 21:45:55 (although theres easier) 21:45:59 Okay... I'll be back in a few and I'll talk with you about them. 21:46:04 Sure 21:46:09 I will be going to bed 21:46:16 and probbaly nobody will be awake 21:46:27 but I'll be glad to help you tomorrow, same time or preferably earlier 21:48:04 Good night! 21:55:24 take care man. 21:55:49 hrm, I'm still awake, odd 21:55:54 :) 21:58:45 --- quit: I440r ("Leaving") 21:59:14 --- join: fridge (~Jim@CommSecureAustPtyLtd.sb1.optus.net.au) joined #forth 22:06:08 This is just disgusting. The more I think about implimenting forth-like postfix languages, the more I realize that it's something disturbingly simple to do in the hardware. 22:07:09 :) 22:08:16 I'm in the process of chopping up my sleeping pill right now. (crushing it makes it hit fast and clear of my system by morning) 22:08:37 i forot to take me some nyquil (I've got a cold) 22:08:45 so thats why I'm still awake :) 22:08:51 * arke is typing from bed! 22:08:53 So, I read the first Chapter in Thinking Forth today. Is component programming a superset of OO programming? 22:08:58 I miss my laptop. 22:08:59 *sigh* 22:09:21 not a laptop - wireless keyboard + ATI all-in-wonder hooked up to TV 22:09:32 err, no idea, I'm the wrong person to ask about that one 22:09:52 you wanna ask kc5tja, you can just /msg him. tell him I told you to ask him :) 22:10:18 hmmm... he's not on /any/ channels. Odd. 22:10:32 yeah he is, he's just +i so it doesnt show 22:16:49 * Vruba is away: L'bee d'fris. 22:21:10 --- join: aum (~aum@60-234-138-239.bitstream.orcon.net.nz) joined #forth 22:34:09 waht are the traditional forth file extensions? (i.e. what regex should I bind to forth mode in emacs) 22:35:00 --- quit: aum () 22:38:53 fs 22:38:59 --- quit: rastm2 ("leaving") 22:39:05 4th ? maybe 22:39:22 all my forth files use fs 22:40:05 my vim says .fs and .ft 22:41:46 There's also a .fb mentioned on a web page "block forth" it calls it. 22:43:20 --- quit: Raystm2 ("User pushed the X - because it's Xtra, baby") 22:45:16 * swalters ponders what .ft means.... 22:46:35 well... sleeping pill hitting. night all. 23:06:12 --- quit: Herkamire ("off to bed") 23:47:56 --- join: Raystm2 (~Ray@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 23:52:17 --- join: rastm2 (~rastm2@adsl-69-149-47-230.dsl.rcsntx.swbell.net) joined #forth 23:56:14 * Vruba is back (gone 01:39:25) 23:59:59 --- log: ended forth/05.02.24