I'm going to do some work on pty allocation, with the hope of doing
things more sensibly and removing warnings.
getpt() will be used where available.
Unix98 functions will be used where available.
Ideas (but little code) will be taken from Don Libes' expect.
If my new allocation function fails, I plan to fallback to the old
crufty one.
Martin