Blame SOURCES/telnet-0.17-8bit.patch

055396
diff -ru netkit-telnet-0.17.orig/telnet/main.c netkit-telnet-0.17/telnet/main.c
055396
--- netkit-telnet-0.17.orig/telnet/main.c	2003-05-15 20:07:40.000000000 +0200
055396
+++ netkit-telnet-0.17/telnet/main.c	2003-05-16 00:18:28.000000000 +0200
055396
@@ -143,7 +143,7 @@
055396
 	while ((ch = getopt(argc, argv, "78DEKLS:X:ab:cde:fFk:l:n:rt:x")) != -1) {
055396
 		switch(ch) {
055396
 		case '8':
055396
-			eight = 3;	/* binary output and input */
055396
+			binary = 3;	/* send TELNET BINARY option for output and input */
055396
 			break;
055396
 		case '7':
055396
 			eight = 0;
055396
@@ -165,7 +165,7 @@
055396
 #endif
055396
 			break;
055396
 		case 'L':
055396
-			eight |= 2;	/* binary output only */
055396
+			binary = 2;	/* send TELNET BINARY option for output only */
055396
 			break;
055396
 		case 'S':
055396
 		    {
055396
diff -ru netkit-telnet-0.17.orig/telnet/telnet.1 netkit-telnet-0.17/telnet/telnet.1
055396
--- netkit-telnet-0.17.orig/telnet/telnet.1	2003-05-15 20:07:40.000000000 +0200
055396
+++ netkit-telnet-0.17/telnet/telnet.1	2003-05-15 23:38:37.000000000 +0200
055396
@@ -76,6 +76,8 @@
055396
 .Pp
055396
 The options are as follows:
055396
 .Bl -tag -width Ds
055396
+.It Fl 7
055396
+Strip 8th bit on input and output. Telnet is 8-bit clean by default but doesn't send the TELNET BINARY option unless forced.
055396
 .It Fl 8
055396
 Specifies an 8-bit data path.
055396
 This causes an attempt to negotiate the