Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix Term.Open(): open with O_NDELAY, then set nonblocking false aft… #12

Merged
merged 1 commit into from
Sep 29, 2015

Conversation

liamstask
Copy link
Contributor

…er opening

works around the behavior of callin devices (/dev/tty.*) on OS X (possibly BSDs as well?), in which Open() normally waits for hw handshaking before proceeding. setting CLOCAL (already done in setSpeed()) specifies that we want to ignore subsequent hw handshaking requirements.

callout devices (/dev/cu.*) continue to work as usual

…er opening

works around the behavior of callin devices (/dev/tty.*) on OS X (possibly BSDs as well?), in which Open() normally waits for hw handshaking before proceeding. setting CLOCAL (already done in setSpeed()) specifies that we want to ignore subsequent hw handshaking requirements.

callout devices (/dev/cu.*) continue to work as usual
@davecheney
Copy link
Member

LGTM. Thanks

davecheney added a commit that referenced this pull request Sep 29, 2015
posix Term.Open(): open with O_NDELAY, then set nonblocking false aft…
@davecheney davecheney merged commit d7ef5fb into pkg:master Sep 29, 2015
@liamstask liamstask deleted the callin-device-support branch November 18, 2015 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants