00:00:00 --- log: started forth/06.06.19 00:20:43 --- join: T0paz (n=top@spc1-horn1-0-0-cust255.cosh.broadband.ntl.com) joined #forth 00:59:10 --- quit: T0paz (Remote closed the connection) 01:36:22 hi 02:20:56 --- quit: ohub (kornbluth.freenode.net irc.freenode.net) 02:21:55 Hi 02:24:41 whats up 02:26:28 Smalltalk 02:27:11 I've wnated to learn it 02:27:14 never got around to it 03:50:32 --- quit: docl (Read error: 110 (Connection timed out)) 05:36:32 --- join: virl (n=virl@chello062178085149.1.12.vie.surfer.at) joined #forth 05:53:32 --- join: timlarson_ (n=timlarso@65.116.199.19) joined #forth 05:56:50 --- join: PoppaVic (n=pete@0-1pool47-104.nas30.chicago4.il.us.da.qwest.net) joined #forth 07:26:11 ok, so maybe I am going to write an irc->mud gateway thing 07:26:36 Two time consumers merged into one! 07:30:51 I just want to be able to play discworld mud in an irssi window 07:30:53 is that too much to ask? 07:31:23 JasonWoof -> Screen can do close enough :b ;-) 07:31:33 now all it needs are vertical window splits 07:31:48 I've got it mostly done 07:31:53 just have to hack the colors 07:40:32 --- join: ohub (n=oherrala@sikw1.oulu.fi) joined #forth 07:47:47 gahh... I could scream 08:30:17 --- part: oxygene left #forth 08:34:53 --- join: Topaz (n=top@host86-138-131-19.range86-138.btcentralplus.com) joined #forth 09:06:49 --- join: PoppaVic1 (n=pete@0-2pool198-59.nas30.chicago4.il.us.da.qwest.net) joined #forth 09:07:06 --- quit: PoppaVic (Nick collision from services.) 09:07:29 --- nick: PoppaVic1 -> PoppaVic 09:30:06 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-096-044.pools.arcor-ip.net) joined #forth 09:38:11 --- quit: Topaz ("Leaving") 09:38:24 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 09:38:30 --- nick: snoopy_1711 -> Snoopy42 09:40:01 --- quit: PoppaVic ("Pulls the pin...") 10:00:10 on IRC, noone can hear you scream 10:00:29 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 10:29:57 Thankfully nobody asks him why. 10:57:15 awesome :) irssi appears to accept ansi color sequences :) 10:57:25 maybe I don't have to hack the colors after all :) 10:57:33 Nice. 10:57:39 it works :) 10:58:31 it's a little cumbersome 10:58:41 because I wrote it as a bot, not an irc server 10:58:57 so you have to run an ircd 10:59:15 Written in Forth? 10:59:20 no, perl 10:59:25 Ah. 10:59:41 hehe :) I love seeing the indicator thing in irssi tell me something happened in the mud 11:00:06 I had a bot in perl already, so I just started with that and added the telnet stuff 11:00:09 it's very simple 11:00:25 I don't have a forth with networking capabilities at the present time 11:00:52 Don't worry, I'm not about to sue you for heresy. 11:01:10 * Robert admits to only doing IRC stuff in Ruby. 11:01:33 I'm slowly making it so I can do more things in forth 11:06:30 eg now I can do web scripting 11:06:43 Neat. 11:16:51 the irc log viewer is in forth 11:16:57 but the log bot is still perl 11:25:30 what does perl have that your forth lacks for this application 11:25:30 ? 11:31:11 slava: you can SEE the definition of a factor word, right? 11:31:32 yes, like \ reverse see 11:32:42 slava: do you store the source as tokens/strings/etc. or do you lookup words->name? 11:33:10 slava: and if so how do you deal with inline and immediate words? 11:33:15 on disk the source is stored in text files, in memory its a tree structure of nested lists, with word objects in the leaf 11:33:21 leaves* 11:35:44 i am trying to figure out how to store enough information so that i can pretty print words in a way that they can be read back verbatim 11:35:58 verbatim? you'd need to store source 11:36:07 my 'see' loses comments and formatting 11:37:58 i don't have comments yet, formatting can be neglected, but native words are a little tricky 11:38:05 native words? 11:38:32 CODE ... 11:38:44 well you can implement a disassembler for those 11:40:00 yeah 11:41:04 --- quit: nighty__ (Read error: 104 (Connection reset by peer)) 11:46:54 --- join: nighty_ (n=nighty@sushi.rural-networks.com) joined #forth 12:07:29 michaelw: you could just save the source 12:07:34 usually VIEW shows this to you 12:07:58 slava: I don't think gforth has the networking capabilities I'd need to write a good bot 12:09:01 I need select or poll or some such 12:09:34 well, I could get away with a function that would tell me if I could call read/write without it blocking. 12:18:34 hmm 12:20:59 i don't think an irc bot needs to maintain several connections 12:21:17 factorbot is single-treaded 13:13:05 --- quit: timlarson_ ("Leaving") 13:24:18 hmmm... I should hack the colors after all 13:55:19 --- quit: Robert ("leaving") 14:25:03 oh THATs why w3m wouldn't run 14:25:17 I re-installed it and its direct dependancies 14:25:28 turns out it had an http_proxy set 14:26:01 slava: I was writing a bot that connects you to a mud 14:26:17 so it has the irc connection and the telnet connection 14:26:40 --- quit: tathi ("leaving") 14:27:00 my logbot used select with a timeout to detect when it got silently disconnected 14:34:55 --- join: I440r (n=mark4@24-177-235-246.dhcp.gnvl.sc.charter.com) joined #forth 14:35:14 ? 14:35:18 nobody here ? 14:35:32 erm i think my client is screwing up lol 14:35:40 it doesnt even show ME in this channel lol 14:35:52 --- part: I440r left #forth 14:35:56 --- join: I440r (n=mark4@24-177-235-246.dhcp.gnvl.sc.charter.com) joined #forth 14:36:21 hillarious 14:36:57 I440r: were you really laughing out loud? 14:37:06 no 14:42:51 anyone know where tathi is ? 14:53:38 he left 27 minutes ago 14:53:53 rather inexplicably 14:55:49 i emailed him 2 days ago! 15:04:57 --- quit: dauterive ("Leaving") 15:50:33 JasonWoof: in factor i can do timeouts on i/o ports by calling set-timeout on the stream object 15:52:27 good evening 15:53:17 hi crc 15:53:49 crc: have you done any more with the gtk bindings? 15:56:36 not yet 15:57:04 --- join: segher__ (n=segher@dslb-084-056-128-079.pools.arcor-ip.net) joined #forth 15:57:06 crc: i implemented a module system which can load a source file with all dependencies 15:57:12 I will likely start working with them again soon though 15:57:20 cool 15:57:21 crc: it makes it much easier to move stuff out of the core 16:07:17 --- quit: segher_ (Read error: 110 (Connection timed out)) 17:10:49 --- join: Squeaker (n=ircap751@108.Red-81-40-190.staticIP.rima-tde.net) joined #forth 17:10:55 hi Squeaker 17:11:05 hi slava 17:11:40 you use Squeak? 17:12:08 begining with etoys 17:40:46 --- quit: Squeaker () 17:54:52 wtf? discworld mud is sending this string sometimes: ^[[39;49m^[[0;10m 17:56:04 A vt100 code, isn't it? 17:58:40 yeah, but what do they do? 17:59:10 ^[[3x sets the color to x where x is 0-7 17:59:18 dunno what 9 is 17:59:40 and I thought ^[[0 cleared the color info back to the default 18:00:28 dw mud is sending these characters after each colored line 18:00:35 i 18:01:55 are these supposed to be ansi escape codes? 18:05:14 One of my note files has this: 18:05:14 set default fg color ^[[39m 18:05:14 set default bg color ^[[49m 18:05:22 ahh 18:05:26 yes, it should be ansi 18:06:46 http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html 18:12:45 crc: thanks :) 18:12:51 still no idea what 10m is though 18:20:34 man 5 terminfo :) 18:21:39 mioght be an sgr or an sgr0 18:21:40 not sure 18:21:48 ill find out :) 18:22:24 its probably an sgr0 tho because most terminals only support that and not the sgr 18:22:27 which is moronic 18:22:48 what's sgr? 18:23:07 restore specific attribute to default 18:23:14 like bold/underline/blink etc 18:23:21 sgr0 restores ALL of them 18:23:34 isn't that just ^[[0m 18:23:48 erm yea that might be rioght 18:23:49 right 18:24:09 crc's link says it clears all colors and styles 18:24:25 isforth has terminfo parsing, it doesnt hard code any of them 18:24:40 because an sgr here isnt the same as an sgr over there... 18:24:51 I'm mostly just annoyed because this silly escape sequence appears after the newline 18:25:02 so my mud bot has to figure out that it's not a prompt 18:25:18 is your bot coded in forth ? 18:25:18 --- join: docl (n=docl@70-101-145-1.br1.mcl.id.frontiernet.net) joined #forth 18:25:27 escape codes are retarted 18:25:33 they are 18:25:45 but if your bot is coded in forth you can use my terminfo code 18:25:50 no, I don't have the networking api I need in forth 18:25:58 ? 18:26:02 what api 18:26:12 does your terminfo stuff parse the escape codes? 18:26:25 yes 18:26:30 spiffy 18:26:52 it loads in /etc/terminfo/?/???? based on $TERM 18:27:37 I don't care about that. I just want to parse ansi escape codes and translate to irc color sequences 18:27:50 and plain text 18:28:05 (or at least check to make sure there's some actual text on the line 18:31:36 good lord, now it sent ^[[36m^[[39;49m^[[0;10m 18:31:41 ansi escape sequences are different for EVERY terminal type 18:31:49 only a very small number of them are common 18:32:59 this is rediculous. it's setting the foreground color, then resetting the foreground color to default. then resetting the background color (which was never changed) back to default, then resetting everything back to default, the 10m which I don't have a clue what it does 18:33:23 oooohhhh i bet i know why 18:33:32 wanna know what THE single slowest thing you can do in a terminal is ? 18:33:39 modify the attribures 18:33:45 they are injecting a delay 18:34:01 heh 18:34:13 :) 18:34:58 well, I'm going to write a nasty regex to remove the sequences, so I can tell if there's actual text or not 18:35:20 :) 18:50:43 --- join: ttuttle (n=tom@unaffiliated/ttuttle) joined #forth 18:50:47 Quartus: Hey. 18:53:33 --- quit: uiuiuiu (Remote closed the connection) 18:53:35 --- join: uiuiuiu (i=ian@dslb-084-056-230-122.pools.arcor-ip.net) joined #forth 19:24:33 Hey. 19:43:04 --- quit: I440r ("Leaving") 20:08:47 --- quit: Al2O3 (Remote closed the connection) 22:44:11 --- quit: virl (Remote closed the connection) 23:59:59 --- log: ended forth/06.06.19