[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Carl Read
On 14-Nov-03, Brett Handley wrote: Here you go then (watch line wrap) - try these together Run each with a PRINT DO X in a new sessnon - before you try FTP. http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=p atch-ftp-226-handling.r

[REBOL] Re: Adding icons

2003-11-14 Thread Gregg Irwin
Hi Paul, PT REBOL SDK says that we can use: PT 16x16 16 colors PT 32x32 16 colors PT 32x32 256 colors PT 48x48 256 colors The beta SDK had all four formats, but the new release doesn't it seems. No 32x32/256 color resource now, which is a shame. We can create really stunning

[REBOL] Re: Standardised patches

2003-11-14 Thread SunandaDH
Thanks Andrew, I've sent in mine direct to Sunanda. That's because I haven't figured out how the Rebol.org accepts submissions yet. :( The patches database grows!: http://www.rebol.org/cgi-bin/cgiwrap/rebol/search.r?filter=patches Sunanda. -- To unsubscribe from this list, just send an

[REBOL] Using 'wait with a series of ports

2003-11-14 Thread Seth
Thanks to all who answered my first question regarding the MUD I am coding! I have toyed around with this more and I am running into an issue. Code: server: open/lines tcp://:23 ; listen for connections clients: copy [] insert clients server Then obviously client/1 = server But if lower

[REBOL] Re: json

2003-11-14 Thread Gabriele Santilli
Hi Anton, On Friday, November 14, 2003, 2:07:29 AM, you wrote: AR That's pretty nice, but, as I was going AR to ask Gabriele, how do you handle unicode AR strings? You wait till RT releases a version of REBOL supporting Unicode. ;-) More seriously, I think I have seen some code posted to

[REBOL] Re: Using 'wait with a series of ports

2003-11-14 Thread Anton Rolls
server: open/lines tcp://:23 ; listen for connections clients: copy [] insert clients server Then obviously client/1 = server But if lower down I have... connection: wait/all clients How do I determine the position of the port in the 'clients series? Just use find like any other

[REBOL] Re: json

2003-11-14 Thread bryan
Probably have to start from this http://www.reboltech.com/library/html/utf-8.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anton Rolls Sent: Friday, November 14, 2003 2:07 AM To: [EMAIL PROTECTED] Subject: [REBOL] Re: json That's pretty nice,

[REBOL] Re: Using 'wait with a series of ports

2003-11-14 Thread Maarten Koopmans
Hi Code: server: open/lines tcp://:23 ; listen for connections clients: copy [] insert clients server Then obviously client/1 = server But if lower down I have... connection: wait/all clients either server = connection [ it 's the server that has a new client ready, do a first

[REBOL] Re: Reading empty directories via FTP error

2003-11-14 Thread Romano Paolo Tenca
Hi Brett, As I understand it, Catch does not trap errors at all, yet the FTP protocol code has error? catch in multiple places through the code. As users we can wrap our FTP stuff in a Try or Attempt to protect ourselves, but still the FTP code may fall apart unreasonably early.

[REBOL] Re: Reading empty directories via FTP error

2003-11-14 Thread Romano Paolo Tenca
Correction: I have another point: why it tests only the 5, NLIST is like LIST, LIST waits a 2 class answer, the same should be for NLIST. class 1 Now i'll check the rfc for this. --- Ciao Romano -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as

[REBOL] Re: json

2003-11-14 Thread Romano Paolo Tenca
Hi Anton, That's pretty nice, but, as I was going to ask Gabriele, how do you handle unicode strings? I forgot to say: Unicode is left to the user as an exercise :-) I wrote the code to see how bnf is near to the parse grammar. I must say that has been very easy to convert the bnf

[REBOL] Re: Reading empty directories via FTP error

2003-11-14 Thread Brett Handley
See in get-cur-dir: net-error reform [Server error: port/scheme cd] By the way, get-cur-dir is an anomaly too - it is missing a net-log of the stimulus and of the server's actual response. the error is thrown, so if you use try, the error by-pass your try: error? try [net-error ]

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Brett Handley
Hi Carl, I tried them and ftp worked with no problems on the two sites I've talked about till now. But I have access to one other server, so yesterday I thought I'd try it with your parse-dir-list fix - but imediately noticed access via REBOL's FTP wasn't returning all the file-names in

[REBOL] Simple debugging tool

2003-11-14 Thread Coussement Christophe
Hi list, [Warning: long post] Although debugging in REBOL stays simple (think about '?, '?? and other probe), we had the need to add some functionalities to it for our project developments. I did hack in this 'debug function this morning, which is pretty simple to use and did help us to debug

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Maxim Olivier-Adlhoch
might want to include the stuff I did to enable CHMOD after xfer... -MAx -Original Message- From: Brett Handley [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 9:33 PM To: [EMAIL PROTECTED] Subject: [REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

[REBOL] to-date

2003-11-14 Thread Matt MacDonald
Stupid question, maybe: Are there any circumstances where to-date would return a string?? Because that's what's happening in my code and I can't figure out why info/date --- string version of the date print type? to-date info/date -- returns string! Matt

[REBOL] need help with comparison operator evaluation

2003-11-14 Thread Steve Vondrasek
Greetings, It seems like I always have the hardest time trying to do the simplest things. For instance in the code snipet below the not equal comparison EXTENSION-IN .txt always evaluates to true and always appends .txt to the end of the string even if there's already .txt at the end

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread Arie van Wingerden
Hi Steve, AFAIK you need to remove the [ ] around the condition in the IF statement. Have a look at http://www.rebol.com/docs/words/wif.html Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From:

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Romano Paolo Tenca
Where is your ftp stuff? --- Ciao Romano -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread Steven White
Regarding your statements: INPUT-FILE: make string! INPUT-FILE etc., are you trying to convert the words INPUT-FILE and OUTPUT-FILE to strings for examination, and then to file names for reading? If so, I believe that the make function is not the one for the job, and might be clobbering the

[REBOL] Re: to-date

2003-11-14 Thread SunandaDH
Matt: info/date --- string version of the date print type? to-date info/date -- returns string! Sounds strange. One possibility . Could you have redefined to-date ? from-date: last tuesday to-date: tomorrow print type? to-date info/date ==string [value of info/date] You

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread Maxim Olivier-Adlhoch
this works for me: INPUT-FILE: ask enter filename: ext: either ((length? INPUT-FILE) 3) [ copy at INPUT-FILE((length? INPUT-FILE) - 3) ][ ] print ext if ext .txt [INPUT-FILE: append INPUT-FILE .txt] print INPUT-FILE

[REBOL] text-list...again

2003-11-14 Thread Matt MacDonald
Is there a way to not have the text list drop the last word on the line if it doesn't fit but instead just don't show the characters that don't fit? Matt _ Great deals on high-speed Internet access as low as $26.95.

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread Tom Conlin
Howdy, On Sat, 15 Nov 2003, Steve Vondrasek wrote: Greetings, It seems like I always have the hardest time trying to do the simplest things. For instance in the code snipet below the not equal comparison EXTENSION-IN .txt always evaluates to true and always appends .txt to the

[REBOL] Re: Serial-Ports Linux / Psion Link Protocol

2003-11-14 Thread Bohdan or Rosemary Lechnowsky
Frank, I use my Psion S5 every day and I do keep my work log on it, so it would be handy to have the psion:// protocol to help automate the process. Now if you have functions to convert Psion Sheet files to CSV and CSV files back to Psion Sheet, that would be even better! ;-) I worked on

[REBOL] Re: to-date

2003-11-14 Thread Gregg Irwin
Hi Matt, MM Are there any circumstances where to-date would return a string?? I've never seen that happen. In addition to what Sunanda said, try using to date! in place of to-date and see what you get. -- Gregg -- To unsubscribe from this list, just send an email to

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread Gregg Irwin
Hi Steve, Arie nailed your problem, so I'll just add a couple notes if I may. SV INPUT-FILE: ask Enter name of file with numbers to be processed: comment { user enters owwnumbers.txt } SV OUTPUT-FILE: ask Enter name of output file: SV INPUT-FILE: make string! INPUT-FILE SV OUTPUT-FILE:

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Maxim Olivier-Adlhoch
I had sent it to the list a while ago. I guess I'll just fix something I think is wrong with the way I'm sending the command and upload it to rebol.org... now if I can just remember my password... ;-) I'll do it tonight. -MAx --- You can either be part of the problem or part of the

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread A J Martin
Steve wrote: if [EXTENSION-IN .txt] [append INPUT-FILE .txt ] One thing that can help in the conversion to Rebol and to aid one's understanding, is to swap the first square brackets with parenthesis, like: if (EXTENSION-IN .txt) [append INPUT-FILE .txt ] Andrew J Martin Speaking in tongues

[REBOL] Re: need help with comparison operator evaluation

2003-11-14 Thread A J Martin
Now, the next step would be to generalize this stuff in case you need it again in the future: change-suffix: func [ {Changes the suffix of the string and returns the updated string.} string [any-string!] The file, url, string, etc. to change. suffix

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Carl Read
On 15-Nov-03, Brett Handley wrote: Hi Carl, I tried them and ftp worked with no problems on the two sites I've talked about till now. But I have access to one other server, so yesterday I thought I'd try it with your parse-dir-list fix - but imediately noticed access via REBOL's FTP

[REBOL] Take me off

2003-11-14 Thread John-Harbaugh
Dr. J. J. One Eyed CrackerJack Harbaugh -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: FTP scheme was Re: Reading empty directories via FTP error

2003-11-14 Thread Brett Handley
I get a file-not-found with that I'm afraid. URL wrong or script not uploaded, perhaps? Oops - rectified now. Regards, Brett -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] PLEASE REMOVE ME

2003-11-14 Thread john
I have un-subscribed from this list several times, and several times been told that I am no longer a member. I will keep sending this E-Mail until someone takes me off the list. [EMAIL PROTECTED] [EMAIL PROTECTED] -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with

[REBOL] Re: PLEASE REMOVE ME

2003-11-14 Thread Gregg Irwin
Hi John, j I have un-subscribed from this list several times, and several j times been told that I am no longer a member. j I will keep sending this E-Mail until someone takes me off the list. Please don't. None of us here have any control over that. I know RT gets buried under lots of mail at

[REBOL] Re: PLEASE REMOVE ME

2003-11-14 Thread John-Harbaugh
I found two personal email addresses for them, they are not responding. This is going on fop over a week now. It is tandamount to SPAM. Dr. J. J. One Eyed CrackerJack Harbaugh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregg Irwin Sent: