changed rlwrap version to 0.40
added check for HP-UX 11