more portable hostname prompt hashing.