Serial I/O with stdio like canonical processing.