command-line/CGI Revolution engine questions

Pierre Sahores psahores at easynet.fr
Mon Sep 1 16:11:00 EDT 2003


Le lun 01/09/2003 à 21:18, Dar Scott a écrit :
> On Monday, September 1, 2003, at 11:56 AM, Alex Rice wrote:
> 
> > This, however, does work ok:
> >
> > #!/usr/local/bin/mc
> > on startup
> >   put "hello world"
> >   put linefeed
> > end startup
> >
> > Now I understand why the previous poster (I'm bad with names) was 
> > doing like this
> >
> > #!/usr/local/bin/mc
> > start using stack "some.rev"
> 
> That is the direction I would explore.
> 
> I have noticed that 'send' does work.  The engine does not quit until 
> there is no handler running and there are no messages in pending 
> messages.  This could be handy for those things that cannot be done in 
> startup.  And for allowing library messages to execute.
> 
> I would expect 'open' to have trouble, but I have not run the 
> experiment.  Also on my list of experiments is 'start using' a stack 
> with an external.
> 
> The above example is outside a script.  Does that really work?

All the metatalk/transcript syntax works, except "idle" and, of course,
the display and graphical dedicated functions/commands.
> 
> I think Bill Vlahos talked many months ago about the problems with 
> using a Revolution stack as a deamon; perhaps this would mitigate those 
> problems.
> 
> 
> > 3) The 2.1 command-line/CGI engines are not available?
> 
> Perhaps these are under policy review.  There was also a question 
> earlier about unix engines which I assume double as command-line/CGI 
> engines.  I hope RunRev does not become too concerned about these.
> 
> Dar Scott
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de rentabilité"




More information about the use-livecode mailing list