can't rely on TERM; use hIsTerminalDevice

This calls an ioctl, I don't think it's very expensive.
propellor spin