aboutsummaryrefslogtreecommitdiff
path: root/eBones
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1995-08-28 17:55:08 +0000
committerPaul Traina <pst@FreeBSD.org>1995-08-28 17:55:08 +0000
commita4a142bd15d04db068585eeab1137671f0d2e913 (patch)
tree49e0b049b7067f23d131016b622e8937e60c558f /eBones
parent0031ae7a172ab9ba54247ea1e231721ad316167a (diff)
downloadsrc-a4a142bd15d04db068585eeab1137671f0d2e913.tar.gz
src-a4a142bd15d04db068585eeab1137671f0d2e913.zip
Do NOT compile with -DKLUDGELINEMODE...hoses many telnet clients
Notes
Notes: svn path=/head/; revision=10398
Diffstat (limited to 'eBones')
-rw-r--r--eBones/libexec/telnetd/Makefile12
-rw-r--r--eBones/libexec/telnetd/ext.h2
2 files changed, 8 insertions, 6 deletions
diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile
index 722bde9f57db..17ffa3e0a2d7 100644
--- a/eBones/libexec/telnetd/Makefile
+++ b/eBones/libexec/telnetd/Makefile
@@ -4,16 +4,20 @@
# current eBones/des lib don't have it
# Kerberos4 stuff ifdefed by MAKE_KERBEROS (make.conf) because of it
+# Do not define -DKLUDGELINEMODE, as it does not interact well with many
+# telnet implementations.
+
PROG= telnetd
-CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
-CFLAGS+=-DOLD_ENVIRON -DENV_HACK
-CFLAGS+=-I${.CURDIR}/../../lib
+MAN8= telnetd.8
+
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
+
DPADD= ${LIBUTIL} ${LIBTERMCAP}
LDADD= -lutil -ltermcap -ltelnet
-MAN8= telnetd.8
+CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON -DENV_HACK
+CFLAGS+=-I${.CURDIR}/../../lib
#ifdef ENCRYPTION
diff --git a/eBones/libexec/telnetd/ext.h b/eBones/libexec/telnetd/ext.h
index 38842894e065..db3f1c395313 100644
--- a/eBones/libexec/telnetd/ext.h
+++ b/eBones/libexec/telnetd/ext.h
@@ -45,9 +45,7 @@ extern int uselinemode; /* what linemode to use (on/off) */
extern int editmode; /* edit modes in use */
extern int useeditmode; /* edit modes to use */
extern int alwayslinemode; /* command line option */
-# ifdef KLUDGELINEMODE
extern int lmodetype; /* Client support for linemode */
-# endif /* KLUDGELINEMODE */
#endif /* LINEMODE */
extern int flowmode; /* current flow control state */
extern int restartany; /* restart output on any character state */