David Bovill wrote:
>
> OK not quite clear... (Linux novice -:)
> > You can if they are written to a .mt file.
>
> Can be any file name as long as the permissions are set to execute and the
> file is on the $PATH right?
If you're not in the directory with the file you have to point to it (%
mc /home/users/www/cgi-bin/script.mt) "%, $, #" stay for the promt sign
which in my case is # (they are not part of your command). If the
application is not on the $PATH you must point to it; same for the
script file:
% /usr/local/bin/mc /home/users/www/script.mt
If you're in the same directory with mc and mc is not on the $PATH you
do:
%./mc script.mt (or the path to the script).
>
> > % ./mc script.mt # will execute the script.
>
> Has this come through the email correct? What do I issue from an MC .mt CGI
> script (or other CGI language? Lets take MC as an example:
>
> put shell("% ./mc script.mt") into mcShellResult
So, if mc is on the path you do:
put shell("mc /path/to/the/script.mt")
The preffix of the file can be anything not just .mt.
>
> > Doing:
> > % ./mc stack.mc #will try to open MC in X and not succeed.
>
> OK
>
> Thanks again.
You're welcome.
Andu
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.