Re: Euphoria Supported Website
- Posted by Andy Cranston <Andy.Cranston at EUPHONY.CO.UK> Jul 07, 2000
- 471 views
Thanks for that Allen - very enlightning. With regard to the "Press Enter" problem. You might like to experiment with the "expect" command to run the cgi Euphoria script. You can program expect to "listen" to the output of the script and if the text "Press Enter" appears expect can send a return key press to the program automatically so it carries on. If you want to know more about expect then take a look at: http://www.rescript.fsnet.co.uk/unixdoc/expect/index.htm or email me privately. Regards, Andy Cranston. -----Original Message----- From: Allen Soard [mailto:esp-software at MAIL.HYPERMART.NET] Sent: 07 July 2000 15:15 To: EUPHORIA at LISTSERV.MUOHIO.EDU Subject: Re: Euphoria Supported Website Andy, I'm running apache on a Red Hat 6.2 server using Brian Jackson's CGI Library. http://2fargon.hypermart.net (His site appears to be going under a major overhaul at the moment so I just grabbed it from the Euphoria Contributed Software archive(do a search for CGI)) with a few added functions I will be copying into a helper library. All of the Euphoria scripts are interpreted (for simplicity) though I found a problem with using system or system_exec in cgi under linux, It _always_ prints "Press Enter" stopping the program Which is bad in a noninteractive program. P.S. Thanks, spilling never waz my strung sute ---- Begin Original Message ---- From: Andy Cranston <Andy.Cranston at EUPHONY.CO.UK> Sent: Fri, 7 Jul 2000 11:38:10 +0100 To: EUPHORIA at LISTSERV.MUOHIO.EDU Subject: Re: Euphoria Supported Website I think the intention of the original post was to demonstrate that Euphoria can be used as a CGI (common gateway interface) script on a web server. Allen, what web server are you running (Apache?) and what OS/hardware is it running on (Linux/Intel?). Is the Euphoria script "hosting.ex" interpreted or did you bind it for efficiency? I for one would be very interested in learning more about how you implemented this. Regards, Andy Cranston. PS: You might have mis-spelled "Internic" on the http://hosting.espsw.net page - you have "Intrenic" Bookmark the HyperMart Small Business Center. All the tools you need to succeed! http://www.hypermart.net/center/