[Metacard] Digest metacard.v004.n528

metacard-errors at www.runrev.com metacard-errors at www.runrev.com
Fri Nov 23 00:53:01 EST 2001


-------------- BEGIN metacard.v004.n528 --------------

    001 - "Dance Collection Danse"  - Linked fields
    002 - "thierry Douez" <t.douez@ - shell behavior ( strange or mistake)
    003 - xbury.cs at clearstream.com  - RE: shell behavior ( strange or mistake)
    004 - Richard MacLemale <rmacle - Darwin, CGI Question
    005 - andu <undo at cloud9.net>    - Re: Darwin, CGI Question
    006 - diskot123 at juno.com        - re: recording sound
    007 - Richard MacLemale <rmacle - Darwin question again...
    008 - andu <undo at cloud9.net>    - Re: Darwin question again...

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send any bug reports to <bugs at metacard.com>, not this list.


--------------- MESSAGE metacard.v004.n528.1 ---------------

From: "Dance Collection Danse" <talk at dcd.ca>
Subject: Linked fields
Date: Thu, 22 Nov 2001 00:00:54 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I am making illustrated manuals ... ilustration, accompanying text (caption), etc.
Has anyone found a way to link fields so that text will flow from field to field?
I noticed a note on the list which seeme to have the same need.

>Wishlist item: Linked fields for flowed text!
>Sure! > /H
>
> Hugh Senior

Thank... Lawrence Adams




--------------- MESSAGE metacard.v004.n528.2 ---------------

From: "thierry Douez" <t.douez at wanadoo.fr>
Subject: shell behavior ( strange or mistake)
Date: Thu, 22 Nov 2001 12:01:57 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111180806.DAA30694 at www.runrev.com>

Hi all,

Spend few times trying to play with shell options.
Here is one my smaller program :

  -- PC /Win98 / MC2.3
  set the hideConsoleWindows to false
  set the shellcommand to "bash"
  put  shell( "echo $0 $1 $2"  ) after field "R"

I got this error after the Shell() execution :

  /C: /C: No such file or directory

It seems that MC put a Dos parameter "/C" after the name of
the shell ? Ok, if the shell is Command.exe ! but, what if we want
another shell ? A bit of light would be helpful.

Have a nice day,
thierry


--------------- MESSAGE metacard.v004.n528.3 ---------------

From: xbury.cs at clearstream.com
Subject: RE: shell behavior ( strange or mistake)
Date: Thu, 22 Nov 2001 17:24:40 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"

Thierry,

I dont know about alternative shells but... (i use mostly NT so, shell is
"cmd" but i've had no problems with command from w98)
make sure your "directory" global is set to something that exists...
set the directory to "c:\"
If the directory is invalid, you will get errors even from working commands.

use of backslash or slash within the command shell should be backslash...
Slash is only good in MC directory commands (but you can use backslash
AFAIK).

Scott has told me that the "open process" works better but i've had enormous
problems with compatibility and getting the whole output back whereas
shell() works great in all senses. 

With slow network connections, the shell() command can stall completely
though. This is really a bad problem because it causes major problems in our
environment but for ALL other purposes, it's not a problem. 

Last but not least, remember that the path will affect the workings of
different programs you call from shell or open process, so providing the
path can help...

shell( "echo $0 $1 $2"  ) worked great first time... 

here's an example startup script for you

on openstack
  put the itemdelimiter into olddelim
  put the effective filename of the topstack into x
  if "/" is in x
  then get "/"
  else get "\"
  set the itemdelimiter to it
  delete last item of x
  put it after x
  set the itemdelimiter to olddelim
  set the directory to x
  
  set the shellCommand to "cmd.exe" -- NT only
  set hideConsoleWindows to true
  
  put "" into editMenus -- for the mac
  
  CheckToolsAvailable -- dos tools required in the gui for shell commands
  CheckUserIsAdmin -- user has the rights to work the tools?
  pass openstack
end openstack

cheers
Xavier

> Hi all,
> 
> Spend few times trying to play with shell options.
> Here is one my smaller program :
> 
>   -- PC /Win98 / MC2.3
>   set the hideConsoleWindows to false
>   set the shellcommand to "bash"
>   put  shell( "echo $0 $1 $2"  ) after field "R"
> 
> I got this error after the Shell() execution :
> 
>   /C: /C: No such file or directory
> 
> It seems that MC put a Dos parameter "/C" after the name of
> the shell ? Ok, if the shell is Command.exe ! but, what if we want
> another shell ? A bit of light would be helpful.
> 
> Have a nice day,
> thierry
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <bugs at metacard.com>, not this list.
> 


Visit us at http://www.clearstream.com           
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER


--------------- MESSAGE metacard.v004.n528.4 ---------------

From: Richard MacLemale <rmaclemale at earthlink.net>
Subject: Darwin, CGI Question
Date: Thu, 22 Nov 2001 11:57:02 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200111220200.VAA25979 at www.runrev.com>

OK,
After spending an hour in the list archives this morning and getting bits
and pieces of the info I need, I gave up and decided to just post the
question...

Here's what I think I know:
1.  You can download the darwin metacard engine and it will run under OS X.
2.  This will allow you to write scripts and save them as .mt files which
can be placed in the CGI folder.
3.  An example of such a file is echo.mt, included with MetaCard.

I downloaded the darwin engine, I double-clicked it and it uncompressed (via
Stuffit).  This created a folder with two files - gunzip and mc.gz.

If you double-click the mc.qz file, it unzips and you have a file named mc.
Putting that file into the CGI directory is NOT enough to make it work.  OS
X doesn't know that it's an application.  I surmise that the directions that
tell OS X about mc being an app are contained in the gunzip file.

Finally, the question - How do you DO this?  What are the step by step
instructions for installing the darwin mc engine?  I've got the darwin.tar
file from the MC web site, and I know where the CGI folder is
(Library/WebServer/CGI-Executables).

Thanks very much in advance,

:)
Richard MacLemale
Instructional Technology Specialist
James W. Mitchell High School



--------------- MESSAGE metacard.v004.n528.5 ---------------

From: andu <undo at cloud9.net>
Subject: Re: Darwin, CGI Question
Date: Thu, 22 Nov 2001 13:48:52 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <200111221657.LAA04276 at www.runrev.com>

Richard MacLemale wrote:
> 
> OK,
> After spending an hour in the list archives this morning and getting bits
> and pieces of the info I need, I gave up and decided to just post the
> question...
> 
> Here's what I think I know:
> 1.  You can download the darwin metacard engine and it will run under OS X.
> 2.  This will allow you to write scripts and save them as .mt files which
> can be placed in the CGI folder.
> 3.  An example of such a file is echo.mt, included with MetaCard.
> 
> I downloaded the darwin engine, I double-clicked it and it uncompressed (via
> Stuffit).  This created a folder with two files - gunzip and mc.gz.
> 
> If you double-click the mc.qz file, it unzips and you have a file named mc.
> Putting that file into the CGI directory is NOT enough to make it work.  OS
> X doesn't know that it's an application.  I surmise that the directions that
> tell OS X about mc being an app are contained in the gunzip file.

A while back I had Darwin run on my mac (not OSX) with XFree86 and
Metacard worked as expected (given the limitations of Darwin) but never
tried the cgi part. Check out the manual for "chmod" if it exists and
set mc to executable (755).

> 
> Finally, the question - How do you DO this?  What are the step by step
> instructions for installing the darwin mc engine?  I've got the darwin.tar
> file from the MC web site, and I know where the CGI folder is
> (Library/WebServer/CGI-Executables).

The more empirical way: put home, tools and help stacks in the same
folder with the engine and do ./mc and see if metacard starts in gui.
Also try .cgi instead of .mt for the cgi file.
Test with a cgi known to work just in case the server may not have the
proper settings.

> 
> Thanks very much in advance,
> 
> :)
> Richard MacLemale
> Instructional Technology Specialist
> James W. Mitchell High School
Andu


--------------- MESSAGE metacard.v004.n528.6 ---------------

From: diskot123 at juno.com
Subject: re: recording sound
Date: Thu, 22 Nov 2001 16:41:37 -0500
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

>On Mac 8.5.1 I have been able to record my own voice with either 
>"ulaw", "ima4" or "mace 3:1" chosen in the dialog box and with 22.050 
>khz (8 or 16 bits). On PC the same choices (all saved as 
>"mysound.mov") record only at half speed. If anyone has managed to 
>record on PC, please, send me a recipe. Thanks in advance.

44khz works fine here. QT  5 seems to be some kind of screwed with 22khz.

Tuviah


--------------- MESSAGE metacard.v004.n528.7 ---------------

From: Richard MacLemale <rmaclemale at earthlink.net>
Subject: Darwin question again...
Date: Thu, 22 Nov 2001 18:24:15 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <200108190432.AAA11318 at www.runrev.com>

Sorry if this ends up being posted twice... For some reason I got bounced
off the list and had to resubscribe.  Was it something I said?  :)

Anyway,
After spending an hour in the list archives this morning and getting bits
and pieces of the info I need, I gave up and decided to just post the
question...

Here's what I think I know:
1.  You can download the darwin metacard engine and it will run under OS X.
2.  This will allow you to write scripts and save them as .mt files which
can be placed in the CGI folder.
3.  An example of such a file is echo.mt, included with MetaCard.

I downloaded the darwin engine, I double-clicked it and it uncompressed (via
Stuffit).  This created a folder with two files - gunzip and mc.gz.

If you double-click the mc.qz file, it unzips and you have a file named mc.
Putting that file into the CGI directory is NOT enough to make it work.  OS
X doesn't know that it's an application.  I surmise that the directions that
tell OS X about mc being an app are contained in the gunzip file.

Finally, the question - How do you DO this?  What are the step by step
instructions for installing the darwin mc engine?  I've got the darwin.tar
file from the MC web site, and I know where the CGI folder is
(Library/WebServer/CGI-Executables).

Thanks very much in advance,

:)
Richard MacLemale
Instructional Technology Specialist
James W. Mitchell High School



--------------- MESSAGE metacard.v004.n528.8 ---------------

From: andu <undo at cloud9.net>
Subject: Re: Darwin question again...
Date: Thu, 22 Nov 2001 20:04:14 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <200111222324.SAA11897 at www.runrev.com>


> I downloaded the darwin engine, I double-clicked it and it uncompressed (via
> Stuffit).  This created a folder with two files - gunzip and mc.gz.
> 
> If you double-click the mc.qz file, it unzips and you have a file named mc.
> Putting that file into the CGI directory is NOT enough to make it work.  OS
> X doesn't know that it's an application.  I surmise that the directions that
This is what I answered before:

> tell OS X about mc being an app are contained in the gunzip file.

A while back I had Darwin run on my mac (not OSX) with XFree86 and
Metacard worked as expected (given the limitations of Darwin) but never
tried the cgi part. Check out the manual for "chmod" if it exists and
set mc to executable (755).

> 
> Finally, the question - How do you DO this?  What are the step by step
> instructions for installing the darwin mc engine?  I've got the darwin.tar
> file from the MC web site, and I know where the CGI folder is
> (Library/WebServer/CGI-Executables).

The more empirical way: put home, tools and help stacks in the same
folder with the engine and do ./mc and see if metacard starts in gui.
Also try .cgi instead of .mt for the cgi file.
Test with a cgi known to work just in case the server may not have the
proper settings.

Andu


--------------- END metacard.v004.n528 ---------------




More information about the metacard mailing list