r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3]

Andreas
20-Oct-2010
[5582]
(!REBOL3 Modules is probably a better place to discuss those.)
Pekr
20-Oct-2010
[5583]
BrianH: when you finish protect/unprotect etc. security tickets? 
Shouldn't that be a priority ... at some point? :-)
Maxim
20-Oct-2010
[5584]
Just a little tidbit I thought might be good for others still resisting 
the dark side of the force (R3 :-)


I'm at a point where I'm 50:50 in my time spend on R2 and R3 overall. 
which is a nice observation.

ATM, I much prefer R3 for many reasons.

-binding control and dynamic code building is soooo much better.
-embeded modules
-extensions which can (at last) almost do anything with REBOL.

-being able to fix/understand some limitations myself by "looking 
under the hood".

-it really is much better designed, scalable, fast, consistent and 
more.

why is R3 the dark-side?
-it constantly tempts you, 

-promises power (which it ultimately delivers, after kicking you 
in the nuts a few times), 

-allows much easier access to evil dlls (dark lawless libraries) 
than R2, 

-can be a lot more harsh finding your errors, but then removes guilt 
by disarming them 
-some unexpected issues still make it highly temperamental. 
-it will actually KILL your app with mush less discrimination 

-DOS shell makes it a trial by pain experience (and no, making its 
bg color white doesn't changes this ;-)
Andreas
20-Oct-2010
[5585]
And this had to be bold why exactly?
Pekr
20-Oct-2010
[5586]
damn, where is my BAN button? :-)
Andreas
20-Oct-2010
[5587]
:)
Pekr
20-Oct-2010
[5588]
I forgive max for his last bullet point: "DOS shell makes it a trial 
by pain experience (and no, making its bg color white doesn't changes 
this ;-) " - hehe, made my day :-)
Maxim
20-Oct-2010
[5589]
if with there where an easier way to indicate discussion threads 
"beginings"  just did that so it does stand out from all the other 
discussions of which it really isn't related.
Pekr
20-Oct-2010
[5590x2]
maybe you should use color next time ... e.g. pink one - in love 
:-)
I really love my R3 :-)
Andreas
20-Oct-2010
[5592]
You can already build a better shell with the hostkit :) Until someone 
actually gets annoyed enough to do this, it's probably easiest to 
just install a "proper" shell, maybe along with rlwrap.
Maxim
20-Oct-2010
[5593x3]
hehehe
one thing I would really like (now that its possible) is to have 
context/block browsing in the CLI .
this would make the console 50% more usefull.
Pekr
20-Oct-2010
[5596x3]
Andreas - we can't have R3 linked to proper shell!
Carl requested some info on it, I tried to help with some lookup, 
not much ppl commented. I don't remember the blog article, but I 
might try to find it ...
so as for me - f*ck off MS shell crap, this is absolutly devastating 
experience for me, and they should fire someone in MS for that rude 
experience :-)))
Maxim
20-Oct-2010
[5599]
dataset browsing example : 

>>my-ctx: context [ a: 22 c: context [ b: 33]]
>>using my-ctx
>>current-words
== [a c]

>> using c
>> current-words
== [c]

>> using none
>> current-words
== [... list of current user context words ...]
Andreas
20-Oct-2010
[5600]
Pekr, we can write an R2-style console app with the hostkit. It's 
just that someone needs to actually do it :)
Pekr
20-Oct-2010
[5601]
But you said - "it's probably easiest to just install a "proper" 
shell, maybe along with rlwrap." , which I think is not possible.
Maxim
20-Oct-2010
[5602]
yeah, the command-line is a program like any other.. its just the 
I/O from the shell which is really complex in MS... 


the actual text user interactive session is totally controlable... 
just look at python's IDLE which is basically an example of R2's 
console but in DOS console.
Pekr
20-Oct-2010
[5603x2]
Well, it will be possible, once R3 is not going to be a GUI app.
IDLE is not a DOS console.
Andreas
20-Oct-2010
[5605x2]
Pekr, by that I meant something like rxvt from Cygwin. Or powercmd 
or console2 or ...
Combine this with rlwrap, and you should have a usable environment.
Maxim
20-Oct-2010
[5607x2]
pekr, its a console application, just like our current R3 CLI.   
a console is simply a place which accepts lines of input interactively 
and spawns processing upon hitting a complete command.
a shell is a different thing entirely.  though the shell usually 
has access to the same input stream which is re-directed to/from 
the console.
Andreas
20-Oct-2010
[5609]
But you'll probably need some hostkit hacking in any case.
Pekr
20-Oct-2010
[5610x3]
http://www.rebol.net/cgi-bin/r3blog.r?view=0282#comments
Andreas - power console can't work. I tried Console2. The outcome 
is, you can't have both the true console mode and the GUI app. Look 
at the above link. Or simply Carl was not able to achieve that. Some 
ppl said, that is the reason why Python has two executables - one 
for plain console mode, and the other for GUI mode. But I might not 
interpret it correctly ...
Max - sorry for mispelling console for shell ...
Andreas
20-Oct-2010
[5613x3]
Fortunately, with the hostkit you have the power to compile either 
as console or windows app.
IIRC, R3 is currently compiled as console app per default.
So currently "installing a proper shell" should work.
Maxim
20-Oct-2010
[5616]
coundn't we just use their better console handling code and use it 
within R3's input loop?  or is that part of what you really meant?
Pekr
20-Oct-2010
[5617x2]
yes? then we should take car to make it work with real console. I 
don't need power-shell. Shell2 is nice and sufficient. Simply - anything 
better than MS default console, is a win ...
http://sourceforge.net/projects/console/
Andreas
20-Oct-2010
[5619]
What I mean is, two options:

- Short term: use a third-party shell replacement (like rxvt, console2, 
...)
- Long term: let someone write a nice R2-style console
Pekr
20-Oct-2010
[5620]
recently even the short-term is not done ...
Andreas
20-Oct-2010
[5621x2]
short term == now!
Damn, do I really have to fire up a Windows VM just to test if this 
is really possible right now :) ?
Pekr
20-Oct-2010
[5623x2]
how should I test? launch cmd.exe, and type R3? :-)
hmm, it launches new console, instead of using existing one ...
Andreas
20-Oct-2010
[5625x2]
Bad :)
A108?
Pekr
20-Oct-2010
[5627x2]
nooo, A107 ... and btw - what about that security dialog? Still no 
answer why it happens ...
tried A108 from console, and got:

** Script error: clean-path word is not bound to a context
** Where: if -applier-

** Near: if slash <> first boot [boot: clean-path boot] home: file: 
f...

Andreas
20-Oct-2010
[5629x3]
Wow, that must be the error Brian mentioned.
I assume you tried the RT binary A107?
Would you be so kind and try http://bolka.at/2010/rebol3/r3-a107-20100913.exe
instead?