serial input from PC keyboard. serialport must remain open