diff options
author | pst <pst@FreeBSD.org> | 1995-08-28 17:55:08 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1995-08-28 17:55:08 +0000 |
commit | 059d76f5fe8434a52567b960d631d3e6759e7665 (patch) | |
tree | 49e0b049b7067f23d131016b622e8937e60c558f /secure | |
parent | 116713e9f10ce25011bb09871836485543a98a0c (diff) | |
download | FreeBSD-src-059d76f5fe8434a52567b960d631d3e6759e7665.zip FreeBSD-src-059d76f5fe8434a52567b960d631d3e6759e7665.tar.gz |
Do NOT compile with -DKLUDGELINEMODE...hoses many telnet clients
Diffstat (limited to 'secure')
-rw-r--r-- | secure/libexec/telnetd/Makefile | 12 | ||||
-rw-r--r-- | secure/libexec/telnetd/ext.h | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile index 722bde9..17ffa3e 100644 --- a/secure/libexec/telnetd/Makefile +++ b/secure/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/secure/libexec/telnetd/ext.h b/secure/libexec/telnetd/ext.h index 3884289..db3f1c3 100644 --- a/secure/libexec/telnetd/ext.h +++ b/secure/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 */ |