Detect all connection requests?
I would like MC to detect all incoming connection requests, regardless of the requested port, and respond by issuing a message. I envision a message whose parameters contain all available info on the connection request. If the connection request is for a port where the stack is listening, this message would be fired before the socket is opened. For example: on socketRequest pPortNum, pRequestData if pPortNum is among the lines of the permittedPorts of me then pass socketRequest else put short date long time tab \ pPortNum tab \ digested(pRequestData) cr \ after url "file:log" end if end socketRequest Maybe it could be used to prevent the opening of an otherwise accepting port under certain conditions, similar to the way "closeStackRequest" can be used to prevent the closing of a stack. This feature would enable us to build things like firewalls that log all connection requests, whether they were honored or not. Does this sound useful to anyone besides me? -- Phil Davis --- [EMAIL PROTECTED] days: (503) 417-7930 eves: (503) 557-5656 --- Facilitator Essentials of eBusiness Computing Information Technology Institute http://www.iti.com Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
CD-Rewritable for UNIX/NT
If we're deploying on Windows 98/NT and UNIX systems, do we need to write two separate CDs, one from each of the two different OSes? Thanks. Lori C. Fraind Delex Systems, Inc. (703) 734-8300 x310 Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: lock screen doesn't?
on preOpenStack hide this stack end preOpenStack Using this approach would you in fact be setting it up so that you would never be able to see the stack which could be a problem if it needed to be modified at some later date. Jim Wall *** James C.Wall, Ph.D. Professor Department of Physical Therapy University of South Alabama 1504 Springhill Avenue, Room 1214 Mobile AL 36604 Phone: (334) 434 3575 Fax: (334) 434 3822 e-mail: [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: lock screen doesn't?
On 14/9/00 3:28 pm, James C. Wall [EMAIL PROTECTED] wrote: Using this approach would you in fact be setting it up so that you would never be able to see the stack which could be a problem if it needed to be modified at some later date. You can run "show stack whatever" in the message box or in a script. A stack has a "visible" property just like controls. Regards, Kevin Jim Wall *** James C.Wall, Ph.D. Professor Department of Physical Therapy University of South Alabama 1504 Springhill Avenue, Room 1214 Mobile AL 36604 Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited (formerly Cross Worlds Computing). Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Detect all connection requests?
Phil Davis wrote: I would like MC to detect all incoming connection requests, regardless of the requested port, and respond by issuing a message. I envision a message whose parameters contain all available info on the connection request. If the connection request is for a port where the stack is listening, this message would be fired before the socket is opened. For example: on socketRequest pPortNum, pRequestData if pPortNum is among the lines of the permittedPorts of me then pass socketRequest else put short date long time tab \ pPortNum tab \ digested(pRequestData) cr \ after url "file:log" end if end socketRequest Maybe it could be used to prevent the opening of an otherwise accepting port under certain conditions, similar to the way "closeStackRequest" can be used to prevent the closing of a stack. This feature would enable us to build things like firewalls that log all connection requests, whether they were honored or not. Does this sound useful to anyone besides me? -- Phil Davis --- [EMAIL PROTECTED] days: (503) 417-7930 eves: (503) 557-5656 --- Facilitator Essentials of eBusiness Computing Information Technology Institute http://www.iti.com Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. That's would realy be a top key feature Phil, even on unixes, probably usable to secure ip-chains configs... Is it a way to do that avalaible in mc, Scott ? Regards, Pierre Sahores WEB, DB, B2B ASP design. Because people develop knowledge from scratch rather than being born with built-in knowledge, we can adapt to different circumstances. Sampson, Geoffrey. Educating Eve : The "Language Instinct" debate. London: Cassell, 1997 [1999]. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: lock screen doesn't?
At 9:28 AM -0500 9/14/00, James C. Wall wrote: on preOpenStack hide this stack end preOpenStack Using this approach would you in fact be setting it up so that you would never be able to see the stack which could be a problem if it needed to be modified at some later date. Jim Wall It should be no probem. After opening the stack, just type "show stack stackname" in the message box. Cheers Dave Cragg Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Detect all connection requests?
On Thu, 14 Sep 2000, Pierre Sahores wrote: Phil Davis wrote: I would like MC to detect all incoming connection requests, regardless of the requested port, and respond by issuing a message. I envision a message whose parameters contain all available info on the connection request. If the connection request is for a port where the stack is listening, this message would be fired before the socket is opened. For example: on socketRequest pPortNum, pRequestData if pPortNum is among the lines of the permittedPorts of me then pass socketRequest else put short date long time tab \ pPortNum tab \ digested(pRequestData) cr \ after url "file:log" end if end socketRequest Maybe it could be used to prevent the opening of an otherwise accepting port under certain conditions, similar to the way "closeStackRequest" can be used to prevent the closing of a stack. This feature would enable us to build things like firewalls that log all connection requests, whether they were honored or not. Does this sound useful to anyone besides me? -- Phil Davis --- [EMAIL PROTECTED] days: (503) 417-7930 eves: (503) 557-5656 --- Facilitator Essentials of eBusiness Computing Information Technology Institute http://www.iti.com Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. That's would realy be a top key feature Phil, even on unixes, probably usable to secure ip-chains configs... Is it a way to do that avalaible in mc, Scott ? I guess I really don't follow this. If what you're trying to build is some sort of proxy or firewall, this could probably be done with using the standard "accept" command. But there is no way for one process to "pass" a socket request onto another process, so you'd have to do it the way existing firewalls and proxies do: you accept a connection from outside and then open another a socket connection to the inside, then write data read from the outside socket to the inside socket. And I say "probably" because at least some types of socket-based protocols require access to low-level socket features not available in the MetaCard sockets API (out-of-band data being the most notable of these). Regards, Scott Regards, Pierre Sahores WEB, DB, B2B ASP design. Because people develop knowledge from scratch rather than being born with built-in knowledge, we can adapt to different circumstances. Sampson, Geoffrey. Educating Eve : The "Language Instinct" debate. London: Cassell, 1997 [1999]. Scott Raney [EMAIL PROTECTED] http://www.metacard.com MetaCard: You know, there's an easier way to do that... Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
File Uploads
HTML (tags missing) input type=file" name="tupload" produces a text field and a "browse..." button on a web page allowing the user to select a file on their machine. When the Form is submitted my MC cgi stack is passed the path of the file. Is there anyway to 'suck' the file up from their machine (I've seen it done with PERL scripts). Any pointers would be gratefully appreciated... TIA Gary Rathbone Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Apple has released Mac OS X Beta
on 9/13/00 7:19 PM, Raymond E. Griffith at [EMAIL PROTECTED] wrote: I can't order it. My iMac has only 96 MB of RAM. Sigh. Maybe they will get the memory requirements down. Then again, maybe not. At least MetaCard has a reasonable memory requirement! Raymond Great minds think alike. My iMac also has 96mb. But 128 is what they _recommend_, not _require_. I still might try it... Or I might upgrade, or find another machine to try it on. gc Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Detect all connection requests?
On Thu, 14 Sep 2000, Pierre Sahores wrote: Phil Davis wrote: I would like MC to detect all incoming connection requests, regardless of the requested port, and respond by issuing a message. I envision a message whose parameters contain all available info on the connection request. If the connection request is for a port where the stack is listening, this message would be fired before the socket is opened. For example: on socketRequest pPortNum, pRequestData if pPortNum is among the lines of the permittedPorts of me then pass socketRequest else put short date long time tab \ pPortNum tab \ digested(pRequestData) cr \ after url "file:log" end if end socketRequest Maybe it could be used to prevent the opening of an otherwise accepting port under certain conditions, similar to the way "closeStackRequest" can be used to prevent the closing of a stack. This feature would enable us to build things like firewalls that log all connection requests, whether they were honored or not. Does this sound useful to anyone besides me? -- Phil Davis --- [EMAIL PROTECTED] days: (503) 417-7930 eves: (503) 557-5656 --- Facilitator Essentials of eBusiness Computing Information Technology Institute http://www.iti.com Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. That's would realy be a top key feature Phil, even on unixes, probably usable to secure ip-chains configs... Is it a way to do that avalaible in mc, Scott ? I guess I really don't follow this. If what you're trying to build is some sort of proxy or firewall, this could probably be done with using the standard "accept" command. But there is no way for one process to "pass" a socket request onto another process, so you'd have to do it the way existing firewalls and proxies do: you accept a connection from outside and then open another a socket connection to the inside, then write data read from the outside socket to the inside socket. And I say "probably" because at least some types of socket-based protocols require access to low-level socket features not available in the MetaCard sockets API (out-of-band data being the most notable of these). A useful feature would be to be able to listen to *any* port (aside from the current behavior) and filter which ports to use later. Regards, Scott Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Trapping Errors
Not quite sure why you don't debug first without running through a browser, but From: Gary Rathbone [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 13 Sep 2000 18:19:28 +0100 To: [EMAIL PROTECTED] Subject: Re: Trapping Errors Its all Mac based and I'm using MC as an HTTP server with additional code to process forms. It works a treat... until I make a mistake like a typo... If I type : on mouseUp put "thtml" ito "pageout" end mouseUp into the button script of any stack, its accepted ie no semantic error. When I click on the button however an error "Cant find handler" along with line number and other error info is presented in the Execution Error dialog box. Great - enough info to locate and fix the problem. Now if the above routine is called by a browser through a socket connection to an MC stack then MC doesn't present the same Execution Error box and the only clue that something is wrong is that nothing is returned to the browser. Hence manually searching through the code. Any ideas ? It should be possible to build in a debugger that works with the server, but figuring out how to do this/how the existing debugger works is not easy, and according to Scott is likely to be a moving target... An idea (if you have to debug online), is to put the cgi script into a variable and then have a go at something like repeat with lineNum = 1 to the number of lines of cgiScript put line lineNum of cgiScript into scriptLine try do scriptLine catch errorNum put "Error" errorNum "on line" lineNum end try end repeat It'll be slow, but might work? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Localhost: anyone know how to get a Mac to do server stuffoffline? (off list)
I think the answer is you can't, but it would be nice to work on server projects with the server running and talking to the browser. Now I've followed some detailed instructions involving setting up the TCP/IP control panel to use the IP address 127.0.0.1 (which should work with an ethernet network), but does not work on a machine bereft of any network connection (as far as I can see).. Any ideas? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: File Uploads
HTML (tags missing) input type=file" name="tupload" produces a text field and a "browse..." button on a web page allowing the user to select a file on their machine. When the Form is submitted my MC cgi stack is passed the path of the file. Is there anyway to 'suck' the file up from their machine (I've seen it done with PERL scripts). The server must support either POST or even better PUT (see the RFC) and provide a mechanism for reading the data coming in from the client. In other words the server doesn't need the path on the remote client; the client needs it in order for it to know which file to POST or PUT. The server receives whatever comes in and writes it to a local file. Hope that answered your question. Any pointers would be gratefully appreciated... TIA Gary Rathbone Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Localhost: anyone know how to get
I think the answer is you can't, but it would be nice to work on server projects with the server running and talking to the browser. You want to run the server and the client on the same machine? (mac) All you need to do is : choose in the tcp/ip panel - connect via ethernet give the machine an IP address (any) and you are done. Start the server and point the client to http://IPAddress/fileName.html If you want both internet and local IP address you need a router (IPNet router) Or switch to Linux or both. Now I've followed some detailed instructions involving setting up the TCP/IP control panel to use the IP address 127.0.0.1 (which should work with an ethernet network), but does not work on a machine bereft of any network connection (as far as I can see).. Any ideas? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. . Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Detect all connection requests?
Scott Raney wrote: On Thu, 14 Sep 2000, Pierre Sahores wrote: Phil Davis wrote: I would like MC to detect all incoming connection requests, regardless of the requested port, and respond by issuing a message. I envision a message whose parameters contain all available info on the connection request. If the connection request is for a port where the stack is listening, this message would be fired before the socket is opened. For example: on socketRequest pPortNum, pRequestData if pPortNum is among the lines of the permittedPorts of me then pass socketRequest else put short date long time tab \ pPortNum tab \ digested(pRequestData) cr \ after url "file:log" end if end socketRequest Maybe it could be used to prevent the opening of an otherwise accepting port under certain conditions, similar to the way "closeStackRequest" can be used to prevent the closing of a stack. This feature would enable us to build things like firewalls that log all connection requests, whether they were honored or not. Does this sound useful to anyone besides me? -- Phil Davis --- [EMAIL PROTECTED] days: (503) 417-7930 eves: (503) 557-5656 --- Facilitator Essentials of eBusiness Computing Information Technology Institute http://www.iti.com Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. That's would realy be a top key feature Phil, even on unixes, probably usable to secure ip-chains configs... Is it a way to do that avalaible in mc, Scott ? I guess I really don't follow this. If what you're trying to build is some sort of proxy or firewall, this could probably be done with using the standard "accept" command. It was just a question, as is ;-) and i was far sure about the answer. I'm not trying anything in this way... But there is no way for one process to "pass" a socket request onto another process, so you'd have to do it the way existing firewalls and proxies do: you accept a connection from outside and then open another a socket connection to the inside, then write data read from the outside socket to the inside socket. And I say "probably" because at least some types of socket-based protocols require access to low-level socket features not available in the MetaCard sockets API (out-of-band data being the most notable of these). Thank's. Regards, Scott Regards, Pierre Sahores WEB, DB, B2B ASP design. Because people develop knowledge from scratch rather than being born with built-in knowledge, we can adapt to different circumstances. Sampson, Geoffrey. Educating Eve : The "Language Instinct" debate. London: Cassell, 1997 [1999]. Scott Raney [EMAIL PROTECTED] http://www.metacard.com MetaCard: You know, there's an easier way to do that... Regards, Pierre Sahores WEB, DB, B2B ASP design. S'écouter ou écrire au fil de la plume, remplir l'espace d'un vide imposteur... Facile violence sans lien avec l'art de penser et de produire du sens. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Localhost: anyone know how to get a Mac to do server stuffoffline? (off list)
David Bovill wrote: I think the answer is you can't, but it would be nice to work on server projects with the server running and talking to the browser. Now I've followed some detailed instructions involving setting up the TCP/IP control panel to use the IP address 127.0.0.1 (which should work with an ethernet network), but does not work on a machine bereft of any network connection (as far as I can see).. Any ideas? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. If i'm not mistaking this adress is the default loopback adress usable inside a single computer. To connect to a standard TCP/IP network, you need to use 1.- a fixed or dynamic IP adress token in the range of the adresses of the remote or ethernet network you want to connect to. 2.- a submask adress, like 255.255.255.0. 3.- a gateway adress, if you connect to the web trough a LAN network. Regards, Pierre Sahores WEB, DB, B2B ASP design. Donner, l'art de penser et de produire du sens. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Trapping Errors ..Mac to do server stuff...
Thanks for this David, I'll give it a go. The reason I don't debug first and then run through a browser may also be relevant to your other post "Subject: anyone know how to get a Mac to do server stuff offline?" I'm running two browsers, an HTTP server (WebTen on port 80) and a Metacard CGI server (on port 81) all on the same standalone Mac (G4 192Mb) . Pages are served from WebTen with cgi requests going to port 81 and Metacard creating custom HTML responses on the fly. The build involves the simultaneous creation of HTML forms (with Javascript processing) and the corresponding MC cgi processing and responses. All quite chaotic but good fun, and also a VERY quick build ! As I don't have DNS on my machine all calls are put through my (self allocated) IP number followed by a port ref eg http://192.123.92.12:8181 For the actual project the processes will be split across numerous Mac's with the only alteration being a change in the IP numbers... I know you said 'offlist' but the Mac and Metacard are a killer combo and the world needs to know !!! on 14/9/00 7:13 pm, David Bovill at [EMAIL PROTECTED] wrote: Not quite sure why you don't debug first without running through a browser, but --snip-- Its all Mac based and I'm using MC as an HTTP server with additional code to process forms. It works a treat... until I make a mistake like a typo... If I type : on mouseUp put "thtml" ito "pageout" end mouseUp into the button script of any stack, its accepted ie no semantic error. When I click on the button however an error "Cant find handler" along with line number and other error info is presented in the Execution Error dialog box. Great - enough info to locate and fix the problem. Now if the above routine is called by a browser through a socket connection to an MC stack then MC doesn't present the same Execution Error box and the only clue that something is wrong is that nothing is returned to the browser. Hence manually searching through the code. Any ideas ? It should be possible to build in a debugger that works with the server, but figuring out how to do this/how the existing debugger works is not easy, and according to Scott is likely to be a moving target... An idea (if you have to debug online), is to put the cgi script into a variable and then have a go at something like repeat with lineNum = 1 to the number of lines of cgiScript put line lineNum of cgiScript into scriptLine try do scriptLine catch errorNum put "Error" errorNum "on line" lineNum end try end repeat It'll be slow, but might work? --snip-- Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Localhost: anyone know how to
I think the answer is you can't, but it would be nice to work on server projects with the server running and talking to the browser. You want to run the server and the client on the same machine? (mac) All you need to do is : choose in the tcp/ip panel - connect via ethernet give the machine an IP address (any) and you are done. Start the server and point the client to http://IPAddress/fileName.html If you want both internet and local IP address you need a router (IPNet router) Or switch to Linux or both. Forgot to mention, If you are connected to internet with dynamic IP address you can use that address to connect a local client to a local server. Now I've followed some detailed instructions involving setting up the TCP/IP control panel to use the IP address 127.0.0.1 (which should work with an ethernet network), but does not work on a machine bereft of any network connection (as far as I can see).. Any ideas? Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. . Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. . Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Trapping Errors ..Mac to do server stuff...
Could you let us know how you configure the G4 TCP/IP so the browser and servers connect? I have a Java based server which listens and replies on Port 2001. I want to get Metacard and/or a browser to talk to this server. When the server loads it indicates that there is an open transport error, which I presume is due to a lack of an active TCP/IP connection. Perhaps if I knew exactly how to do this with MCHTTP and a browser offline, I could work from there... From: Gary Rathbone [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 14 Sep 2000 21:24:04 +0100 To: [EMAIL PROTECTED] Subject: Re: Trapping Errors ..Mac to do server stuff... Thanks for this David, I'll give it a go. The reason I don't debug first and then run through a browser may also be relevant to your other post "Subject: anyone know how to get a Mac to do server stuff offline?" I'm running two browsers, an HTTP server (WebTen on port 80) and a Metacard CGI server (on port 81) all on the same standalone Mac (G4 192Mb) . Pages are served from WebTen with cgi requests going to port 81 and Metacard creating custom HTML responses on the fly. The build involves the simultaneous creation of HTML forms (with Javascript processing) and the corresponding MC cgi processing and responses. All quite chaotic but good fun, and also a VERY quick build ! As I don't have DNS on my machine all calls are put through my (self allocated) IP number followed by a port ref eg http://192.123.92.12:8181 For the actual project the processes will be split across numerous Mac's with the only alteration being a change in the IP numbers... I know you said 'offlist' but the Mac and Metacard are a killer combo and the world needs to know !!! on 14/9/00 7:13 pm, David Bovill at [EMAIL PROTECTED] wrote: Not quite sure why you don't debug first without running through a browser, but --snip-- Its all Mac based and I'm using MC as an HTTP server with additional code to process forms. It works a treat... until I make a mistake like a typo... If I type : on mouseUp put "thtml" ito "pageout" end mouseUp into the button script of any stack, its accepted ie no semantic error. When I click on the button however an error "Cant find handler" along with line number and other error info is presented in the Execution Error dialog box. Great - enough info to locate and fix the problem. Now if the above routine is called by a browser through a socket connection to an MC stack then MC doesn't present the same Execution Error box and the only clue that something is wrong is that nothing is returned to the browser. Hence manually searching through the code. Any ideas ? It should be possible to build in a debugger that works with the server, but figuring out how to do this/how the existing debugger works is not easy, and according to Scott is likely to be a moving target... An idea (if you have to debug online), is to put the cgi script into a variable and then have a go at something like repeat with lineNum = 1 to the number of lines of cgiScript put line lineNum of cgiScript into scriptLine try do scriptLine catch errorNum put "Error" errorNum "on line" lineNum end try end repeat It'll be slow, but might work? --snip-- Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Trapping Errors ..Mac to
Could you let us know how you configure the G4 TCP/IP so the browser and servers connect? I have a Java based server which listens and replies on Port 2001. I want to get Metacard and/or a browser to talk to this server. When the server loads it indicates that there is an open transport error, which I presume is due to a lack of an active TCP/IP connection Perhaps if I knew exactly how to do this with MCHTTP and a browser offline, I could work from there... If you read my previous post on TCP/IP and your server still not working maybe it's Java. Get my web server from cloud9.net/~undo, set your tcp/ip like I explained and the server works. Don't forget to set the port. Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Quitting!
Hi, I seem to be having a little problem with some of my metacard stacks that run off my macintosh (and several other ones as well). Sometimes when I quit from a standalone I get a system freeze. This dosen't happen every time but does happen often enough to be somewhat disconcerting. At first I thought I was just being a bit rough with the quitting procedure so I made sure I checked for and closed any unecessary stacks that were open. Set the backdrop to empty and showed the menubar again. Then I used the inbuilt quit command. I don't think this helped though. Does any one have any advice about what I might be doing wrong? Is ther a better way to quit? Michael Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Trapping Errors ..Mac to
Thanks for the earlier post Andu. I think the problem is Mac OS 8.6 on my other Mac - the iMac with 9.0 is OK, but does not have enough memory (and the iMac system disks won't work on it). I'll try seeing if I can get an open transport software update which is downloadable, otherwise maybe I'll get round to installing Linux on the thing. From: andu [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 14 Sep 2000 18:53:20 -0400 (EDT) To: [EMAIL PROTECTED] Subject: Re: Trapping Errors ..Mac to Could you let us know how you configure the G4 TCP/IP so the browser and servers connect? I have a Java based server which listens and replies on Port 2001. I want to get Metacard and/or a browser to talk to this server. When the server loads it indicates that there is an open transport error, which I presume is due to a lack of an active TCP/IP connection Perhaps if I knew exactly how to do this with MCHTTP and a browser offline, I could work from there... If you read my previous post on TCP/IP and your server still not working maybe it's Java. Get my web server from cloud9.net/~undo, set your tcp/ip like I explained and the server works. Don't forget to set the port. Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Quitting!
What Mac are you using/how much memory? I had a similar problem on my iMac with 46MB memory until I turned system sleeping off, which virtually eliminated any memory related system crashes. From: Michael Crawford [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 15 Sep 2000 11:12:54 +1200 To: [EMAIL PROTECTED] Subject: Quitting! Hi, I seem to be having a little problem with some of my metacard stacks that run off my macintosh (and several other ones as well). Sometimes when I quit from a standalone I get a system freeze. This dosen't happen every time but does happen often enough to be somewhat disconcerting. At first I thought I was just being a bit rough with the quitting procedure so I made sure I checked for and closed any unecessary stacks that were open. Set the backdrop to empty and showed the menubar again. Then I used the inbuilt quit command. I don't think this helped though. Does any one have any advice about what I might be doing wrong? Is ther a better way to quit? Michael Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Quitting!
Michael Crawford wrote: Hi, I seem to be having a little problem with some of my metacard stacks that run off my macintosh (and several other ones as well). Sometimes when I quit from a standalone I get a system freeze. This dosen't happen every time but does happen often enough to be somewhat disconcerting. At first I thought I was just being a bit rough with the quitting procedure so I made sure I checked for and closed any unecessary stacks that were open. Set the backdrop to empty and showed the menubar again. Then I used the inbuilt quit command. I don't think this helped though. Does any one have any advice about what I might be doing wrong? Is ther a better way to quit? Michael Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. No sure you are wrong. Try : wait 1 tick quit Regards, Pierre Sahores WEB, DB, B2B ASP design. Donner, l'art de penser et de produire du sens; l'entropie : l'inverse. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: htmlText - problem and feature request...
An htmlClickChunk property which would return the same as the clickChunk but something appropriate to the htmlText. Similar properties would eventually needed for other Metacard expression (hence the idea of a single function above). It should be possible to do this with the existing HTML text features as soon as we get hidden tags implemented. I'm not sure yet whether even totally useless stuff (like LINK tags) will be retained, but certainly stuff like HREF tags will be. Regards, Scott When will this feature be implemented? Relatively soon (2.3.x) , or will a major overhaul be needed? I'll need a technique to keep these kinds of tags for a project, but if MC will natively support keeping most tags, I'd rather not reinvent the wheel if you guys already are :) Thanks! -- Karl Becker, KB Productions | Featuring Tiger's Eye Casino, http://www.karlbecker.com | The Fishin' Hole, and New Tricks | | Also featuring un-cut writings of Karl! Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: htmlText - problem and feature request...
On Thu, 14 Sep 2000, Karl Becker wrote: An htmlClickChunk property which would return the same as the clickChunk but something appropriate to the htmlText. Similar properties would eventually needed for other Metacard expression (hence the idea of a single function above). It should be possible to do this with the existing HTML text features as soon as we get hidden tags implemented. I'm not sure yet whether even totally useless stuff (like LINK tags) will be retained, but certainly stuff like HREF tags will be. Regards, Scott When will this feature be implemented? Relatively soon (2.3.x) , or will a major overhaul be needed? I'll need a technique to keep these kinds of tags for a project, but if MC will natively support keeping most tags, I'd rather not reinvent the wheel if you guys already are :) No major overhaul will be required because the field control was designed with this need in mind. But I can't make a specific prediction about what version will have it or when that will be released. Sorry. Regards, Scott Thanks! -- Karl Becker, KB Productions | Featuring Tiger's Eye Casino, http://www.karlbecker.com | The Fishin' Hole, and New Tricks | | Also featuring un-cut writings of Karl! Scott Raney [EMAIL PROTECTED] http://www.metacard.com MetaCard: You know, there's an easier way to do that... Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.