[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Carl Read
On 13-Nov-03, Brett Handley wrote: >>> Does that work for you, Ashley? >> >> No, but see above. > Hmm.. > Thinking more on this, given the whole NLST handling (if empty? > file-list []) is a second bite of the cherry at getting a > directory list, and if you can assume that your FTP server

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Carl Read
On 13-Nov-03, Ashley Trüter wrote: > Hi Brett, >> Carl and Ashley - thanks for testing my attempt at a patch. I think >> that parse-dir-list function now needs a ridiculous amount of >> debugging statements added to identify the exact error point and a >> port guru added to interpret them! :-)

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Brett Handley
> > Does that work for you, Ashley? > > No, but see above. Hmm.. Thinking more on this, given the whole NLST handling (if empty? file-list []) is a second bite of the cherry at getting a directory list, and if you can assume that your FTP server will always respond to the LIST command in a w

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Brett Handley
Hi Carl, > Okay - have now. I found the difference between the empty directories > on the two sites was that Nebularis was returning something so > file-list wasn't an empty string, unlike the other site. Changing > the original parse-dir-list from... So, the Nebularis admin has changed his FT

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Ashley Trüter
Hi Brett, > Carl and Ashley - thanks for testing my attempt at a patch. I think that > parse-dir-list function now needs a ridiculous amount of debugging > statements added to identify the exact error point and a port guru added > to interpret them! :-) Sounds like a job for . . . RT perhaps? A

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Carl Read
On 13-Nov-03, Carl Read wrote: > I've still not had time to play with parse-dir-list myself. Will get > there though. Okay - have now. I found the difference between the empty directories on the two sites was that Nebularis was returning something so file-list wasn't an empty string, unlike the

[REBOL] Re: Another coffee break problem?

2003-11-12 Thread patrick.philipot
Thanks Anton, I always use 'for and it's a bad habit. I'll try to use more repeat. Regards Patrick - Original Message - From: "Anton Rolls" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 12, 2003 11:50 AM Subject: [REBOL] Re: Another coffee break problem? > > Y

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Brett Handley
> > Carl and Ashley could you incorporate the code below and test it please: > > No luck with the "empty dir" problem. ;( Carl and Ashley - thanks for testing my attempt at a patch. I think that parse-dir-list function now needs a ridiculous amount of debugging statements added to identify the ex

[REBOL] Re: Signal handling.

2003-11-12 Thread Gregg Irwin
Hi Bruno, BGA> I have View/Pro, but the machine where I am running it has no X-Server BGA> at all. Would it work with Rebol/Core by any chance? Yes. Core 2.5.6 includes the system port. I forgot about that. -- Gregg -- To unsubscribe from this list, just send an email

[REBOL] Re: Standardised patches

2003-11-12 Thread Brett Handley
> Ok, I've just joined (BTW nice functionality). I'll start posting my patches > there. First patch posted - yippee! Regards, Brett. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Signal handling.

2003-11-12 Thread Anton Rolls
At bottom is the post of Carl Sassenrate from October last year. Anton. > Hello. > > Is there any way to handle signals sent to a rebol script? I have this > script that *MUST* clean-up when receiving a SIGTERM. > > Thanks. > > -Bruno Here is a short script that uses the REBOL system-port to in

[REBOL] Re: can i use rebol with hotmail.com?

2003-11-12 Thread Anton Rolls
The quick answer is no. I am sure it is possible, though. Aren't they using SOAP on MS hotmail? And that uses xml (therefore able to be parsed by rebol?) Anton. > if yes, please tell me the set-user email settings that i should use, or > should i use the proxy setup? > tia for any advice. > bo

[REBOL] Re: Signal handling.

2003-11-12 Thread Bruno G. Albuquerque
On Wed, 12 Nov 2003 15:18:12 EST, [EMAIL PROTECTED] said: > > Is there any way to handle signals sent to a rebol script? I have > > this > > script that *MUST* clean-up when receiving a SIGTERM. > > Just a guess. Can you trap a SIGTERM with an event handler? This > example > traps a close

[REBOL] Re: Signal handling.

2003-11-12 Thread Bruno G. Albuquerque
On Wed, 12 Nov 2003 13:03:13 -0700, Gregg Irwin < [EMAIL PROTECTED]> said: > BGA> Is there any way to handle signals sent to a rebol script? I > have this > BGA> script that *MUST* clean-up when receiving a SIGTERM. > > You can use the system port in View/Pro or SDK. I have View/Pro, but the m

[REBOL] Re: DLL Hell = Rebol library script version

2003-11-12 Thread Anton Rolls
That's not quite how I remember it. "Marketing reasons" means people asked for it. Anton. > ... I also remember someone stating, that current state (product > diferentiation) is so because of marketing reasons. So - don't you hate > when marketing stands in the way of technology? ;-) > -pekr-

[REBOL] Re: Opening Specific Ports

2003-11-12 Thread Anton Rolls
Yes, in this case you have *two* connections, and so, four ports. But you only care about the server-side port numbers. In FTP, the ftp server acts first as a server, but when a client requests information, the server connects back to the client as a "client". Other programs like peer-to-peer fil

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Ashley Trüter
Hi Brett, > Carl and Ashley could you incorporate the code below and test it please: No luck with the "empty dir" problem. ;( >> URL Parse: userid password www.site.com.au none public_html/test3/ none Net-log: ["Opening" "tcp" "for" "FTP"] connecting to: www.site.com.au Net-log: [ none ["2

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Carl Read
On 12-Nov-03, Brett Handley wrote: > Having got success with Ashley's problem, I've had another stab at > Carl's and I think I may have it - but I can't duplicate the > original problem so I'm running blind here. > First I think Scott was right about the port. > Second I think Anton was right ab

[REBOL] can i use rebol with hotmail.com?

2003-11-12 Thread bob hammond
if yes, please tell me the set-user email settings that i should use, or should i use the proxy setup? tia for any advice. bob h _ >From Beethoven to the Rolling Stones, your favorite music is always playing on MSN Radio Plus. No

[REBOL] Latest library loader script

2003-11-12 Thread Andrew Martin
Plus, it uses a dialect (sort-of), and has no infinite loops! Thanks to Anton, Gregg and Volker. [ Rebol [ Name: 'Values Title: "Values" File: %"Values.r" Author: "A J Martin" Owner: "Aztecnology" Rights: "Copyright (c) 2003 A J Martin, Aztecnology

[REBOL] Re: Standardised patches

2003-11-12 Thread Brett Handley
Hi Gregg, > REBOL.org has a tag for patches, and we're looking at a bug database Ok, I've just joined (BTW nice functionality). I'll start posting my patches there. I guess the "Tested-under" library header can be used to create the version specific compilations I wrote about. > as well. Graha

[REBOL] Re: Another coffee break problem?

2003-11-12 Thread Ladislav Mecir
Hi, how about this one: basic-magic: [ [0 8 4] [7 3 2] [5 1 6] ] permuts: [[1 2 3] [1 3 2] [2 1 3] [2 3 1] [3 1 2] [3 2 1]] id: func [block] [reduce [block/1 block/2]] swap: func [block] [reduce [block/2 block/1]] magic: copy/deep basic-magic

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Volker Nitsch
Am Mittwoch, 12. November 2003 04:27 schrieb [EMAIL PROTECTED]: > >> do/protect protected-user.r > >> > >> Does this makes sense to any of you? > >> > >> is there already a way to do so? > > > >do/protect protected-user.r > >-> > >secure[file [allow read]] > >do %protect-user.r > > I'm not sure t

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Volker Nitsch
Am Mittwoch, 12. November 2003 19:17 schrieb Gregg Irwin: > Hi Petr, > > PK> Maybe off-topic - but some time ago there was mention of so called > PK> memory-mapped files. What is that? > > Under Windows (not sure about other OSs) an MMF (Memory Mapped File) > is a "view" of a disk file mapped into

[REBOL] Re: Signal handling.

2003-11-12 Thread SunandaDH
Bruno: > Is there any way to handle signals sent to a rebol script? I have this > script that *MUST* clean-up when receiving a SIGTERM. Just a guess. Can you trap a SIGTERM with an event handler? This example traps a close event. Not want you want, but maybe SIGTERMS come your way too. unvi

[REBOL] Re: Signal handling.

2003-11-12 Thread Gregg Irwin
Hi Bruno, BGA> Is there any way to handle signals sent to a rebol script? I have this BGA> script that *MUST* clean-up when receiving a SIGTERM. You can use the system port in View/Pro or SDK. -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PRO

[REBOL] Signal handling.

2003-11-12 Thread Bruno G. Albuquerque
Hello. Is there any way to handle signals sent to a rebol script? I have this script that *MUST* clean-up when receiving a SIGTERM. Thanks. -Bruno -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Standardised patches

2003-11-12 Thread Gregg Irwin
Max, Brett et all MOA> Is anyone (rebol.org) up to generating a public (open to MOA> any project), peer reviewing framework ? REBOL.org has a tag for patches, and we're looking at a bug database as well. Graham's REP site has a draft prototype for bug entries that could be pressed into service a

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Gregg Irwin
Hi Petr, PK> Maybe off-topic - but some time ago there was mention of so called PK> memory-mapped files. What is that? Under Windows (not sure about other OSs) an MMF (Memory Mapped File) is a "view" of a disk file mapped into memory. Multiple processes can share mappings and so share data in me

[REBOL] json

2003-11-12 Thread bry
http://www.crockford.com/JSON/index.html in our continuing permathread on integrating Rebol with other systems etc. take a look at json. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Rep:Re: Curiosity

2003-11-12 Thread Carlos Lorenz
François, Em Quarta 12 Novembro 2003 11:12, Francois Vanzeveren escreveu: > THis was due to the encoding used by default in ly editor: UTF-8. >I switch to ISO Latin, and everything is fine on both Linuw and Windows! Sorry but i know nothing about this. I'd appreciate if you could talk a littl

[REBOL] Re: Curiosity

2003-11-12 Thread Steven White
At work: I use it for some simple automated email on an IBM RS6000 (AIX). I have it on a LINUX computer, but I use it mostly on a Windows computer just because that computer has two monitors and is thus easier to use. At home: I have it on a LINUX computer, but because of space limitations that

[REBOL] Re: Standardised patches

2003-11-12 Thread Maxim Olivier-Adlhoch
I think I've finaly caused a good stir... that's the kind of talk I like:-) taking of problems we can, to let RT concentrate on those which we can't. Is anyone (rebol.org) up to generating a public (open to any project), peer reviewing framework ? -MAx --- "You can either be part of th

[REBOL] stats jinman@uwf.edu

2003-11-12 Thread John W. Inman Jr.
-- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Steven White
I see that I have a long way to go to reach REBOL mastery. >>> [EMAIL PROTECTED] 11/10/03 03:12PM >>> Hi Steven, What Ingo suggested should work for you. See below. -- Gregg REBOL [] mark-my-words: context [ init: does [query/clear system/words] dump: does [

[REBOL] Re: Curiosity

2003-11-12 Thread Carlos Lorenz
Hello Max, Yes, I am still having problems with foreign chars and /View. It seems REBOL/View under Linux only accepts US keyboard entries and when I try Brazilian keyboard everything goes wrong. Carlos Em Terça 11 Novembro 2003 08:56, [EMAIL PROTECTED] escreveu: > Windows only ! > > still hav

[REBOL] Rep:Re: Curiosity

2003-11-12 Thread Francois Vanzeveren
Hi Carlos, I had the same problem, both on Linux and Windows version. THis was due to the encoding used by default in ly editor: UTF-8. I switch to ISO Latin, and everything is fine on both Linuw and Windows! Regards François -Message d'origine- De: Carlos Lorenz <[EMAIL PROTECTED]> A:

[REBOL] Re: Curiosity

2003-11-12 Thread Didec
Re: Curiosity Core and View on Win2k, home and Work > Hello Max, > > Yes, I am still having problems with foreign chars and /View. > > It seems REBOL/View under Linux only accepts US keyboard layout entries. > > I'd like to know if there are other ppl in the list that use other keyboard > layou

[REBOL] Re: Standardised patches

2003-11-12 Thread Brett Handley
I've been thinking about this recently. I think standardised patches are a good idea. Kept in a simple archive of patch scripts that solve things like FTP protocol bugs etc. They should be held as a collection with each described by a simple comment, a REBOL test to allow someone to quickly dete

[REBOL] Re: Curiosity

2003-11-12 Thread Carlos Lorenz
Hello Max, Yes, I am still having problems with foreign chars and /View. It seems REBOL/View under Linux only accepts US keyboard layout entries. I'd like to know if there are other ppl in the list that use other keyboard layouts than US (under Linux running X11 and KDE) facing the same proble

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Volker Nitsch
Am Mittwoch, 12. November 2003 11:49 schrieb Anton Rolls: > Shouldn't that be a rom scheme, then? > eg: rom://file > > Or was the read-only an option? > The read-only is by 'secure, not the scheme. But you can switch the scheme to work as ramdisk or write back to disk. so you can work ram-only

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Brett Handley
> I wonder, does that mean that the server is actually sending three > lines at least? I see the - in the second line too. (I'd have to > check the RFCs on FTP etc, at least before talking about them... I would say so - what a chatty server! :-) This from RFC 959: Thus the format f

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Petr Krenzelok
Anton Rolls wrote: >Shouldn't that be a rom scheme, then? >eg: rom://file > > and I want zip://file :-) Maybe off-topic - but some time ago there was mention of so called memory-mapped files. What is that? -pekr- >Or was the read-only an option? > >Anton. > > > >>for ram-cache, i wrote a

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Gabriele Santilli
Hi Brett, On Wednesday, November 12, 2003, 11:56:19 AM, you wrote: BH> You may have missed my email with the solution - I didn't get it sent back BH> to me. But you can see it on the REBOL website list page here: Yup, saw it after sending my mail. I didn't recall about /multiline at t

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Brett Handley
Hi Gabriele, > My guess is that the server is sending TWO lines of answer, i.e.: > > 226-66555.9 Mbytes free disk space > 226-File successfully transferred Spot on. > but REBOL only expects and picks one. On the subsequent operation, > it picks the second line, but of course this confuses it

[REBOL] Re: Looking over the horizon - Rebol 3

2003-11-12 Thread Anton Rolls
Shouldn't that be a rom scheme, then? eg: rom://file Or was the read-only an option? Anton. > for ram-cache, i wrote a ramdisk-scheme long ago. which loaded > missing files > from disk and cached. eventually i find it, if you ask. but since > it was very > simple and there are some scheme-

[REBOL] Re: Another coffee break problem?

2003-11-12 Thread Anton Rolls
You can simplify this to: repeat i 9 [ Anton. > for i 1 9 1 [ > Patrick -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Brett Handley
Having got success with Ashley's problem, I've had another stab at Carl's and I think I may have it - but I can't duplicate the original problem so I'm running blind here. First I think Scott was right about the port. Second I think Anton was right about data-connect. I think that data-connect c

[REBOL] Re: DLL Hell = Rebol library script version

2003-11-12 Thread Anton Rolls
If you provide a script that just works, and I don't have to think much about install issues, then I won't hate it, I promise. :) Anton. > I just can't sit and look at time pass, Steel has to > move on and it basically depends on linkable libraries, since its > tools are so huge. Just let me

[REBOL] Re: crash: root block overflow

2003-11-12 Thread Anton Rolls
Thanks, I will try. Anton. > disable the garbage collection and you might get another error > message which is sometimes more descriptive of the real problem... > > really, I've tried this a few times and I was suprised by the > suddenly meaningfull error I got. I guess it depends on the error

[REBOL] Re: Reading empty directories via FTP error

2003-11-12 Thread Gabriele Santilli
Hi Ashley, On Wednesday, November 12, 2003, 2:09:56 AM, you wrote: AT> Net-log: "226-66555.9 Mbytes free disk space" >>> write site/test/b2 "b" AT> URL Parse: userid password www.site.com.au none public_html/test/ b2 AT> ** User Error: Server error: FTP 226-File successfully transferred AT> ** N

[REBOL] Re: Opening Specific Ports

2003-11-12 Thread Gabriele Santilli
Hi Matt, On Tuesday, November 11, 2003, 8:38:49 PM, you wrote: MM> I'm making a client software for other users. I need to somehow limit the MM> ports that rebol will try to open on their computers so that their company MM> firewalls can be configured to allow access over those ports. Or am I

[REBOL] Re: DLL Hell = Rebol library script version

2003-11-12 Thread Petr Krenzelok
Volker Nitsch wrote: >Am Dienstag, 11. November 2003 19:57 schrieb Petr Krenzelok: > > >>Robert M. Münch wrote: >> >> >>>On Tue, 11 Nov 2003 09:28:36 +1300, Andrew Martin >>> >>><[EMAIL PROTECTED]> wrote: >>> >>> When distributing a Rebol script, include all the functions (wor

[REBOL] Re: Opening Specific Ports

2003-11-12 Thread Anton Rolls
Yeah, I think it's not a big issue. I think when you connect to a web server on port 80, that's port 80 on the *server* computer side. Who cares which port your client machine connects to it with. You could have ten programs, each making requests on different ports to the same port 80 web server.

[REBOL] Re: Library loader

2003-11-12 Thread Anton Rolls
I think the problem is that the stack of files you maintain does not include any information about dependencies, so you can't check later that they have been provided for. The stack is a simple list of files that only tells you in what order to do them. Perhaps you can maintain two lists: - All-P

[REBOL] Re: Curiosity

2003-11-12 Thread bryan
> > Hi list, > > I am very curious about to know > how many of us use REBOL under Linux > and how many use REBOL under Windows > both at work and at home. > Would you mind answer a this? > Thanks > Carlos > view/pro under various Windows. Core under Linux. -- To unsubscribe from this list

[REBOL] Rep:Re: Curiosity

2003-11-12 Thread Francois Vanzeveren
Hi, I am using Linux for development purpose, and my wife will be using a rebol application (kind of CRM) I made for her Social Center (i am not sure if this is correct english...) on Win98. Regards François -Message d'origine- De: "Brett Handley" <[EMAIL PROTECTED]> A: <[EMAIL PROTECT