Fixed some HP-UX serial I/O functionality from Mikulas Patocka

We need to set buffer to 1 character and turn off the timeout.
Otherwise, HP-UX buffers 4 characters before making them available
to read().