[Posted for completeness' sake. Followups on iowa-talk.]

Oops, that patch isn't quite correct. This one is better:

--- mod_iowa.c.orig	Fri Feb  8 23:22:47 2002
+++ mod_iowa.c	Fri Feb  8 23:56:24 2002
@@ -72,7 +72,7 @@
 	
 		strcpy(buf, "/tmp/iowa_");
 		strcpy(buf+10, app);
-		buf[applen+10] = 0;
+		buf[applen+10+1] = 0;
 	
 		addr.sun_family = AF_UNIX;
 		strcpy(addr.sun_path, buf);
@@ -93,8 +93,9 @@
 		}
 		shutdown(s, 1);
 
-		while(len = recv(s, buf, HUGE_STRING_LEN, 0))
+		while((len = recv(s, buf, HUGE_STRING_LEN, 0)) != -1)
 		{
+		    if (!len) break;
 			ap_rwrite(buf, len, r);
 		}
  	}

After applying this patch, when I do

    lynx -mime_header http://lizzy.dyndns.org/iowa/calc/

I see:

unknown Element type: ul: parse error around 

         /usr/local/lib/ruby/site_ruby/1.6/iowa/TemplateParser.rb:41:in `initialize'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:104:in `new'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:104:in `reload'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:60:in `reloadModified'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:55:in `each'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:55:in `reloadModified'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:54:in `synchronize'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:54:in `reloadModified'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Session.rb:63:in `handleRequest'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Session.rb:37:in `synchronize'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Session.rb:37:in `handleRequest'
         /usr/local/lib/ruby/site_ruby/1.6/iowa/Application.rb:47:in `handleRequest'
         /usr/local/lib/ruby/site_ruby/1.6/iowa.rb:62:in `handleConnection'
         /usr/local/lib/ruby/site_ruby/1.6/iowa.rb:80:in `run'
         /usr/local/lib/ruby/site_ruby/1.6/iowa.rb:80:in `start'
         /usr/local/lib/ruby/site_ruby/1.6/iowa.rb:80:in `run'
         calc.rb:5

I'm not sure what is going on here.

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb / cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;