summaryrefslogtreecommitdiffstats
path: root/mbbsd/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/telnet.c')
-rw-r--r--mbbsd/telnet.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mbbsd/telnet.c b/mbbsd/telnet.c
index aa985471..4f4bba0b 100644
--- a/mbbsd/telnet.c
+++ b/mbbsd/telnet.c
@@ -101,6 +101,10 @@ tty_read(unsigned char *buf, size_t max)
return l;
}
+#ifdef DBG_OUTRPT
+extern unsigned char fakeEscape;
+#endif // DBG_OUTRPT
+
/* input: raw character
* output: telnet command if c was handled, otherwise zero.
*/
@@ -164,6 +168,11 @@ telnet_handler(unsigned char c)
/* we don't want to process these. or maybe in future. */
case BREAK: /* break */
+#ifdef DBG_OUTRPT
+ fakeEscape = !fakeEscape;
+ return NOP;
+#endif
+
case ABORT: /* Abort process */
case SUSP: /* Suspend process */
case AO: /* abort output--but let prog finish */