Using Revolution only in a command line mode?

Mark Schonewille m.schonewille at economy-x-talk.com
Sat May 13 21:53:46 EDT 2006


Hi Richard,

When you look at the beginning of a MetaCard file, you see a few  
shell commands. Actually, a path, 3 comments and a shell command. It  
tells the shell to start the MetaCard executable !/bin/sh/mc if you  
have that installed.

This is different in the new stack file format, which doesn't contain  
these commands. Normally, you don't use this because you launch  
stacks from the Finder and open them with the Revolution IDE, but you  
might launch stacks in the old format from the command line and have  
the stack launched with the correct executable automatically.

Stacks are binary data, but they start as text. The scripts, too, are  
saved as normal text.  In this respect, the old file format might be  
somewhat comparable to postscript.

I tried this once, before I had to reinstall everything due to a  
crash. It seemed to work fine here. Hopefully, the reason for the  
crash and the reason why I could launch stacks from the command line  
don't coincide ;-)

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http:// 
www.salery.biz/salery.html



Op 14-mei-2006, om 2:43 heeft Richard Gaskin het volgende geschreven:

> Mark Schonewille wrote:
>> I didn't say that one can no longer use Revolution as a faceless   
>> application, Richard. Rev stacks used to be shell scripts in   
>> themselves, which is no longer the case as of Rev 2.7.0.
>
> I must be slow on the uptake today, so bear with me, but AKAIK  
> stack files were always binary.  What is a "shell script" that is  
> binary data in a proprietary format?
>
> --
>  Richard Gaskin
>  Managing Editor, revJournal




More information about the use-livecode mailing list