[REBOL] Re: ftp probs

2003-11-28 Thread Graham Chiu
Re: Re: ftp probs > You could try the following setting: > > system/schemes/ftp/handler/cache-size: 0 > > This instructs the protocol handler not to cache the connections and > therefore to close everything - it should avoid your timeout problem. > Thanks. > Romano was intending to create

[REBOL] Re: ftp probs

2003-11-28 Thread Brett Handley
You could try the following setting: system/schemes/ftp/handler/cache-size: 0 This instructs the protocol handler not to cache the connections and therefore to close everything - it should avoid your timeout problem. Romano was intending to create a new ftp patch to solve many ftp problems

[REBOL] ftp probs

2003-11-28 Thread Graham Chiu
I've made a small change to the Rebol view editor to add an ftp option to the menu at http://www.compkarori.com/vanilla/display/vt-editor but the problem is that after 900 seconds, I can't open another ftp file. I get a timeout error. It looks like Rebol keeps the ftp connection open, and it ge

[REBOL] Re: No return Value???

2003-11-28 Thread Tim Johnson
* Elan <[EMAIL PROTECTED]> [031128 13:42]: > Hi Tim. > > 1. You can use unset? to check for words that do not return values . > >> unset? print "" Thanks for reminding me. > == true > >> if unset? print "" [result: "<>"] > > 2. If you need to assign the return value of the tested functio

[REBOL] Re: vim again

2003-11-28 Thread Volker Nitsch
Am Freitag, 28. November 2003 21:21 schrieb Maxim Olivier-Adlhoch: > > Arguing over editors is *such* a waste of time. There's no > >disputing taste. > > Not arguing... questioning, wondering why the 'powers that be' use it ;-) > I don't wonder why. If something can something vi can't,

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Volker Nitsch
Am Freitag, 28. November 2003 19:50 schrieb [EMAIL PROTECTED]: > Thanks to everyone who contributed responses. > > I've now updated REBOL.org to use Romano's load-header script rather than a > direct load/all/header in all the places (lots!) we load a header to get > values about a script. > > Thi

[REBOL] Re: No return Value???

2003-11-28 Thread Volker Nitsch
Am Freitag, 28. November 2003 20:38 schrieb Tim Johnson: > Hello Rebols: > I've got a question: > I've written a function called 'fetch, which has print > stubs to help follow the flow control. > > If you evaluate 'print with 'fetch, no value is > returned. > > Can someone tell me why this is so?

[REBOL] Re: No return Value???

2003-11-28 Thread Elan
Hi Tim. 1. You can use unset? to check for words that do not return values . >> unset? print "" == true >> if unset? print "" [result: "<>"] 2. If you need to assign the return value of the tested function to some local word, you can use set/any to avoid an error. 3. Why doesn't print return

[REBOL] Re: log4reb

2003-11-28 Thread Gregg Irwin
Hi Fançois, VF> Just wanted to inform you that the first public release of log4reb Thanks for posting that! Looks great. I'll have to find some time to play with it. I've thought a few times about how to implement some aspect-oriented concepts in REBOL, which is kind of in line with this thinkin

[REBOL] Re: vim again

2003-11-28 Thread Tim Johnson
Some irony here. Read on. * Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> [031128 11:41]: > > > > > Arguing over editors is *such* a waste of time. There's no > >disputing taste. > > Not arguing... questioning, wondering why the 'powers that be' use it ;-) > If I'm going to waste (re

[REBOL] Re: No return Value???

2003-11-28 Thread Tim Johnson
* Maxim Olivier-Adlhoch <[EMAIL PROTECTED]> [031128 11:41]: > > print does not return any value, Yeah, I know, I will probable have to use a tmp word, test it and use a default return value. > I had to work around that in encompass... (hence the /silent refinement) > > you can build up a fun

[REBOL] No return Value???

2003-11-28 Thread SunandaDH
Tim, > Can someone tell me why this is so? *why* it doesn't return a value is a bit of a mystery. But, given that some functions don't, then any generic wrapper around a function needs to take that possibility into account. There was a discussion on the ML about this recently. It emerged from

[REBOL] Re: vim again

2003-11-28 Thread Maxim Olivier-Adlhoch
> > Arguing over editors is *such* a waste of time. There's no >disputing taste. Not arguing... questioning, wondering why the 'powers that be' use it ;-) If I'm going to waste (read as curse ;-) tens of hours to be as efficient as I am in other editors I use, I have to get a hint o

[REBOL] Re: REBOL and live video

2003-11-28 Thread Jason Cunliffe
> I think there might be way for you, using some library interface. But I > don't know what libraries are available. I would suggest you using some > conventional tools available. Look e.g. at http://www.doom9.org for > suitable tools. http://videolan.org/ awesome GPL video tools with http built

[REBOL] Re: No return Value???

2003-11-28 Thread Maxim Olivier-Adlhoch
print does not return any value, I had to work around that in encompass... (hence the /silent refinement) you can build up a function which returns no value: a: func [data][ ; do what you want with data return unset 'data ] the above is not really usefull but if you want to fre

[REBOL] No return Value???

2003-11-28 Thread Tim Johnson
Hello Rebols: I've got a question: I've written a function called 'fetch, which has print stubs to help follow the flow control. If you evaluate 'print with 'fetch, no value is returned. Can someone tell me why this is so? TIA tim (example and code follows) Example: >> do %test-fetch.r Script

[REBOL] Re: vim again

2003-11-28 Thread Tim Johnson
* Andreas Bolka <[EMAIL PROTECTED]> [031127 12:40]: > > > Thursday, November 27, 2003, 4:47:23 PM, Maxim wrote: > > > why would you want to use vi style of cryptic text editing in the > > year 2003? > > because editing in vim is ultra-efficient, once you get used to it. > even in the year 2003

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Maxim Olivier-Adlhoch
damn I was about to show you a way of doing it with encompass... :-) I wish I could rebol full time. That is its main purpose... fixing/improving/limiting things around... while still keep the basic functionality. -MAx --- "You can either be part of the problem or part of the solution, but in

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread SunandaDH
Thanks to everyone who contributed responses. I've now updated REBOL.org to use Romano's load-header script rather than a direct load/all/header in all the places (lots!) we load a header to get values about a script. This was a potentially damaging integrity exposure (my old-timer IBMese for

[REBOL] Re: [encompass.r]

2003-11-28 Thread Maxim Olivier-Adlhoch
> > > There is no notion of current context. > The same function can be referenced by words > in two different objects, can't it? > Therefore, which context is "current"? yeah you're right, I'd forgotten that once bind is done, the function itself does not have any knowledge of context... each

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Romano Paolo Tenca
Hi Brett, > blah blah > [ REBOL [Title: "Sample"] print now] > blah blahblah blah > blah blah > > Strangely enough, the Script? function that Yos pointed out seems to give a > useful result in this case - the beginning of the embedded script, but not > when the script is not embed

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Al TS
Thanks Brett for explanations. I think it is simpler for Sunanda to work with embedded script with the script function i give you than parsing for header and content information like script? do (script? is a native and we can't see the source). So we add [ at start and ] at end of temp.r exampl

[REBOL] Re: COLLECTing results

2003-11-28 Thread Brett Handley
Interesting versions. I first thought of collect when I was thinking about map. One downside of map is that generally it requires a simple series as input, whereas looping functions can have more flexibile iterations. Map also often needs to be given a custom function which seems like overkill.

[REBOL] Re: REBOL and live video

2003-11-28 Thread Petr Krenzelok
Carlos Lorenz wrote: >Hi list, > >I have this TV card on my PC and I'd like to know >if it is possible to write REBOL scripts that could capture live video >from this card >thanks >Carlos > > > > :-) What does it mean "capture" ? Well, if you would like to apply some effect, transitions using

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Brett Handley
> I was trying to think of a way of safely doing this myself, so your script > has given me hope that it is possibleWe just need to solve the bad preamble > problem, It would be better to have it fixed, but if you need the workaround I'm pretty sure it could be done with Parse and using a par

[REBOL] REBOL and live video

2003-11-28 Thread Carlos Lorenz
Hi list, I have this TV card on my PC and I'd like to know if it is possible to write REBOL scripts that could capture live video from this card thanks Carlos -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread SunandaDH
Thanks Yos, > I use this on View 1.2.1 maybe could help you Unfortunately, it fails if the preamble (stuff before the REBOL header) contains invalid words, If you try it on the test script below, you'll see what I mean: ===save next lines as temp.r=== A preamble: there is text before header,

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Al TS
I use this on View 1.2.1 maybe could help you. REBOL [] script: get in context [script: func ["^/" File /header /content /compress /decompress /local script ] [script: system/words/read File script: loa

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread SunandaDH
Thanks Gabriele > Looks like a bug to me... I'll report it to feedback. My last email should have said: Trouble is. my prettyprinter would seem to be only able to load scripts that run under the same version that it does if the target script has a needs header entryAnnoying or what? S

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Gabriele Santilli
Hi SunandaDH, On Friday, November 28, 2003, 10:07:23 AM, you wrote: Sac> We might be seeing different behaviour on different versions of REBOL -- I'm Sac> looking at Win and Unix. It looks to me like the header is *always* Sac> evaluated, including the needs check, despite the /all refinement.

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread SunandaDH
Thanks Anton and Max Anton: > In my tests it looks like the needs block isn't evaluated, > just examined. We might be seeing different behaviour on different versions of REBOL -- I'm looking at Win and Unix. It looks to me like the header is *always* evaluated, including the needs check, des

[REBOL] Re: [bug?] Problem with 'load

2003-11-28 Thread Gabriele Santilli
Hi SunandaDH, On Thursday, November 27, 2003, 10:49:49 PM, you wrote: >>> load/all/header "rebol [needs: [1.2.1 ]]" Sac> ** Script Error: This script needs or better to function correctly Sac> ** Near: load/all/header "rebol [needs: [1.2.1 ]]" Looks like a bug to me... Regards,

[REBOL] Re: Problem with Rebol in a LAN & How do you ping in Rebol?

2003-11-28 Thread Gabriele Santilli
Hi Mauro, On Thursday, November 27, 2003, 8:12:20 PM, you wrote: MF> I should have the proper net setup, though I have not set any proxy server. Actually I don't think SET-NET has anything to do with your problem, as long as you're just using tcp:// . And I don't think you'll need a pr