Also, ages ago, I asked the list about seg faults we were having plus I asked about syswrite and STDOUT being tied to MP etc. Well, the seg faults were coming from syswrite. Here's the scenario .... We have large files that can be downloaded and if a user clicks a file, the dialogue box asks about saving it or opening it. Well, while the user is deciding, the browser is already in the motions of downloading the file from us. If the user saves / opens the file, cool. If the user presses cancel before the background download has finished then we were inviting problems. The main prob was that if exceptions were being thrown, they weren't being caught (legacy code) and tidied up. I've cleaned all that code up, but also, I now just use print and this avoids closing/reassigning STDOUT to syswrite etc. Anyway, maybe s.o will find this useful.
-Ants --------------------------------- Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today.