summaryrefslogtreecommitdiffstats
path: root/eBones/libexec/telnetd
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-08-28 17:55:08 +0000
committerpst <pst@FreeBSD.org>1995-08-28 17:55:08 +0000
commit059d76f5fe8434a52567b960d631d3e6759e7665 (patch)
tree49e0b049b7067f23d131016b622e8937e60c558f /eBones/libexec/telnetd
parent116713e9f10ce25011bb09871836485543a98a0c (diff)
downloadFreeBSD-src-059d76f5fe8434a52567b960d631d3e6759e7665.zip
FreeBSD-src-059d76f5fe8434a52567b960d631d3e6759e7665.tar.gz
Do NOT compile with -DKLUDGELINEMODE...hoses many telnet clients
Diffstat (limited to 'eBones/libexec/telnetd')
-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 722bde9..17ffa3e 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 3884289..db3f1c3 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 */
OpenPOWER on IntegriCloud