[rescue] Re:EMACS

Devin L. Ganger rescue at sunhelp.org
Thu Jun 28 20:12:05 CDT 2001

On Wed, Jun 27, 2001 at 01:35:24PM -0400, Joshua D. Boyd wrote:
> I mean, you can ever write web servers to run natively in emacs lisp.

So?  You can do that with a shell script called from inetd:


read command path protocol

case ".$command" in
  .GET) ;;
    case ".$protocol" in
	echo "HTTP/1.1 500 Protocol Error"
	echo "Date: `date`"
	echo "Server: Hackserver 0.9"
	echo "Connection: close"
	echo "Content-type: text/html"
        echo ""
    echo "<HTML>"
    echo "<HEAD><TITLE>500 Protocol error</TITLE></HEAD>"
    echo "<BODY>"
    echo "<H1>500 Protocol error</H1>"
    echo "<P>Only GET commands accepted.</P>"
    echo "</BODY>"


Devin L. Ganger <devin at thecabal.org>
find / -name *base* -exec chown us:us {} \;
su -c someone 'export UP_US=thebomb'
for f in great justice ; do sed -e 's/zig//g' < $f ; done

More information about the rescue mailing list