World: r3wp
[!REBOL2 Releases] Discuss 2.x releases
older newer | first last |
BrianH 2-Jan-2010 [890x4] | Right. The manual is the official docs (which need some work still), and the rebol.net wiki is for community stuff. |
If you want to contribute to R2 development, get on R3 chat. The client is R3-only for now, but the server and message store will be the same when accessed from any other R3 or R2 clients, or web clients if we really want them. | |
For simplicity people refer to it as chat, but the server and message store is really DevBase 3. CHAT is just the name of the function built into R3 (and later R2) that calls a DevBase client script from some web server. | |
I put a full list of my changed and added features in the comments here: http://www.rebol.com/cgi-bin/blog.r?view=0447#comments Once someone tells me where to put it I will put that information on the web. | |
Graham 2-Jan-2010 [894x2] | You could create a hyperlink for each of your new functions to the manual pages :) |
Only take you a couple of mins to write the code to do that! | |
BrianH 2-Jan-2010 [896] | The next version should have support for the links to the online docs right from the R2 command line, just like R3. |
AdrianS 2-Jan-2010 [897] | will the word browser be updated with these for the next version? |
Graham 2-Jan-2010 [898x2] | >> cnt == 2 >> cnt == 2 >> val: -- cnt == 2 >> val == 2 >> cnt == 1 |
what's the point of returning the prior value instead of the new value? | |
joannak 2-Jan-2010 [900] | Hmm.. Kinda creepy.. but then there is word first+ and not first++ which would be logical.. |
BrianH 2-Jan-2010 [901] | FIRST+ was made first, a few years ago. ++ and -- were added months later. The prior vale is returned rather than the new value because it is the most useful thing to return. We're aware of the difference from C, but since postfix operations are impossible in REBOL we rather quickly remembered that C compatibility makes no difference to us whatsoever :) |
joannak 2-Jan-2010 [902] | Well. those aren't as creepy as those math words in Spin. That one has gone really creative. |
BrianH 2-Jan-2010 [903] | Spin? |
joannak 2-Jan-2010 [904x2] | It's the programming language specially made for Parallax Propeller.. It's speciality is that the bytecode-runtime fits under 2kbyte.. |
Runtime? nah. wrong word.. I shoud say bytecode.-running engine.. | |
BrianH 2-Jan-2010 [906] | Those are always fun :) |
joannak 2-Jan-2010 [907x2] | Just a question of Rebol docs.. (at this point Rebol2 preferred), If I want to find all necessary (and possible) stuff of Serial port, where shoud I look? I woudl like to set various speeds on Serial port, also control DTR line manually.. That kind of stuff is needed on Propeller Downloader since it uses DTR to toggle microcontrollers reset line. And if possible in a way it is portable (no DLLs ?). (page 4 ) http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/PropellerDatasheet-v1.2.pdf |
I know that the Source code is the most obvious place to look, but... Luckily this ain't anything I'd mandatorly need to do since there are some (allmost) ok tools for the chip, but it would be good to know where to look. | |
Graham 2-Jan-2010 [909x3] | google ... http://www.rebol.com/docs/changes.html#section-6.3 |
There are two additional port fields that can't be set with a URL, but can be set in a port specification block or by manually changing them. The RTS-CTS field specifies whether hardware handshaking should be used on the port. The default is ON. To change the default, do: ser-port/rts-cts: off update ser-port | |
dunno if that means you can toggle DTR or not. | |
joannak 2-Jan-2010 [912] | yep.. I noticed that page too.. And based on that one, it looks like that level of control is not at Rebol. I did that port: open thingy and then ? port ... it gives a huge list of parameters, but most of them seem to be more Ethernet/tcp related than Serial port.. |
Graham 2-Jan-2010 [913] | ask Brian if it can be added to Rebol 2.7.8 :) |
BrianH 2-Jan-2010 [914] | Post the request on CureCode once we have a R2 project for it. |
Graham 2-Jan-2010 [915] | definitive answer is here http://www.mail-archive.com/[rebol-list-:-rebol-:-com]/msg11178.html |
joannak 2-Jan-2010 [916] | Well.. If I had money on it, (or even dream of money) I would.. But that's not the case so it can be,, Holder Kruse? sounds awfully familiar.. |
Graham 2-Jan-2010 [917] | He used to work for Rebol Tech, and did the SSL implementation ... and prior to that was an Amiga networking guy |
joannak 2-Jan-2010 [918] | Ah.. Now I remember.. Some (many?) years ago people were trying to reach him so that they could register his net stack and get keyocdes.. (or ask him to release it free if he's not willing to sell it anymore).. AFIK neither happened.. Luckily there are some new (PPC) native stacks available. |
Graham 2-Jan-2010 [919] | Yep , that was him. |
joannak 2-Jan-2010 [920] | Btw.. he was wrong about using Xon/Xoff instead or HW handshake.. those are used even today and If I had to choose one Id' definitley go hardware. keeps the serial line pure 8.bit, and workd more reliable on multitasking PC:s... |
Graham 2-Jan-2010 [921] | Looks like we do have TLS after all ... :) |
joannak 2-Jan-2010 [922] | Did you test the code? |
Graham 2-Jan-2010 [923x2] | >> rebol/version == 2.7.7.3.1 >> smtp: open/lines tls://smtp.gmail.com:587 >> set-modes smtp [ secure: true ] ** Script Error: Feature not available in this REBOL ** Near: set-modes smtp [secure: true] Hmm... not working. |
I'll post a comment to his blog ... | |
joannak 2-Jan-2010 [925] | Hmm.. Where those SSL and TSL should be? When I look: ? system/schemes it does not show those at all.. there is HTTPS though? |
Graham 2-Jan-2010 [926x2] | this works though >> smtp: open/lines ssl://smtp.gmail.com:465 >> set-modes smtp [ secure: true ] >> close smtp |
>> pick smtp 1 == "220 mx.google.com ESMTP 39sm6677160yxd.27" | |
BrianH 2-Jan-2010 [928] | Are you using /Core or /View? |
Graham 2-Jan-2010 [929x2] | rebview |
Same failure under R/command | |
BrianH 2-Jan-2010 [931] | Well, CureCode it when you get the chance, or if you are impatient RAMBO it and it will get migrated to CureCode later. |
Graham 2-Jan-2010 [932] | http://rebol.wik.is/Protocols I made the two - three line changes to prot-smtp.r and prot-send.r and uploaded them here. And using 'ssend was able to send email thru gmail using ssl .... for those that asked. |
Graham 3-Jan-2010 [933x2] | Probably better to use a refinement ... like send/secure .. or something. |
But that will get people going who want to use gmail to send their email ... | |
BrianH 3-Jan-2010 [935] | Thanks for the link, we'll look into it. |
Gregg 3-Jan-2010 [936] | Joanna, there aren't a lot of docs on serial ports, but the basics are easy enough. ; port speed data-bits parity stop-bit (order is not significant IIRC) port-spec: serial://port2/38400/8/none/1 p: open/no-wait port-spec p/rts-cts: off ; THIS IS REQUIRED TO TURN OFF HARDWARE HANDSHAKING! update p Then you can just INSERT and COPY on the port. |
amacleod 3-Jan-2010 [937] | Graham, what are some of the "tweaks" you made to Http that BrianH has mentioned for inclusion in the next R2 release? |
Steeve 3-Jan-2010 [938] | http://rebol.wik.is/Protocols/Http |
Graham 3-Jan-2010 [939] | You can confirm that it does what it is supposed to do by looking at the http traces. |
older newer | first last |