FYI, this test program works fine for me on every unstable system I tried, both as a standalone program and a CGI via apache. Gottfried: does this happen only when you run the program by hand, or only when you run it as a CGI? If a CGI, which web server package and version are you using? -- - mdz