mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do NOT compile with -DKLUDGELINEMODE...hoses many telnet clients
This commit is contained in:
parent
0031ae7a17
commit
a4a142bd15
4 changed files with 16 additions and 12 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue