[REBOL] Detecting connection closed.

2004-05-11 Thread Bruno G. Albuquerque
Is there any way (without using 'wait) to datect if a tcp connection has been closed? If I try to 'insert into a port that has been closed by the peer it won't generate an error or anything. Ideas? -Bruno -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with

[REBOL] Source code modules.

2004-03-31 Thread Bruno G. Albuquerque
Hello. So, I am working on one project where I will need a way to create modules of Rebol code that will be loaded by a main script. How would I go about loading those modules from disk in a way that would be easy to access that code in the main script? This is what would happen: 1 - Scan a

[REBOL] Re: Source code modules.

2004-03-31 Thread Bruno G. Albuquerque
Hey Gregg. Please do. Unfortunatelly what I need is a lot simpler than what STELL provides so there is no point in using it (although STEEL looks really cool). I guess the real problem I have is that I don't know how to include the code that is in a module file in a way it would be bound to a

[REBOL] Re: Source code modules.

2004-03-31 Thread Bruno G. Albuquerque
To: [EMAIL PROTECTED] Subject: [REBOL] Re: Source code modules. On Wed, 31 Mar 2004 10:47:41 -0300 (BRT), Bruno G. Albuquerque [EMAIL PROTECTED] wrote: Hello. So, I am working on one project where I will need a way to create modules of Rebol code that will be loaded by a main

[REBOL] Re: Source code modules.

2004-03-31 Thread Bruno G. Albuquerque
this is untested, but should work IIRC. -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Bruno G. Albuquerque [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 12:27 PM

[REBOL] Rebol Plugin and Proxies.

2004-03-25 Thread Bruno G. Albuquerque
So, following recommendations I donwloaded HTTHOST/HTTPORT and it is installed and working without problems. When I try to access the Rebol Plugin page, the plugin installs itself and, then, tries to download and run the test script... Here it fails: ** User Error: Error. Target url:

[REBOL] Re: Rebol Plugin and Proxies.

2004-03-25 Thread Bruno G. Albuquerque
Well, I can not access AltMe from work either. The problem is the same, proxy support. -Bruno Petr Krenzelok disse: Hi Bruno and others, are you on Altme world? Maybe it would be better for those wishing to help with the project to join in - the discussion there is faster and josh may

[REBOL] Date math bug?

2004-03-24 Thread Bruno G. Albuquerque
test1: 24-Mar-2004/00:00:01-3:00 == 24-Mar-2004/0:00:01-3:00 test2: 23-Mar-2004/00:00:02-3:00 == 23-Mar-2004/0:00:02-3:00 probe test1 - test2 1 == 1 test1: now == 24-Mar-2004/10:11:04-3:00 test2: now == 24-Mar-2004/10:11:09-3:00 probe test1 - test2 0 == 0 Am I missing something? -Bruno

[REBOL] Error string?

2004-03-18 Thread Bruno G. Albuquerque
Hello. Having an error object, what would be the best way to retrieve the exact error text tha would be returned by Rebol? I went as far as getting the block it uses (get error-block/id) but I could ot figure out a way to convert this block to the final string Reol would display (i.e.

[REBOL] Re: Error string?

2004-03-18 Thread Bruno G. Albuquerque
Thanks! -Bruno On Thu, 18 Mar 2004 21:28:12 +0100, Gabriele Santilli [EMAIL PROTECTED] said: Hi Bruno, On Thursday, March 18, 2004, 9:00:10 PM, you wrote: BGA Having an error object, what would be the best way to retrieve the exact BGA error text tha would be returned by Rebol? I

[REBOL] Re: Announcement: REBOL/Plugin Beta-1 Released!

2004-03-12 Thread Bruno G. Albuquerque
hanks for the updated version. Unfortunatelly it still does not work here. I guess it is because our proxy requires NTLM authentication and REBOL does not support that. -Bruno Josh Mitts disse: Hello everyone! We are pleased to announce the Beta-1 release of REBOL/Plugin. REBOL/Plugin is

[REBOL] Re: Wake up ;-)

2004-03-02 Thread Bruno G. Albuquerque
It looks it would work for me *IF* there was some way to configure it to use a proxy server. I guess what it should do is use whatever is set in the IE connection settings. -Bruno iNetW3 disse: Finally, a Plug-in But it's just not working for me. My IE settings are all correct. Has

[REBOL] Re: Wake up ;-)

2004-03-02 Thread Bruno G. Albuquerque
Petr Krenzelok disse: Can't load this or install it, seems to fail on install or have proxy problems. What you guys all are doing? W2K here, behind complicated proxy and firewall set-up, and works nicely here ... IE 5.50 Nothing, really. After installing and trying tro check the demo

[REBOL] Re: Wake up ;-)

2004-03-02 Thread Bruno G. Albuquerque
Maxim Olivier-Adlhoch disse: I don't even get the rebol window... I guess it only appears in the case of an error. does the plug-in expect a default install of rebol?. I don't think so. Based on the size of the plugin itself I would guess it has a complete REBOL interpreter inside it.

[REBOL] Re: Wake up ;-)

2004-03-02 Thread Bruno G. Albuquerque
Well, the problem being reported by me, at least, is simple. The plugin is not using a proxy server and need it to do so. :) Anyway, this is my configuration (I am sure it won't help). Windows 2000 SP4 Internet Explorer 6 (latest fixes applied) PIII 800 with 512 Mb -Bruno Jason Cunliffe

[REBOL] Re: Wake up ;-)

2004-03-02 Thread Bruno G. Albuquerque
/plugin try to install in? It tried to install, but can find it anywhere... Running Windows/XP with IE-6 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno G. Albuquerque Sent: Tuesday, March 02, 2004 1:56 PM To: [EMAIL PROTECTED] Subject: [REBOL

[REBOL] Comparing faces.

2004-02-10 Thread Bruno G. Albuquerque
So, I have this application that have 2 windows and I want to trap the 'close event on them. I am doing something like this: main-window: layout [ ... ] other-window: layout [ ... ] my-evt-func: func [ event face ] [ switch event/type [ close [ either face =

[REBOL] Re: Comparing faces.

2004-02-10 Thread Bruno G. Albuquerque
Hello Gabriele. Thanks for your answer. I tried it and it did not work. I added a probe in-window? main-window face as the first line on my-event-func so it is executed for any event that happens. Even with only the main-window opened that probe is resulting in false. I am puzzled. -Bruno

[REBOL] Telnet protocol scheme weirdness.

2004-02-03 Thread Bruno G. Albuquerque
Hello. I am using the Telnet protocol scheme to control a telnet session with a Rebol script. I am having one small problem that I didn't figured out how to fix: telnet: open telnet://xxx [...] insert telnet #{1B4F42} The end result is that the above line will send #{1B4F420D0A} to the

[REBOL] Re: Telnet protocol scheme weirdness.

2004-02-03 Thread Bruno G. Albuquerque
On Tue, 3 Feb 2004 15:06:23 +0100, Gabriele Santilli [EMAIL PROTECTED] said: BGA The end result is that the above line will send #{1B4F420D0A} to the BGA server instead of what I wanted it to (#{1B4F42}). I already tried to BGA change the open line to: I guess it is opening the

[REBOL] Handling interface events and tcp connections.

2003-12-10 Thread Bruno G. Albuquerque
Hello. Back to my never-ending problems on using Rebol (hey, I am learning!), I just hit another problem. I have this Rebol program that connects to a server, waits for it (the server) to send some data and when it receives this data it prints it. Now I need to create a view interface for it.

[REBOL] Text Area scroll.

2003-12-08 Thread Bruno G. Albuquerque
Hello. By know I learned how to use scroll bars in text areas to scroll the text inside it (vertically and horizontally). Now I need the scroll bars to auto-move to represent the current position being displayed in the text view when I use the cursor keys to move around the text. I also need to

[REBOL] Re: RSA Encryption

2003-11-13 Thread Bruno G. Albuquerque
On Thu, 13 Nov 2003 09:22:41 -0500, Matt MacDonald [EMAIL PROTECTED] said: Can someone please explain to me, in as few mathematical equations as possible, why RSA public/private encryption works? The way it looks to me in the documentation that came with REBOL, you have to send the

[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: 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 machine

[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 event.

[REBOL] Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
Hello. I have 2 values that would be mapped to each other. What I need to do is to be able to find the first valeu by searching for the ceond and locate the second by searching for the first. I did come up with solutions to that but I am not satisfied with any of the solutions. Is there a

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
firstvalue] == [1 2 1] select searchblock firstvalue == 2 select searchblock secondvalue == 1 select searchblock firstvalue == 2 select searchblock secondvalue == 1 Regards Patrick - Original Message - From: Bruno G. Albuquerque [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
/walias.html If not, can you supply some code, an example? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Bruno G. Albuquerque To: [EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:07 PM

[REBOL] Re: Bidirectional value mapping.

2003-11-03 Thread Bruno G. Albuquerque
stuff working (including DES encryption by loading the OpenSSL library and using it) under Rebol and I am now doing the proxy itself. Joel Neely disse: Hi, Bruno, I know of no way to avoid some duplication. See below. Bruno G. Albuquerque wrote: I have 2 values that would be mapped to each

[REBOL] TCP proxy code?

2003-10-22 Thread Bruno G. Albuquerque
Hello. Sometime ago there was a discussion on the list about how to proper clone data that arrives through a TCP connection to another TCP connection in the way the program could work as a TCP proxy. I searched the list archives but could not find it in teh Rebol or Escribe archives.

[REBOL] Re: NTFS Stream Fun

2002-08-09 Thread Bruno G. Albuquerque
In other words, BFS completelly smokes NTFS out. :) NTFS is not that bad. I like some features of BFS as well but IMO the NTFS is really a nice thing. I don't remember the title of a book (if you know it let me know it too) that tells the story about the NT development. Very good

[REBOL] Rebol under Windows XP.

2002-01-20 Thread Bruno G. Albuquerque
Hello. What is the correct approach to install Rebol/View in a Windows XP machine where there are 3 users (none of them with admin privileges) that would be using it? -Bruno -- Fortune Cookie Says: Ducharme's Precept: Opportunity always knocks at the least opportune

[REBOL] Re: My Statistical Thoughts on Monty Hall Problem (non-REBOL)

2001-12-20 Thread Bruno G. Albuquerque
From: [EMAIL PROTECTED] I think your logic might be flawed. LOL! :) No, it is not, I assure you. Now, the other guy excluded 9998 doors and the second group only has one door now... But as we saw above, the probabitily that the prize is in this second group is /1. So the

[REBOL] Re: My Statistical Thoughts on Monty Hall Problem (non-REBOL)

2001-12-20 Thread Bruno G. Albuquerque
From: alan parman [EMAIL PROTECTED] To: Bruno G. Albuquerque You are assuming the Monty Hall Problem is: Monty picks one door as winning door. You pick one door. MONTY OPENS ALL OTHER DOORS. Monty asks you to switch or keep. Hmmm? No, I am not. I am assuming that: 1 - You pick one door

[REBOL] Re: My Statistical Thoughts on Monty Hall Problem (non-REBOL)

2001-12-20 Thread Bruno G. Albuquerque
So my apologies Bruno...[ for doubting your logic :-) ] ...and please consider my choice to now be door 2. LOL! No problem at all. :) -Bruno -- Fortune Cookie Says: No problem is so large it can't be fit in somewhere. -- To unsubscribe from this list, please send an email to

[REBOL] Re: My Statistical Thoughts on Monty Hall Problem (non-REBOL)

2001-12-19 Thread Bruno G. Albuquerque
From: alan parman [EMAIL PROTECTED] Seems to me that switch/win probability = 2/3 is the same as saying that a fair coin will come up with heads or tails more often depending on which one is the winner. Please help me understand the difference between the two scenarios. Instead of thinking

[REBOL] Re: Playing sounds

2001-05-11 Thread Bruno G. Albuquerque
on CDs may look weird to people who is not used to it. :) Anyway, the WAV format exposed by cdda-fs is RIFF WAV. -Bruno -- Bruno G. Albuquerque [EMAIL PROTECTED] BeDevId #15362 Grupo Brasileiro de Usuários de BeOS - Presidente http://www.bug

[REBOL] Re: International REBOL Use

2001-05-03 Thread Bruno G. Albuquerque
per month) ;) -Bruno -- Bruno G. Albuquerque [EMAIL PROTECTED] BeDevId #15362 Grupo Brasileiro de Usuários de BeOS - Presidente http://www.bug-br.org.br Lockwood's Long Shot: The chances of getting eaten up by a lion on Main Street

[REBOL] Re: View/Pro docs updated

2001-04-19 Thread Bruno G. Albuquerque
in the UNIX world. -Bruno -- Bruno G. Albuquerque [EMAIL PROTECTED] BeDevId #15362 Grupo Brasileiro de Usuários de BeOS - Presidente http://www.bug-br.org.br And on the seventh day, He exited from append mode. -- To unsubscribe from this list, please send

[REBOL] Re: the answers

2001-03-27 Thread Bruno G. Albuquerque
for the operating system I love. Bring it on! You mean *WE* will be very happy. :) -Bruno -- Bruno G. Albuquerque [EMAIL PROTECTED] BeDevId #15362 Grupo Brasileiro de Usuários de BeOS - Presidente http://www.bug-br.org.br Have you noticed that all

[REBOL] International characters.

2001-01-24 Thread Bruno G. Albuquerque
Hello. First of all, I sent a similar email yesterday but it seems that it didn't get through. I have to convert an HTML page to WML. Most of the code is already done by I have a small problem: The HTML page is written in portuguese and so it has lots of accented characters (like "" ,

[REBOL] Converting characters.

2001-01-23 Thread Bruno G. Albuquerque
characters ("", for instance) using the iso-8859-1 charset. What I need is a script that will search the entire page for all those special chars and change them to their non-accented counterparts (so "" would become "e"). What would be the best way to do it? Th