Thanks, I've applied these. A quick tip if you're sending patches - it's much easier for me if you use "diff -u" and send the whole patch (don't remove the headers). Then I can apply the changes automatically using the "patch" utility, and with "diff -u" patches this usually works even if the files being patched have changed since you made the patch. Cheers, Olly