summaryrefslogtreecommitdiff
path: root/comms/conserver/files/patch-ac
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-11-22 14:56:14 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-11-22 14:56:14 +0000
commit5d18ff83bb4fa8c25aa55100c79753a43140e804 (patch)
tree931178760a9436d6607aec0feebd2f3c58d1bf12 /comms/conserver/files/patch-ac
parentUpgrade to 5.16 (diff)
A port for conserver. conserver is the answer to serial consoles. :-)
There is a later version of conserver, but it requires a rather extensive build environment and set of tools to build it. This version works is nice and stable though.
Notes
Notes: svn path=/head/; revision=8756
Diffstat (limited to 'comms/conserver/files/patch-ac')
-rw-r--r--comms/conserver/files/patch-ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/comms/conserver/files/patch-ac b/comms/conserver/files/patch-ac
new file mode 100644
index 000000000000..138896bbd677
--- /dev/null
+++ b/comms/conserver/files/patch-ac
@@ -0,0 +1,24 @@
+--- ./conserver/group.c Sat Nov 22 20:11:49 1997
++++ ./conserver/group.c Sat Aug 23 17:19:13 1997
+@@ -750,5 +750,5 @@
+ CSTROUT(pCLServing->fd, "- ");
+ if (-1 == tcsendbreak(pCEServing->fdtty, 9)) {
+- CSTROUT(pCLServing->fd, "failed]\r\n");
++ CSTROUT(pCLServing->fd, "tcsendbreak failed]\r\n");
+ continue;
+ }
+@@ -1119,11 +1119,9 @@
+ }
+ #if !defined(XTABS) /* XXX hack */
+-#define XTABS TAB3
++#define XTABS OXTABS
+ #endif
+- if (XTABS == (TABDLY&sbuf.c_oflag)) {
+- sbuf.c_oflag &= ~TABDLY;
+- sbuf.c_oflag |= TAB0;
++ if (XTABS & sbuf.c_oflag) {
++ sbuf.c_oflag &= ~XTABS;
+ } else {
+- sbuf.c_oflag &= ~TABDLY;
+ sbuf.c_oflag |= XTABS;
+ }