G/C In3270 - always false
This commit is contained in:
parent
cb6634cf44
commit
4e424770ac
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: commands.c,v 1.71 2018/12/13 04:49:19 maya Exp $ */
|
||||
/* $NetBSD: commands.c,v 1.72 2018/12/14 06:08:18 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1997 and 1998 WIDE Project.
|
||||
|
@ -63,7 +63,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: commands.c,v 1.71 2018/12/13 04:49:19 maya Exp $");
|
||||
__RCSID("$NetBSD: commands.c,v 1.72 2018/12/14 06:08:18 maya Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -1296,9 +1296,8 @@ setescape(int argc, char *argv[])
|
|||
}
|
||||
if (arg[0] != '\0')
|
||||
escape = arg[0];
|
||||
if (!In3270) {
|
||||
printf("Escape character is '%s'.\n", control(escape));
|
||||
}
|
||||
|
||||
printf("Escape character is '%s'.\n", control(escape));
|
||||
(void) fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: externs.h,v 1.41 2018/12/13 05:22:14 maya Exp $ */
|
||||
/* $NetBSD: externs.h,v 1.42 2018/12/14 06:08:18 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1990, 1993
|
||||
|
@ -71,7 +71,6 @@ extern int
|
|||
flushout, /* flush output */
|
||||
connected, /* Are we connected to the other side? */
|
||||
globalmode, /* Mode tty should be in */
|
||||
In3270, /* Are we in 3270 mode? */
|
||||
telnetport, /* Are we connected to the telnet port? */
|
||||
localflow, /* Flow control handled locally */
|
||||
restartany, /* If flow control, restart output on any character */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: telnet.c,v 1.39 2018/12/13 05:22:14 maya Exp $ */
|
||||
/* $NetBSD: telnet.c,v 1.40 2018/12/14 06:08:18 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1990, 1993
|
||||
|
@ -34,7 +34,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)telnet.c 8.4 (Berkeley) 5/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: telnet.c,v 1.39 2018/12/13 05:22:14 maya Exp $");
|
||||
__RCSID("$NetBSD: telnet.c,v 1.40 2018/12/14 06:08:18 maya Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -91,7 +91,6 @@ int
|
|||
skiprc = 0,
|
||||
connected,
|
||||
showoptions,
|
||||
In3270, /* Are we in 3270 mode? */
|
||||
ISend, /* trying to send network data in */
|
||||
telnet_debug = 0,
|
||||
crmod,
|
||||
|
@ -176,7 +175,7 @@ init_telnet(void)
|
|||
SB_CLEAR();
|
||||
ClearArray(options);
|
||||
|
||||
connected = In3270 = ISend = localflow = donebinarytoggle = 0;
|
||||
connected = ISend = localflow = donebinarytoggle = 0;
|
||||
#if defined(AUTHENTICATION) || defined(ENCRYPTION)
|
||||
auth_encrypt_connect(connected);
|
||||
#endif /* defined(AUTHENTICATION) || defined(ENCRYPTION) */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: terminal.c,v 1.15 2005/02/19 23:28:41 christos Exp $ */
|
||||
/* $NetBSD: terminal.c,v 1.16 2018/12/14 06:08:18 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1990, 1993
|
||||
|
@ -34,7 +34,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)terminal.c 8.2 (Berkeley) 2/16/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: terminal.c,v 1.15 2005/02/19 23:28:41 christos Exp $");
|
||||
__RCSID("$NetBSD: terminal.c,v 1.16 2018/12/14 06:08:18 maya Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -153,9 +153,6 @@ getconnmode(void)
|
|||
extern int kludgelinemode;
|
||||
#endif
|
||||
|
||||
if (In3270)
|
||||
return(MODE_FLOW);
|
||||
|
||||
if (my_want_state_is_dont(TELOPT_ECHO))
|
||||
mode |= MODE_ECHO;
|
||||
|
||||
|
|
Loading…
Reference in New Issue