Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mart Lubbers
CleanSerial
Commits
17916e94
Commit
17916e94
authored
Apr 24, 2018
by
Mart Lubbers
Browse files
Merge branch 'master' of gitlab.science.ru.nl:mlubbers/CleanSerial
parents
c5bc5732
a2f98a2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
POSIX/tty.c
View file @
17916e94
...
...
@@ -151,6 +151,9 @@ void ttyopen(CleanString fn, int baudrate, int bytesize, int parity,
tio
.
c_lflag
&=
~
(
ECHO
|
ECHONL
|
ICANON
|
IEXTEN
|
ISIG
);
// tio.c_lflag |= ICANON;
#ifdef __APPLE__
tio
.
c_cflag
|=
CLOCAL
;
#endif
tio
.
c_cc
[
VMIN
]
=
5
;
tio
.
c_cc
[
VTIME
]
=
0
;
tcsetattr
(
*
fd
,
TCSANOW
,
&
tio
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment