Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Command window or Desktop

 [1/6] from: Michael_Chean::msn::com at: 22-Mar-2007 10:25


Is there any way to start up the command window from the desktop and still leave the Desktop up? Mike

 [2/6] from: gregg:pointillistic at: 22-Mar-2007 11:41


Hi Michael, MC> Is there any way to start up the command window from the desktop and still MC> leave the Desktop up? Only if you use something like Cyphre's experimental View Console. If you do "?? desktop", you'll see that it starts the View event loop, which affects the console of course, because it's the same instance of REBOL. Deeper in the viewtop code, this is what it does to go back to the console: halt-view: does [ ; Close the desktop and open the console: unview/all about halt ] So you're alternating between running the event loop, and not. I always thought Cyphre's idea was so cool (a console emulator written in REBOL), and that you should be able to write a nifty, simple, IDE, where that virtual console could be an interactive debug window. -- Gregg

 [3/6] from: Michael_Chean:msn at: 22-Mar-2007 12:07


Yes, I agree that it would be a good idea, especially for beginners who might want to reference the scripts thru the desktop, and find it frustrating to restart Rebol desktop each time they exit the Console. ----- Original Message ----- From: Gregg Irwin<mailto:gregg-pointillistic.com> To: Michael Chean<mailto:rebolist-rebol.com> Sent: Thursday, March 22, 2007 10:41 AM Subject: [REBOL] Re: Command window or Desktop Hi Michael, MC> Is there any way to start up the command window from the desktop and still MC> leave the Desktop up? Only if you use something like Cyphre's experimental View Console. If you do "?? desktop", you'll see that it starts the View event loop, which affects the console of course, because it's the same instance of REBOL. Deeper in the viewtop code, this is what it does to go back to the console: halt-view: does [ ; Close the desktop and open the console: unview/all about halt ] So you're alternating between running the event loop, and not. I always thought Cyphre's idea was so cool (a console emulator written in REBOL), and that you should be able to write a nifty, simple, IDE, where that virtual console could be an interactive debug window. -- Gregg -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.

 [4/6] from: moliad::gmail at: 22-Mar-2007 14:55


howdy, not all of you are aware, but I started to write a rebol script interpreter built in rebol... I'm already able to execute functions, identify a few datatypes and comment code... its really a scripting engine, which allows one to shield and control the execution of rebol-like code within a string based parser. note, I do not use 'LOAD or 'DO in any form or function. This is pure parsing and run-time typecasting evaluation and eventually stack pushing/popping for real expression support. no side-effects of the script end up in the real rebol context, and all interpretation can be monitored, types controled (or refused) even a debugger will be added at some point to allow dataflow to connect to your script's execution. its called ANTIDOTE, and its already usefull at firing off API commands I make public for an application. One of the uses is that I'm using it to implement end-user setup keyboard control, instead of running code within rebol, I apply scripts on demand which the user defines, safely, with no risk of hackers using supplied blocks as a backdoor for probing... all it string based. obviously, the actual lexical analysis can be adapted to be more or less REBOL (and that's a feature) but by default, I will be trying to keep it as similar to real REBOL as I can (in fact it should be a subset, so antidote code should be evaluatable directly by REBOL itself ). things like a file sandbox which limits total file size, url and ip filtering of read and writes, code stepping, conditional driven timing and interruption of sleeping or looping code, etc. all these come to mind as features which will slowly get added as I and others need them. Expect my first release during the devcon, where I should be showing it as a module of my bigger project, I'll be unveiling. I just realised that we could then adapt it to make a little console out of it :-) -MAx On 3/22/07, Michael Chean <Michael_Chean-msn.com> wrote:

 [5/6] from: compkarori:gma:il at: 23-Mar-2007 8:05


Sure.. just run a script that just says 'halt should do it. On 3/23/07, Michael Chean <Michael_Chean-msn.com> wrote:
> Is there any way to start up the command window from the desktop and still > leave the Desktop up? > > Mike > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- Graham Chiu http://www.synapsedirect.com Synapse-EMR - innovative electronic medical records system

 [6/6] from: gabriele::colellachiara::com at: 23-Mar-2007 12:31


Hi Graham, On Thursday, March 22, 2007, 9:05:57 PM, you wrote: GC> Sure.. just run a script that just says 'halt should do it. That'll be in a separate process. (So it's basically the same as starting the desktop twice and going to the console in one of them.) Regards, Gabriele. -- Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/