From: Richard M. Stallman Date: Fri, 13 Jun 1997 00:49:50 +0000 (+0000) Subject: (init_sys_modes): Enable VSTART and VSTOP if flow_control. X-Git-Tag: emacs-20.1~1714 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac567c95179116d49b02f22e1e850e6d7b0ee2ce;p=emacs.git (init_sys_modes): Enable VSTART and VSTOP if flow_control. --- diff --git a/src/sysdep.c b/src/sysdep.c index b6d87714820..5197317b5f9 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1375,6 +1375,15 @@ init_sys_modes () tty.main.c_cc[VSUSP] = 255; tty.main.c_cc[VDSUSP] = 255; #endif /* IBMR2AIX */ + if (flow_control) + { +#ifdef VSTART + tty.main.c_cc[VSTART] = '\021'; +#endif /* VSTART */ +#ifdef VSTOP + tty.main.c_cc[VSTOP] = '\023'; +#endif /* VSTOP */ + } /* Also, PTY overloads NUL and BREAK. don't ignore break, but don't signal either, so it looks like NUL. This really serves a purpose only if running in an XTERM window