diff options
author | peter <peter@FreeBSD.org> | 1998-06-28 22:36:43 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-28 22:36:43 +0800 |
commit | c72c4897d952447943fd99f01838039716548cad (patch) | |
tree | a8b3be11bd12e70a20caaa359c2deaac45a1b09b /comms | |
parent | 4aa367ac05c4eb3b95d8e309b2915b5429b6792a (diff) | |
download | freebsd-ports-graphics-c72c4897d952447943fd99f01838039716548cad.tar.gz freebsd-ports-graphics-c72c4897d952447943fd99f01838039716548cad.tar.zst freebsd-ports-graphics-c72c4897d952447943fd99f01838039716548cad.zip |
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>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/conserver/files/patch-ad | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/comms/conserver/files/patch-ad b/comms/conserver/files/patch-ad index c109b6c2b12..248d3f978b8 100644 --- a/comms/conserver/files/patch-ad +++ b/comms/conserver/files/patch-ad @@ -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 */ |