konkers/sconsole — pull request #4 by colincross (2013-03-21 01:25:06+00:00)
Title: Switch the serial port to blocking after opening

The serial port must be opened non-blocking to avoid waiting for
carrier detect during open, but leaving it set to non-blocking
causes later writes to fail with "Resource temporarily unavailable".
Switch the fd back to blocking mode after opening.