use pts for serial output