[REBOL] Port Sniffer
Hello! I would like to capture the traffic to/from a web browser with a script in the middle. I recall that this has been asked on the list before, but I do not remember what was said. The approach I have in mind would be to have REBOL listening to all traffic through the network interface port (80) and forward all traffic through to the web browser configured to port 8080. Any feedback would be appreciated. Best regards, Peter -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Schemes, handlers and COM-ports
Hello! I am trying to write an application that talks/listens to my modem. The modem is identified as an internal Conexant Intl HSFi V92 MiniPCI Modem on COM4 on a Compaq Evo running Windows XP Pro. Maybe it is a little special since it is not really a COM-port but an internal WinModem mapped to COM4. I think I have to create an instance of the serial handler but don't know how. I have tried: modem: open/lines/no-wait/direct serial://port4/9600/8/none/1 ** Access Error: Invalid port spec: port4 ** Near: modem: open/lines/no-wait/direct serial://port4/9600/8/none/1 But maybe I have to define a new instance of the serial handler for com4? probe system/ports/serial [com1 com2] == [com1 com2] Could someone explain what I am doing wrong and also explain how schemes and handlers are used, where to find them in the system tree and where to find more information? Best regards, Peter Carlsson -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Schemes, handlers and COM-ports
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: 22-Jan-2004/21:19:34+1:00 Subject: [REBOL] Re: Schemes, handlers and COM-ports Peter Carlsson wrote: Hello! I am trying to write an application that talks/listens to my modem. The modem is identified as an internal Conexant Intl HSFi V92 MiniPCI Modem on COM4 on a Compaq Evo running Windows XP Pro. Maybe it is a little special since it is not really a COM-port but an internal WinModem mapped to COM4. I think I have to create an instance of the serial handler but don't know how. I have tried: modem: open/lines/no-wait/direct serial://port4/9600/8/none/1 ** Access Error: Invalid port spec: port4 ** Near: modem: open/lines/no-wait/direct serial://port4/9600/8/none/1 But maybe I have to define a new instance of the serial handler for com4? probe system/ports/serial [com1 com2] == [com1 com2] - system/ports/serial == [com1 com2] - append system/ports/serial [com3 com4] == [com1 com2 com3 com4] -pekr- Thanks! I will have a look! /Peter -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Reading raw printer input
Hello! Has anyone written a script for reading all data on the printer port? My modem is a WinModem but it is installed and works under Debian/Linux. It is a CNet PCI Modem CN5614RV which is based on the Conexant chip. I am not sure if the modem supports CallerID but the Conexant chip does so I would like to really see what's actually happens on the modem port when there is a dial in. Best regards, Peter Carlsson -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] IMAP examples
Hello! I did not find any information on the REBOL homepage about IMAP but the protocol seems to be implemented in REBOL 2.5.0.3.1 (Windows). probe next first system/schemes [default Finger Whois Daytime SMTP POP IMAP HTTP FTP NNTP] I would be very happy if someone could send me som examples of how to use it? Best regards, Peter Carlsson -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Problems with parsing
At 16:00 2001-11-30 +0100, you wrote: Hallo Peter, To all who helped me out with the parsing problem I finally found a solution by myself. Thanks a lot anyway! can you please share it with us if it's different? Well, I used another way to parse where I included some more rules. That's all. But I will have a look at the suggestions and see if I could use these instead. Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Re: Problems with parsing
Hello! To all who helped me out with the parsing problem I finally found a solution by myself. Thanks a lot anyway! Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Problems with parsing
Hello! Any suggestions on how to make a parse rule for text NOT including a special pattern? Crystal clear?!? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with unsubscribe in the subject, without the quotes.
[REBOL] Script arguments
Hello! When calling a script from within the console I don't manage to pass any arguments to the script. Passing arguments when starting up REBOL itself works but not when REBOL is already started. Could someone please help me? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Re: Welcome to the REBOL email list.
selma-source Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Problems calling 'external' functions
Hello! A couple of weeks ago I asked how to split a project in to several files. The solution was to 'do' all files to include them in the main file. This has worked fine until now... I now have created some files like: opcodes.r (includes a 'do %ea.r') ea.r test_opcodes.r (includes a 'do %opcodes.r') test_ea.r (includes a 'do %ea.r') In the test_* files I have prepared test cases to verify the functions in the other files. Executing the test_ea.r file is working fine and will call all functions in ea.r without problems but when I execute test_opcodes.r it does not execute the functions in ea.r. There are no error messages saying that no function by that name is found. Is there some sort of limit to how 'deep' a function call could be? I have tried to include a 'do %ea.r' in the test_opcodes.r as well but nothing changes. Could someone please help me? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Amiga PPC version?
Hello! Are there any plans on Amiga PPC versions of the REBOL products? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Calling external functions
Hello! I would like to thank everyone who helped me with this problem. The simple solution I needed was to 'do %script.r' within the main script. Thanks! /Peter Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Calling external functions
Hello! Currently I am working on a project that I would like to divide into several script files. I will then have one main script file from where I want to call functions in different files. How will I solve this? I have tried to 'load' the file but I can not evaluate a specific function within the file. Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Calling external functions Re:(2)
At 15:51 2000-05-18 +0200, you wrote: you must 'do' the file. if you do it the whole file is evaluated try to give each function in a single file Hello! Are you saying that I have to have only one function in each file?!? There must be some way to 'include' a whole script and then calling each function separately? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Reading binary file as 16-bit words
Hello! I need some help to read a binary file in to a series of 16-bit words. How can I do this easily? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Reading a file line by line
Hello! I need to read a BIG text file line by line but I don't know exactly how to do. As I understand the following will read the entire file to a list of lines and that is not what I want. lines: read/lines %textfile I want to read one line, process it before reading the next line and so on. Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Rebol System Variables
Hello! Sorry to bother you with this question again but a few weeks ago someone explained how to list all system variables in Rebol. I recall there was a script doing this but I don't remember the name. Is it explained elsewhere? Best regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Problems with parse
Hello! I'm having problems when I try to extract the URL and label in a bookmark file using the parse command. Could someone help me with this problem. It would also help if someone could explain the parse command in general as I have problems understanding the syntax. Best Regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se
[REBOL] Error handling
Hello! When reading an URL it sometimes is not valid or I can get a timeout which results in the script to abort. How will I do an error handler for this purpose? Best Regards, Peter Carlsson Peter CarlssonTel: +46 31 735 45 26 Saab Ericsson Space ABFax: +46 31 735 40 00 S-405 15 Göteborg Email: [EMAIL PROTECTED] SWEDENURL: http://www.space.se