HP-UX support thanks to Christoph Fürstaller