diff -ru netkit-telnet-0.17/configure netkit-telnet-0.17-cjj/configure
--- netkit-telnet-0.17/configure	Sat Jul 29 11:00:29 2000
+++ netkit-telnet-0.17-cjj/configure	Tue Sep  5 16:22:56 2000
@@ -333,6 +333,7 @@
 
 if [ x$NCURSES != x ]; then
     LIBTERMCAP=-lncurses
+    CXXFLAGS="$CXXFLAGS -DUSE_NCURSES"
 else
     echo -n 'Checking for traditional termcap... '
 cat <<EOF >__conftest.cc
diff -ru netkit-telnet-0.17/telnet/telnet.cc netkit-telnet-0.17-cjj/telnet/telnet.cc
--- netkit-telnet-0.17/telnet/telnet.cc	Sat Jul 22 20:24:53 2000
+++ netkit-telnet-0.17-cjj/telnet/telnet.cc	Tue Sep  5 16:20:07 2000
@@ -61,10 +61,10 @@
  * Due to lossage in some linux distributions/kernel releases/libc versions
  * this must come *after* termios.h (which is included in externs.h)
  */
-#include <termcap.h>
-
 #ifdef USE_NCURSES
 #include <term.h>
+#else
+#include <termcap.h>
 #endif
 
 
diff -ru netkit-telnet-0.17/telnetd/telnetd.c netkit-telnet-0.17-cjj/telnetd/telnetd.c
--- netkit-telnet-0.17/telnetd/telnetd.c	Wed Apr 12 14:36:12 2000
+++ netkit-telnet-0.17-cjj/telnetd/telnetd.c	Tue Sep  5 16:20:49 2000
@@ -44,7 +44,6 @@
 #include "../version.h"
 
 #include <netdb.h>
-#include <termcap.h>
 #include <netinet/in.h>
 /* #include <netinet/ip.h> */ /* Don't think this is used at all here */
 #include <arpa/inet.h>
