00:00:00 --- log: started forth/01.10.28 00:30:51 --- join: futhin (kla@h24-66-209-114.cg.shawcable.net) joined #forth 00:31:02 supsup 00:44:20 hmm, bedtime 00:44:22 --- quit: futhin (laters) 01:08:42 --- quit: I440r (Ping timeout for I440r[A010-0090.BLMG.splitrock.net]) 02:05:52 --- quit: aum () 03:26:36 --- join: schirkaan (bronko@A8997.pppool.de) joined #forth 03:26:48 lol@topic 03:27:23 --- nick: MrZZZZZ -> MrReach 03:27:36 I don't see the topic, brb 03:27:40 --- part: MrReach left #forth 03:27:44 --- join: MrReach (mrreach@209.181.43.190) joined #forth 03:27:59 nope, still no topic, servers must be desynced 03:28:04 how are you? 03:38:47 --- quit: schirkaan (Ping timeout for schirkaan[A8997.pppool.de]) 06:46:42 --- join: Speuler (speuler@brombeere.icafe.spacenet.de) joined #forth 06:53:22 hihi! 06:53:44 hi mrreach 06:53:49 good morning 06:53:56 u're up early 06:53:59 good morn to you, also 06:54:07 heh, been up since 3:30 06:54:23 that's about when i came home 06:54:43 CET :) 06:54:53 * MrReach nods 06:57:43 still have a foggy head 07:01:04 where are all the forth people gone ? 07:01:20 I don't know 07:01:35 i don't hope they went to c++ 07:01:46 or ada 07:01:52 well, I440r doesn't have dsl anymore 07:02:00 so he doesn't idle here anymore 07:02:14 futhin was on for a bit last night 07:13:21 --- nick: MrReach -> MrGone 07:15:24 --- quit: Speuler (ircII/tkirc) 08:48:01 --- join: futhin (kla@h24-66-209-114.cg.shawcable.net) joined #forth 08:49:42 hi!? 08:49:45 mrreach? 08:49:47 mrgone 08:50:27 my irc client doesn't beep 09:28:26 --- mode: ChanServ set mode: +o futhin 09:28:30 --- mode: futhin set mode: -t 09:28:30 --- mode: ChanServ set mode: +t 09:29:01 --- mode: futhin set mode: -t 09:29:02 --- mode: ChanServ set mode: +t 09:33:06 bah 09:33:09 gonna go shower 09:33:10 --- quit: futhin (laters) 09:44:15 --- join: schirkaan (bronko@Acb8f.pppool.de) joined #forth 10:03:24 --- join: futhin (kla@h24-66-209-114.cg.shawcable.net) joined #forth 10:03:36 hi schirkaan 10:03:42 --- nick: MrGone -> MrReach 10:03:48 hi mrreach 10:04:06 so how do i do sockets in gforth? i grepped the documentation.. 10:04:07 hihi 10:04:13 didn't find anything on "ports" or "socket" 10:05:06 schirkaan you there? 10:06:14 what patform are you on? Windows or Linux? 10:06:22 linux 10:06:31 *nix 10:06:37 it's AIX but who cares? :P 10:06:56 ok, then use the glibc library commands to open sockets 10:07:12 hmm 10:07:21 so how do i do that? :) 10:07:22 (sorry, forgot what they were, by now) 10:07:26 hmm 10:07:31 how do i interface with the glibc? 10:07:37 they are also undocumented 10:07:54 just a sec while I try to find the appropriate source file 10:08:57 --- mode: ChanServ set mode: +o MrReach 10:09:00 --- mode: ChanServ set mode: +o schirkaan 10:09:03 --- mode: ChanServ set mode: +o futhin 10:09:27 --- topic: set to ': CHAT enter BEGIN read type finished? UNTIL leave ; | come on in and roll your own forth, and smoke it too!' by futhin 10:10:24 ok, file is lib.fs 10:10:50 hmm 10:11:18 the words you want are library: and proc: 10:11:45 you'll have to play with the parameter order to get it right 10:12:11 then, import the glibc socket commands 10:12:51 do i have to call lib.fs then and then use the words inside lib.fs? 10:13:26 just a sec, and I'll get you a URL for glibc 10:13:29 no 10:13:33 shouldn't have to 10:13:48 you see, libc is used for console output anyway 10:14:10 PROC: and LIBRARY 10:14:12 although that is at the C level 10:14:17 those two are defined in lib.fs 10:14:23 yes 10:14:37 it will take a couple of hours of futzing to get it figured out 10:14:55 uh? so you are not recommending me to just "require lib.fs" ? 10:15:04 you are recommending that i hack it myself? 10:15:12 once you do, you'll be able to load any shared library you can find docs for 10:15:16 the code is so ugly :( 10:15:24 no, I'm not recoomending that 10:15:58 that's because the engine is written in C 10:16:31 so the stuff has to be translated to C types, then translated back 10:16:34 hmm? if i want to call glibc commands, i should use lib.fs ??? 10:16:39 anyway, the URL .. 10:16:46 yes, you should 10:16:51 ok 10:17:11 it seems that all the code is relatively ugly.. they don't factor it up enough or something heh 10:18:45 http://www.gnu.org/manual/glibc-2.2.3/libc.html 10:19:10 it is a "research" forth 10:19:26 so it tends to get crufty with things they've tried 10:20:31 i've got a very low tolerance for reading code.. i'm a wimp when it comes to reading code. that's why i find the code in lib.fs ugly for example.. and i kinda agree with chuckmoore's "factor it all up, minimum two lines of code to a word, maximum two parameters passed on stack" 10:20:47 so i expect people to be coding the way chuck moore recommends it :P 10:22:56 so i'll have to do s"glibc" LIBRARY or something? :) 10:23:29 fun fun 10:25:28 yep 10:25:43 I can't remember how the libj words are used, and they're undocumented 10:26:31 oh! 10:26:47 it's documented pretty well in the file ... do this: 10:28:15 library libc: /lib/libc-2.1.3.so 10:28:24 and then do: 10:28:54 i gotta go.. do homework 10:29:35 --- quit: futhin (Read error to futhin[h24-66-209-114.cg.shawcable.net]: Connection reset by peer) 10:30:00 glibc: ... nevermind 12:48:40 --- join: qless (qless@clgr000977.hs.telusplanet.net) joined #forth 12:51:56 --- quit: qless ([x]chat) 15:35:03 --- quit: schirkaan (Ping timeout for schirkaan[Acb8f.pppool.de]) 18:19:52 --- join: qless (qless@clgr000977.hs.telusplanet.net) joined #forth 18:23:11 --- quit: qless ([x]chat) 20:02:43 --- join: tcn (tcn@bespin.org) joined #forth 20:02:46 --- quit: tcn (Read error to tcn[bespin.org]: EOF from client) 21:21:21 --- join: qless (qless@clgr000977.hs.telusplanet.net) joined #forth 21:21:42 --- quit: qless ([x]chat) 22:01:25 --- topic: set to '' by ChanServ 22:01:25 --- mode: ChanServ set mode: -o clog 22:01:25 --- mode: ChanServ set mode: -o MrReach 23:59:59 --- log: ended forth/01.10.28