summaryrefslogtreecommitdiff
path: root/comms/conserver
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-06-28 14:36:43 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-06-28 14:36:43 +0000
commit13666592edd8e46adafccd1e5f88d545110619eb (patch)
treead1233a4da5666a93ea16d6e480d1d758605696f /comms/conserver
parentAttempt to catch another spin in the client on a zero return from read(). (diff)
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>
Notes
Notes: svn path=/head/; revision=11582
Diffstat (limited to 'comms/conserver')
-rw-r--r--comms/conserver/files/patch-ad9
1 files changed, 9 insertions, 0 deletions
diff --git a/comms/conserver/files/patch-ad b/comms/conserver/files/patch-ad
index c109b6c2b12d..248d3f978b8b 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
*/