Preserve CLOCAL and CRTSCTS rather than just attempting to clear them,
based on a suggestion ages ago by: Tor Egge <Tor.Egge@idi.ntnu.no>
This commit is contained in:
parent
35a4e1f98c
commit
13666592ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11582
@ -1,5 +1,14 @@
|
||||
--- ./conserver/consent.c Sat Nov 22 20:21:46 1997
|
||||
+++ ./conserver/consent.c Sat Aug 23 18:05:11 1997
|
||||
@@ -197,7 +197,7 @@
|
||||
*/
|
||||
termp.c_iflag = IXON|IXOFF|BRKINT;
|
||||
termp.c_oflag = 0;
|
||||
- termp.c_cflag = CREAD;
|
||||
+ termp.c_cflag = CREAD | (termp.c_cflag & (CLOCAL|CRTSCTS));
|
||||
termp.c_cflag |= pCE->pparity->iset;
|
||||
termp.c_lflag = 0;
|
||||
/*
|
||||
@@ -206,5 +206,5 @@
|
||||
* Don't bother with the control characters as they are not used
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user