changeset 18232:4183933733e6

(init_sys_modes): Enable VSTART and VSTOP if flow_control.
author Richard M. Stallman <rms@gnu.org>
date Fri, 13 Jun 1997 00:49:50 +0000
parents 7f3969697013
children c1e30dd29cb1
files src/sysdep.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri Jun 13 00:46:33 1997 +0000
+++ b/src/sysdep.c	Fri Jun 13 00:49:50 1997 +0000
@@ -1375,6 +1375,15 @@
       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