Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] REBOL Internet Chess? Re:(3)

From: petr:krenzelok:trz:cz at: 3-Aug-2000 11:08

[rebol--techscribe--com] wrote:
> Hi n.p. > > you wrote: > >Now that you've got my wheels spinning, would it be possible to develop a > >real-time chat application in REBOL? > > I just sent an email to the Ally list in the thread module that includes a > rudimentary chat-type server. With a few modifications, it should do > something like this. > > To collect single characters from the console you can use something like > Cal Dixon's code for his rem editor (which I recommend, btw. A > well-designed and very useful and surprisingly stable beta version): > > port: open/binary [ scheme: 'console ] > get-key: does [ wait port to-string copy/part port 1 ] > > All you need to do is open an additional tcp port add code that inserts the > value returned by get-key into the tcp port. On the client side you open a > tcp port and use prin to output the character that was received on the tcp > input port. > > Hope this helps,
Elan, good stuff. Do you remember early alpha stages? Web page contained something like rebol:// .... So, I don't know if remote module creation is clear concept - will have to think about it, as if that should be consistent, what about other "make"s? Some time ago someone proposed rebol ram-disk equivalent. I even sent request for 'make refinement /external e.g. 'ram 'ram-disk (being schemes). So I though general mechanism for sharing stuff over network would be great. Even hooking rebols thru system objects could be great. Let's assume some field 'remote, which could contain block of ports ... ... or something along the lines ... just dreaming :-) -pekr-