Re: mchttpd Question

2002-07-03 Thread andu



--On Wednesday, July 3, 2002 3:38 PM -0400 Rich Mooney 
<[EMAIL PROTECTED]> wrote:

> Because I got the impression that mchttpd could treat a MetaCard stack as
> a CGI if it's placed in the stacks-bin folder thereby eliminating the

>From what I remember yes and no.  I'd have to check the script but writing 
cgi scripts is pretty much the same as any scripts, debugging is more 
painful but if you do the script as a stack and use MC's debugger you can 
just copy/paste it in the text file and modify it to fit the format, really.

> need to actually write a CGI script.  Basically, I would like to make my
> software browser compatible without rewriting it from scratch.  That
> would be a hugely daunting task especially since I am not very
> knowledgeable about web development.  Is my understanding incorrect?  Do
> you have any suggestions for how to approach my problem?
>
> Rich Mooney
> Payne Sparkman Mfg.
> [EMAIL PROTECTED]
>
> - Original Message -
> From: "andu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 03, 2002 2:21 PM
> Subject: Re: mchttpd Question
>
>
>>
>>
>> --On Wednesday, July 3, 2002 2:00 PM -0400 Rich Mooney
>> <[EMAIL PROTECTED]> wrote:
>>
>> > I would be very interested in any new revisions to mchttpd.  I'm hoping
> to
>> > use it to treat my current control software as a CGI then make my
> systems
>> > operable through a browser.  This is really a long-term plan which I
>> > had shelved because it didn't appear that anyone was doing any
>> > development
> on
>> > mchttpd.  Anyone else interested in further development of mchttpd?
>>
>> Any particular reason for using a metacard web server as opposed to any
>> other web server?
>
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: mchttpd Question

2002-07-03 Thread andu



--On Wednesday, July 3, 2002 2:09 PM -0400 Rich Mooney 
<[EMAIL PROTECTED]> wrote:

> Here is an old thread which I saved and which may answer some of your
> questions.  I haven't tried to use this information myself yet.
>

Some of the information in one of those posts was somehow inaccurate and/or 
confusing. If all you want is to use Metacard for cgi scripting all you 
have to do is to put your scripts and the engine (named "mc") in your web 
server's /cgi-bin directory.
The script is a text file which looks like:

#!mc
on startUp

#script here

end startUp

...and can be called anything except that some servers prefer a 
"filename.cgi"  name.
You don't need mchttpd for this. That was just a sample for metacard's 
sockets possibilities but a MC web server doesn't excel in any way except 
in web applications situations where the server processes the POST requests 
itself rather then passing them to a separate engine.

Regards, Andu Novac 
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: mchttpd Question

2002-07-03 Thread Rich Mooney

Because I got the impression that mchttpd could treat a MetaCard stack as a
CGI if it's placed in the stacks-bin folder thereby eliminating the need to
actually write a CGI script.  Basically, I would like to make my software
browser compatible without rewriting it from scratch.  That would be a
hugely daunting task especially since I am not very knowledgeable about web
development.  Is my understanding incorrect?  Do you have any suggestions
for how to approach my problem?

Rich Mooney
Payne Sparkman Mfg.
[EMAIL PROTECTED]

- Original Message -
From: "andu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 2:21 PM
Subject: Re: mchttpd Question


>
>
> --On Wednesday, July 3, 2002 2:00 PM -0400 Rich Mooney
> <[EMAIL PROTECTED]> wrote:
>
> > I would be very interested in any new revisions to mchttpd.  I'm hoping
to
> > use it to treat my current control software as a CGI then make my
systems
> > operable through a browser.  This is really a long-term plan which I had
> > shelved because it didn't appear that anyone was doing any development
on
> > mchttpd.  Anyone else interested in further development of mchttpd?
>
> Any particular reason for using a metacard web server as opposed to any
> other web server?


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: mchttpd Question

2002-07-03 Thread andu



--On Wednesday, July 3, 2002 2:00 PM -0400 Rich Mooney 
<[EMAIL PROTECTED]> wrote:

> I would be very interested in any new revisions to mchttpd.  I'm hoping to
> use it to treat my current control software as a CGI then make my systems
> operable through a browser.  This is really a long-term plan which I had
> shelved because it didn't appear that anyone was doing any development on
> mchttpd.  Anyone else interested in further development of mchttpd?

Any particular reason for using a metacard web server as opposed to any 
other web server?

>
> Rich Mooney
> Payne Sparkman Mfg.
> [EMAIL PROTECTED]
>
> - Original Message -
> From: "andu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 03, 2002 1:03 PM
> Subject: Re: mchttpd Question
>
>
>> Almost forgot to answer this one, sorry.
>>
>> --On Monday, July 1, 2002 7:45 PM -0700 Scott Rossi
>> <[EMAIL PROTECTED]> wrote:
>>
>> > The question below was sent by Peter J Bower who seems to be having
>> > trouble getting his posts to appear on the list.  Perhaps some kind
> folks
>> > here can respond.
>> >
>> > Regards,
>> >
>> > Scott Rossi
>> > Creative Director
>> >
>> > Tactile Media, Multimedia & Design
>> > Email: [EMAIL PROTECTED]
>> > Web: www.tactilemedia.com
>> >
>> > --
>> >
>> > I just downloaded the metacard mchttpd from ftp.metacard.com
>> > <ftp://ftp.metacard.com>
>> > to run on my home network and act as a server.
>> >
>> > I have a pc running windows 2000.
>> >
>> > In the cgi-bin folder there is a little note that  says "
>> > Link_MC_here".
>> >
>> > Well, I'm not sure what this means. I have installed a copy of the mc
>> > program in that folder and I can not get it to recognize any *.mt or
> *.cgi
>> > programming. What does the "Link MC Here" mean?
>> >
>> > another question:  In this situation on a pc what would the first line
> in
>> > the cgi script look like to
>> > find the mc engine?
>> >
>> > The actual location of my MC program is C:\Program
> Files\Metacard\Program\
>> >
>> > What's a fella to do?
>>
>> Main problem is that mchttpd on Metacard's ftp site is very very old. I
>> made several variations and improvments in the meantime mostly for fun
>> since there was no real demand for such a tool but all of them have in
>> comon the fact that they are unfinished.
>>  With enough reminders I might be able to produce something usable, time
>> permiting ;-).
>>
>> >
>> > -
>> >
>> > ___
>> > metacard mailing list
>> > [EMAIL PROTECTED]
>> > http://lists.runrev.com/mailman/listinfo/metacard
>> >
>>
>>
>>
>> Regards, Andu Novac
>> ___
>> metacard mailing list
>> [EMAIL PROTECTED]
>> http://lists.runrev.com/mailman/listinfo/metacard
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: mchttpd Question

2002-07-03 Thread Rich Mooney
  mc interpreter, as follows:

  . cut here 
  #!/export/vhost/org/g/ourhost/www/public_html/cgi-bin/mc
  # This MetaTalk script loops over all the environment
variables
  # set by the server when it runs a CGI application printing
out
  # its name and value.
  on startup
  # loop over all of the global variables, getting name and
value
  repeat for each item i in the globals
  put i && "=" && value(i) & return after buffer
  end repeat
  # write minimal set of HTTP headers to stdout
  read from stdin until empty
  put it after buffer
  put "Content-Type: text/plain" & cr
  put "Content-Length:" && the length of buffer & cr & cr
  put buffer
  end startup
  . cut here .

  Note that our real hostname has been replaced with "ourhost"
and that
  this is just an example, you will have to determine the
correct path
  on your ISP. And again, this method of testing works only if
your ISP
  supports SSI, but any method of calling a cgi script will
work. If the
  HTML page shown produces a whole list of environment
variables, then,
  MC is working on your host.


  Archives:
http://www.mail-archive.com/metacard@lists.runrev.com/
  Info: http://www.xworlds.com/metacard/mailinglist.htm
  Please send bug reports to <[EMAIL PROTECTED]>, not this list.


  Follow-Ups:
   Re: Installing MC at your ISP, a "How-To"
From: jbv
  References:
   Installing MC at your ISP, a "How-To"
    From: Sadhunathan Nadesan

Rich Mooney
Payne Sparkman Mfg.
[EMAIL PROTECTED]

- Original Message -
From: "Scott Rossi" <[EMAIL PROTECTED]>
To: "Metacard List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 01, 2002 10:45 PM
Subject: mchttpd Question


> The question below was sent by Peter J Bower who seems to be having
trouble
> getting his posts to appear on the list.  Perhaps some kind folks here can
> respond.
>
> Regards,
>
> Scott Rossi
> Creative Director
>
> Tactile Media, Multimedia & Design
> Email: [EMAIL PROTECTED]
> Web: www.tactilemedia.com
>
> --
>
> I just downloaded the metacard mchttpd from ftp.metacard.com
> <ftp://ftp.metacard.com>
> to run on my home network and act as a server.
>
> I have a pc running windows 2000.
>
> In the cgi-bin folder there is a little note that  says " Link_MC_here".
>
> Well, I'm not sure what this means. I have installed a copy of the mc
> program in that folder and I can not get it to recognize any *.mt or *.cgi
> programming. What does the "Link MC Here" mean?
>
> another question:  In this situation on a pc what would the first line in
> the cgi script look like to
> find the mc engine?
>
> The actual location of my MC program is C:\Program Files\Metacard\Program\
>
> What's a fella to do?
>
> -
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: mchttpd Question

2002-07-03 Thread Rich Mooney

I would be very interested in any new revisions to mchttpd.  I'm hoping to
use it to treat my current control software as a CGI then make my systems
operable through a browser.  This is really a long-term plan which I had
shelved because it didn't appear that anyone was doing any development on
mchttpd.  Anyone else interested in further development of mchttpd?

Rich Mooney
Payne Sparkman Mfg.
[EMAIL PROTECTED]

- Original Message -
From: "andu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 1:03 PM
Subject: Re: mchttpd Question


> Almost forgot to answer this one, sorry.
>
> --On Monday, July 1, 2002 7:45 PM -0700 Scott Rossi
> <[EMAIL PROTECTED]> wrote:
>
> > The question below was sent by Peter J Bower who seems to be having
> > trouble getting his posts to appear on the list.  Perhaps some kind
folks
> > here can respond.
> >
> > Regards,
> >
> > Scott Rossi
> > Creative Director
> >
> > Tactile Media, Multimedia & Design
> > Email: [EMAIL PROTECTED]
> > Web: www.tactilemedia.com
> >
> > --
> >
> > I just downloaded the metacard mchttpd from ftp.metacard.com
> > <ftp://ftp.metacard.com>
> > to run on my home network and act as a server.
> >
> > I have a pc running windows 2000.
> >
> > In the cgi-bin folder there is a little note that  says " Link_MC_here".
> >
> > Well, I'm not sure what this means. I have installed a copy of the mc
> > program in that folder and I can not get it to recognize any *.mt or
*.cgi
> > programming. What does the "Link MC Here" mean?
> >
> > another question:  In this situation on a pc what would the first line
in
> > the cgi script look like to
> > find the mc engine?
> >
> > The actual location of my MC program is C:\Program
Files\Metacard\Program\
> >
> > What's a fella to do?
>
> Main problem is that mchttpd on Metacard's ftp site is very very old. I
> made several variations and improvments in the meantime mostly for fun
> since there was no real demand for such a tool but all of them have in
> comon the fact that they are unfinished.
>  With enough reminders I might be able to produce something usable, time
> permiting ;-).
>
> >
> > -
> >
> > ___
> > metacard mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/metacard
> >
>
>
>
> Regards, Andu Novac
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: mchttpd Question

2002-07-03 Thread andu

Almost forgot to answer this one, sorry.

--On Monday, July 1, 2002 7:45 PM -0700 Scott Rossi 
<[EMAIL PROTECTED]> wrote:

> The question below was sent by Peter J Bower who seems to be having
> trouble getting his posts to appear on the list.  Perhaps some kind folks
> here can respond.
>
> Regards,
>
> Scott Rossi
> Creative Director
>
> Tactile Media, Multimedia & Design
> Email: [EMAIL PROTECTED]
> Web: www.tactilemedia.com
>
> --
>
> I just downloaded the metacard mchttpd from ftp.metacard.com
> 
> to run on my home network and act as a server.
>
> I have a pc running windows 2000.
>
> In the cgi-bin folder there is a little note that  says " Link_MC_here".
>
> Well, I'm not sure what this means. I have installed a copy of the mc
> program in that folder and I can not get it to recognize any *.mt or *.cgi
> programming. What does the "Link MC Here" mean?
>
> another question:  In this situation on a pc what would the first line in
> the cgi script look like to
> find the mc engine?
>
> The actual location of my MC program is C:\Program Files\Metacard\Program\
>
> What's a fella to do?

Main problem is that mchttpd on Metacard's ftp site is very very old. I 
made several variations and improvments in the meantime mostly for fun 
since there was no real demand for such a tool but all of them have in 
comon the fact that they are unfinished.
 With enough reminders I might be able to produce something usable, time 
permiting ;-).

>
> -
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



mchttpd Question

2002-07-01 Thread Scott Rossi

The question below was sent by Peter J Bower who seems to be having trouble
getting his posts to appear on the list.  Perhaps some kind folks here can
respond.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

--

I just downloaded the metacard mchttpd from ftp.metacard.com

to run on my home network and act as a server.

I have a pc running windows 2000.

In the cgi-bin folder there is a little note that  says " Link_MC_here".
 
Well, I'm not sure what this means. I have installed a copy of the mc
program in that folder and I can not get it to recognize any *.mt or *.cgi
programming. What does the "Link MC Here" mean?

another question:  In this situation on a pc what would the first line in
the cgi script look like to
find the mc engine?
 
The actual location of my MC program is C:\Program Files\Metacard\Program\
 
What's a fella to do?

-

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard