[REBOL] Re: Newbie Rebol (CGI) questions

2004-04-15 Thread Petr Krenzelok
Kai Peters wrote: >Hi All ~ > > From the web tutorials I have doctored the script below together which >leaves me with three questions: > >1) Why do I receive an error if i omit the print line immediately after >the REBOL [] header? > > you should not receive an error? I don't understand exac

[REBOL] Newbie Rebol (CGI) questions

2004-04-15 Thread Kai Peters
Hi All ~ From the web tutorials I have doctored the script below together which leaves me with three questions: 1) Why do I receive an error if i omit the print line immediately after the REBOL [] header? 2) How can I insert LFs in the line" emit [ mold var mold value ]" to make th

[REBOL] Re: hook while downloading from html port [http][port]

2004-04-15 Thread Maxim Olivier-Adlhoch
Scott, this is gold! I added a tag on the subject to be sure rebol.org indexes this properly, this really is a worth-while exercise, thanks for all the time you put on this, it will surely open up the mysterious port handling for many rebolers out there! -MAx - Original Message - From

[REBOL] Re: hook while downloading from html port

2004-04-15 Thread Jones, Scott
From: Anton Rolls AR> Scott, I think you are a bit negative about transfer rates. :) AR> Surely there is a way. ... It was one of those things were as soon as I sent my email, I, too, thought of a way to show progress, but our satellite signals times are limited. My guess is that there will al

[REBOL] Re: hook while downloading from html port [read-net]

2004-04-15 Thread Maxim Olivier-Adlhoch
hi, wrt my last mail, the patch was ugly, containing prints and probes... here is a clean version with an example script to show the difference between loading a file for which size is not known and one that is: (as usual beware of wrapping lines...) ;-patch--

[REBOL] Re: hook while downloading from html port [read-net]

2004-04-15 Thread Maxim Olivier-Adlhoch
AND THE WINNER IS. > -Original Message- > From: Brett Handley > Have a look at /progress refinement on function Read-net. ;-) read-net... - EXACTLY - what I was looking for. another nifty function... cool thing is that its not a native, and we can source it, and then ma

[REBOL] Re: [protect-system] does not work [user.r]

2004-04-15 Thread Maxim Olivier-Adlhoch
Hi Arie, its been a while since user.r was a topic well, the beta versions treat the user.r the same, its just that its content is not set by the install tool. There is no installation, so rebol does not copy rebol.exe into your home with a copy of user.r (which very few even realize happens

[REBOL] Re: ANN: Color-lab plugin version

2004-04-15 Thread Gregg Irwin
Hi Oldes, Another awesome reblet! Thanks! -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] [protect-system] does not work

2004-04-15 Thread Arie van Wingerden
Hi, in REBOL/View 1.2.1.3.1 the PROTECT-SYSTEM (in the USER.R file) does work fine. However when I run REBOL/View beta version 1.2.46.3.1 it does NOT work. Any ideas why? Does the beta version skip user.r? TIA. Kind regards, Arie -- To unsubscribe from this list, just send an email to [E

[REBOL] Re: hook while downloading from html port

2004-04-15 Thread Gabriele Santilli
Hi Maxim, On Thursday, April 15, 2004, 4:23:51 PM, you wrote: MOA> what does "implement an HTTP client on top of it MOA> involve"? is that completely writing an http scheme or can I MOA> borrow the one from within rebol and merge it? Borrowing the one in REBOL wouldn't work, as async://

[REBOL] Re: hook while downloading from html port

2004-04-15 Thread Maxim Olivier-Adlhoch
> -Original Message- > From: Gabriele Santilli [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 15, 2004 6:01 AM > To: Andreas Bolka > Subject: [REBOL] Re: hook while downloading from html port > > > If you only need to report in/out speed in bytes/s or something > like that, I ha

[REBOL] Re: hook while downloading from html port

2004-04-15 Thread Gabriele Santilli
Hi Andreas, On Wednesday, April 14, 2004, 8:09:45 PM, you wrote: >> I was wondering, if its possible to put a hook somewhere (even if >> deep) within the port or more specifically the html port handler, so >> that we can update something elsewhere, do statistics or print out >> transfer rate for

[REBOL] Re: hook while downloading from html port

2004-04-15 Thread Brett Handley
Hi, Have a look at /progress refinement on function Read-net. If this is insufficient, you could take Scott and Anton's approach further and maybe even allow a way to specify a on-read callback function using the /custom refinement - which might be what Anton was implying. Regards, Brett.

[REBOL] Re: hook while downloading from html port

2004-04-15 Thread Anton Rolls
Scott, I think you are a bit negative about transfer rates. :) Surely there is a way. Here also, is an easier way to save the scheme: write clipboard:// join {rebol [] system/schemes/http:} mold system/schemes/http Now open your favourite editor, paste into a new file and save. Uh oh,